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>
79 inline void SetIsIndirectActivity(
bool value) { m_isIndirectActivityHasBeenSet =
true; m_isIndirectActivity = value; }
91 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
163 bool m_typeHasBeenSet =
false;
166 bool m_timeStampHasBeenSet =
false;
168 bool m_isIndirectActivity;
169 bool m_isIndirectActivityHasBeenSet =
false;
172 bool m_organizationIdHasBeenSet =
false;
175 bool m_initiatorHasBeenSet =
false;
178 bool m_participantsHasBeenSet =
false;
181 bool m_resourceMetadataHasBeenSet =
false;
184 bool m_originalParentHasBeenSet =
false;
187 bool m_commentMetadataHasBeenSet =
false;
Activity & WithResourceMetadata(const ResourceMetadata &value)
Activity & WithCommentMetadata(CommentMetadata &&value)
void SetInitiator(UserMetadata &&value)
bool ParticipantsHasBeenSet() const
Activity & WithOrganizationId(const char *value)
void SetCommentMetadata(const CommentMetadata &value)
void SetResourceMetadata(const ResourceMetadata &value)
bool InitiatorHasBeenSet() const
Activity & WithOrganizationId(const Aws::String &value)
Activity & WithParticipants(Participants &&value)
const CommentMetadata & GetCommentMetadata() const
bool OriginalParentHasBeenSet() const
Activity & WithParticipants(const Participants &value)
void SetType(ActivityType &&value)
Activity & WithType(const ActivityType &value)
const UserMetadata & GetInitiator() const
const Participants & GetParticipants() const
void SetOriginalParent(ResourceMetadata &&value)
Activity & WithOriginalParent(const ResourceMetadata &value)
Activity & WithResourceMetadata(ResourceMetadata &&value)
void SetOrganizationId(const char *value)
void SetOriginalParent(const ResourceMetadata &value)
void SetOrganizationId(const Aws::String &value)
bool GetIsIndirectActivity() const
Activity & WithCommentMetadata(const CommentMetadata &value)
Activity & WithInitiator(UserMetadata &&value)
Activity & WithTimeStamp(Aws::Utils::DateTime &&value)
void SetParticipants(Participants &&value)
void SetType(const ActivityType &value)
void SetCommentMetadata(CommentMetadata &&value)
void SetIsIndirectActivity(bool value)
bool ResourceMetadataHasBeenSet() const
bool IsIndirectActivityHasBeenSet() const
AWS_WORKDOCS_API Activity()
void SetResourceMetadata(ResourceMetadata &&value)
bool CommentMetadataHasBeenSet() const
void SetTimeStamp(Aws::Utils::DateTime &&value)
const Aws::String & GetOrganizationId() const
bool TypeHasBeenSet() const
Activity & WithOriginalParent(ResourceMetadata &&value)
Activity & WithIsIndirectActivity(bool value)
void SetInitiator(const UserMetadata &value)
void SetOrganizationId(Aws::String &&value)
Activity & WithOrganizationId(Aws::String &&value)
bool TimeStampHasBeenSet() const
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
Activity & WithTimeStamp(const Aws::Utils::DateTime &value)
Activity & WithType(ActivityType &&value)
AWS_WORKDOCS_API Activity(Aws::Utils::Json::JsonView jsonValue)
void SetTimeStamp(const Aws::Utils::DateTime &value)
const ActivityType & GetType() const
Activity & WithInitiator(const UserMetadata &value)
void SetParticipants(const Participants &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue