7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/model/ActivityType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/workdocs/model/UserMetadata.h>
12#include <aws/workdocs/model/Participants.h>
13#include <aws/workdocs/model/ResourceMetadata.h>
14#include <aws/workdocs/model/CommentMetadata.h>
62 template<
typename TimeStampT = Aws::Utils::DateTime>
63 void SetTimeStamp(TimeStampT&& value) { m_timeStampHasBeenSet =
true; m_timeStamp = std::forward<TimeStampT>(value); }
64 template<
typename TimeStampT = Aws::Utils::DateTime>
77 inline void SetIsIndirectActivity(
bool value) { m_isIndirectActivityHasBeenSet =
true; m_isIndirectActivity = value; }
87 template<
typename OrganizationIdT = Aws::String>
88 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet =
true; m_organizationId = std::forward<OrganizationIdT>(value); }
89 template<
typename OrganizationIdT = Aws::String>
99 template<
typename InitiatorT = UserMetadata>
100 void SetInitiator(InitiatorT&& value) { m_initiatorHasBeenSet =
true; m_initiator = std::forward<InitiatorT>(value); }
101 template<
typename InitiatorT = UserMetadata>
113 template<
typename ParticipantsT = Participants>
114 void SetParticipants(ParticipantsT&& value) { m_participantsHasBeenSet =
true; m_participants = std::forward<ParticipantsT>(value); }
115 template<
typename ParticipantsT = Participants>
125 template<
typename ResourceMetadataT = ResourceMetadata>
126 void SetResourceMetadata(ResourceMetadataT&& value) { m_resourceMetadataHasBeenSet =
true; m_resourceMetadata = std::forward<ResourceMetadataT>(value); }
127 template<
typename ResourceMetadataT = ResourceMetadata>
138 template<
typename OriginalParentT = ResourceMetadata>
139 void SetOriginalParent(OriginalParentT&& value) { m_originalParentHasBeenSet =
true; m_originalParent = std::forward<OriginalParentT>(value); }
140 template<
typename OriginalParentT = ResourceMetadata>
151 template<
typename CommentMetadataT = CommentMetadata>
152 void SetCommentMetadata(CommentMetadataT&& value) { m_commentMetadataHasBeenSet =
true; m_commentMetadata = std::forward<CommentMetadataT>(value); }
153 template<
typename CommentMetadataT = CommentMetadata>
159 bool m_typeHasBeenSet =
false;
162 bool m_timeStampHasBeenSet =
false;
164 bool m_isIndirectActivity{
false};
165 bool m_isIndirectActivityHasBeenSet =
false;
168 bool m_organizationIdHasBeenSet =
false;
170 UserMetadata m_initiator;
171 bool m_initiatorHasBeenSet =
false;
173 Participants m_participants;
174 bool m_participantsHasBeenSet =
false;
176 ResourceMetadata m_resourceMetadata;
177 bool m_resourceMetadataHasBeenSet =
false;
179 ResourceMetadata m_originalParent;
180 bool m_originalParentHasBeenSet =
false;
182 CommentMetadata m_commentMetadata;
183 bool m_commentMetadataHasBeenSet =
false;
bool ParticipantsHasBeenSet() const
bool InitiatorHasBeenSet() const
void SetResourceMetadata(ResourceMetadataT &&value)
const CommentMetadata & GetCommentMetadata() const
bool OriginalParentHasBeenSet() const
void SetTimeStamp(TimeStampT &&value)
Activity & WithOrganizationId(OrganizationIdT &&value)
void SetType(ActivityType value)
const UserMetadata & GetInitiator() const
Activity & WithCommentMetadata(CommentMetadataT &&value)
const Participants & GetParticipants() const
Activity & WithTimeStamp(TimeStampT &&value)
Activity & WithParticipants(ParticipantsT &&value)
bool GetIsIndirectActivity() const
void SetIsIndirectActivity(bool value)
bool ResourceMetadataHasBeenSet() const
bool IsIndirectActivityHasBeenSet() const
AWS_WORKDOCS_API Activity()=default
Activity & WithResourceMetadata(ResourceMetadataT &&value)
void SetParticipants(ParticipantsT &&value)
bool CommentMetadataHasBeenSet() const
const Aws::String & GetOrganizationId() const
bool TypeHasBeenSet() const
Activity & WithIsIndirectActivity(bool value)
Activity & WithType(ActivityType value)
void SetCommentMetadata(CommentMetadataT &&value)
void SetOriginalParent(OriginalParentT &&value)
ActivityType GetType() const
bool TimeStampHasBeenSet() const
void SetInitiator(InitiatorT &&value)
AWS_WORKDOCS_API Activity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OrganizationIdHasBeenSet() const
const ResourceMetadata & GetOriginalParent() const
const Aws::Utils::DateTime & GetTimeStamp() const
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceMetadata & GetResourceMetadata() const
AWS_WORKDOCS_API Activity(Aws::Utils::Json::JsonView jsonValue)
Activity & WithInitiator(InitiatorT &&value)
Activity & WithOriginalParent(OriginalParentT &&value)
void SetOrganizationId(OrganizationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue