7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/Identity.h>
9#include <aws/chime/model/ChannelMembershipType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
50 inline void SetInvitedBy(
Identity&& value) { m_invitedByHasBeenSet =
true; m_invitedBy = std::move(value); }
73 inline void SetMember(
const Identity& value) { m_memberHasBeenSet =
true; m_member = value; }
74 inline void SetMember(
Identity&& value) { m_memberHasBeenSet =
true; m_member = std::move(value); }
87 inline void SetChannelArn(
const char* value) { m_channelArnHasBeenSet =
true; m_channelArn.assign(value); }
119 bool m_invitedByHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
125 bool m_memberHasBeenSet =
false;
128 bool m_channelArnHasBeenSet =
false;
131 bool m_createdTimestampHasBeenSet =
false;
134 bool m_lastUpdatedTimestampHasBeenSet =
false;
AWS_CHIME_API ChannelMembership & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Identity & GetMember() const
ChannelMembership & WithInvitedBy(Identity &&value)
bool InvitedByHasBeenSet() const
void SetInvitedBy(const Identity &value)
bool MemberHasBeenSet() const
bool TypeHasBeenSet() const
ChannelMembership & WithType(ChannelMembershipType &&value)
const Aws::String & GetChannelArn() const
void SetType(const ChannelMembershipType &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
ChannelMembership & WithMember(Identity &&value)
ChannelMembership & WithMember(const Identity &value)
ChannelMembership & WithType(const ChannelMembershipType &value)
bool ChannelArnHasBeenSet() const
bool LastUpdatedTimestampHasBeenSet() const
ChannelMembership & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetChannelArn(const char *value)
void SetMember(Identity &&value)
void SetChannelArn(Aws::String &&value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API ChannelMembership()
ChannelMembership & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
ChannelMembership & WithChannelArn(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(ChannelMembershipType &&value)
AWS_CHIME_API ChannelMembership(Aws::Utils::Json::JsonView jsonValue)
void SetMember(const Identity &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
const ChannelMembershipType & GetType() const
ChannelMembership & WithChannelArn(const char *value)
ChannelMembership & WithInvitedBy(const Identity &value)
void SetChannelArn(const Aws::String &value)
ChannelMembership & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
bool CreatedTimestampHasBeenSet() const
void SetInvitedBy(Identity &&value)
ChannelMembership & WithChannelArn(const Aws::String &value)
const Identity & GetInvitedBy() const
ChannelMembership & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue