7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10#include <aws/workdocs/model/ActivityType.h>
11#include <aws/workdocs/model/CommentMetadata.h>
12#include <aws/workdocs/model/Participants.h>
13#include <aws/workdocs/model/ResourceMetadata.h>
14#include <aws/workdocs/model/UserMetadata.h>
47 m_typeHasBeenSet =
true;
62 template <
typename TimeStampT = Aws::Utils::DateTime>
64 m_timeStampHasBeenSet =
true;
65 m_timeStamp = std::forward<TimeStampT>(value);
67 template <
typename TimeStampT = Aws::Utils::DateTime>
84 m_isIndirectActivityHasBeenSet =
true;
85 m_isIndirectActivity = value;
99 template <
typename OrganizationIdT = Aws::String>
101 m_organizationIdHasBeenSet =
true;
102 m_organizationId = std::forward<OrganizationIdT>(value);
104 template <
typename OrganizationIdT = Aws::String>
117 template <
typename InitiatorT = UserMetadata>
119 m_initiatorHasBeenSet =
true;
120 m_initiator = std::forward<InitiatorT>(value);
122 template <
typename InitiatorT = UserMetadata>
137 template <
typename ParticipantsT = Participants>
139 m_participantsHasBeenSet =
true;
140 m_participants = std::forward<ParticipantsT>(value);
142 template <
typename ParticipantsT = Participants>
155 template <
typename ResourceMetadataT = ResourceMetadata>
157 m_resourceMetadataHasBeenSet =
true;
158 m_resourceMetadata = std::forward<ResourceMetadataT>(value);
160 template <
typename ResourceMetadataT = ResourceMetadata>
174 template <
typename OriginalParentT = ResourceMetadata>
176 m_originalParentHasBeenSet =
true;
177 m_originalParent = std::forward<OriginalParentT>(value);
179 template <
typename OriginalParentT = ResourceMetadata>
193 template <
typename CommentMetadataT = CommentMetadata>
195 m_commentMetadataHasBeenSet =
true;
196 m_commentMetadata = std::forward<CommentMetadataT>(value);
198 template <
typename CommentMetadataT = CommentMetadata>
209 bool m_isIndirectActivity{
false};
213 UserMetadata m_initiator;
215 Participants m_participants;
217 ResourceMetadata m_resourceMetadata;
219 ResourceMetadata m_originalParent;
221 CommentMetadata m_commentMetadata;
222 bool m_typeHasBeenSet =
false;
223 bool m_timeStampHasBeenSet =
false;
224 bool m_isIndirectActivityHasBeenSet =
false;
225 bool m_organizationIdHasBeenSet =
false;
226 bool m_initiatorHasBeenSet =
false;
227 bool m_participantsHasBeenSet =
false;
228 bool m_resourceMetadataHasBeenSet =
false;
229 bool m_originalParentHasBeenSet =
false;
230 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