7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/Member.h>
10#include <aws/chime/model/RoomMembershipRole.h>
11#include <aws/core/utils/DateTime.h>
49 template<
typename RoomIdT = Aws::String>
50 void SetRoomId(RoomIdT&& value) { m_roomIdHasBeenSet =
true; m_roomId = std::forward<RoomIdT>(value); }
51 template<
typename RoomIdT = Aws::String>
62 template<
typename MemberT = Member>
63 void SetMember(MemberT&& value) { m_memberHasBeenSet =
true; m_member = std::forward<MemberT>(value); }
64 template<
typename MemberT = Member>
84 template<
typename InvitedByT = Aws::String>
85 void SetInvitedBy(InvitedByT&& value) { m_invitedByHasBeenSet =
true; m_invitedBy = std::forward<InvitedByT>(value); }
86 template<
typename InvitedByT = Aws::String>
96 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
97 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
98 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
104 bool m_roomIdHasBeenSet =
false;
107 bool m_memberHasBeenSet =
false;
110 bool m_roleHasBeenSet =
false;
113 bool m_invitedByHasBeenSet =
false;
116 bool m_updatedTimestampHasBeenSet =
false;
bool UpdatedTimestampHasBeenSet() const
bool MemberHasBeenSet() const
RoomMembership & WithRole(RoomMembershipRole value)
RoomMembership & WithRoomId(RoomIdT &&value)
bool RoomIdHasBeenSet() const
AWS_CHIME_API RoomMembership()=default
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
const Member & GetMember() const
void SetMember(MemberT &&value)
void SetRole(RoomMembershipRole value)
void SetRoomId(RoomIdT &&value)
RoomMembership & WithMember(MemberT &&value)
const Aws::String & GetRoomId() const
RoomMembership & WithInvitedBy(InvitedByT &&value)
AWS_CHIME_API RoomMembership & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvitedBy(InvitedByT &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHIME_API RoomMembership(Aws::Utils::Json::JsonView jsonValue)
RoomMembershipRole GetRole() const
RoomMembership & WithUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::String & GetInvitedBy() const
bool RoleHasBeenSet() const
bool InvitedByHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue