public StructuredMessageListDefinition withMemberType(StructuredMessage memberType) {
        setMemberType(memberType);
        return this;
    }
<p>
The member type of the structured message list definition.
</p>

@param memberType
       The member type of the structured message list definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/StructuredMessageListDefinition.java