7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
11#include <aws/partnercentral-selling/model/EngagementContextType.h>
22namespace PartnerCentralSelling {
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
80 template <
typename TitleT = Aws::String>
82 m_titleHasBeenSet =
true;
83 m_title = std::forward<TitleT>(value);
85 template <
typename TitleT = Aws::String>
87 SetTitle(std::forward<TitleT>(value));
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 template <
typename CreatedByT = Aws::String>
118 m_createdByHasBeenSet =
true;
119 m_createdBy = std::forward<CreatedByT>(value);
121 template <
typename CreatedByT = Aws::String>
135 m_memberCountHasBeenSet =
true;
136 m_memberCount = value;
151 template <
typename ModifiedAtT = Aws::Utils::DateTime>
153 m_modifiedAtHasBeenSet =
true;
154 m_modifiedAt = std::forward<ModifiedAtT>(value);
156 template <
typename ModifiedAtT = Aws::Utils::DateTime>
170 template <
typename ModifiedByT = Aws::String>
172 m_modifiedByHasBeenSet =
true;
173 m_modifiedBy = std::forward<ModifiedByT>(value);
175 template <
typename ModifiedByT = Aws::String>
190 template <
typename ContextTypesT = Aws::Vector<EngagementContextType>>
192 m_contextTypesHasBeenSet =
true;
193 m_contextTypes = std::forward<ContextTypesT>(value);
195 template <
typename ContextTypesT = Aws::Vector<EngagementContextType>>
201 m_contextTypesHasBeenSet =
true;
202 m_contextTypes.push_back(value);
217 int m_memberCount{0};
224 bool m_arnHasBeenSet =
false;
225 bool m_idHasBeenSet =
false;
226 bool m_titleHasBeenSet =
false;
227 bool m_createdAtHasBeenSet =
false;
228 bool m_createdByHasBeenSet =
false;
229 bool m_memberCountHasBeenSet =
false;
230 bool m_modifiedAtHasBeenSet =
false;
231 bool m_modifiedByHasBeenSet =
false;
232 bool m_contextTypesHasBeenSet =
false;
EngagementSummary & WithId(IdT &&value)
void SetModifiedAt(ModifiedAtT &&value)
const Aws::String & GetId() const
bool MemberCountHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool TitleHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API EngagementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemberCount(int value)
EngagementSummary & WithContextTypes(ContextTypesT &&value)
bool CreatedByHasBeenSet() const
EngagementSummary & WithModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
int GetMemberCount() const
EngagementSummary & WithModifiedBy(ModifiedByT &&value)
bool ContextTypesHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetModifiedBy() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementSummary & AddContextTypes(EngagementContextType value)
const Aws::String & GetTitle() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< EngagementContextType > & GetContextTypes() const
void SetTitle(TitleT &&value)
EngagementSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
EngagementSummary & WithMemberCount(int value)
bool ModifiedByHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API EngagementSummary()=default
bool ModifiedAtHasBeenSet() const
const Aws::String & GetCreatedBy() const
EngagementSummary & WithCreatedBy(CreatedByT &&value)
void SetArn(ArnT &&value)
void SetCreatedBy(CreatedByT &&value)
EngagementSummary & WithTitle(TitleT &&value)
void SetContextTypes(ContextTypesT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementSummary(Aws::Utils::Json::JsonView jsonValue)
EngagementSummary & WithArn(ArnT &&value)
void SetModifiedBy(ModifiedByT &&value)
const Aws::String & GetArn() const
bool IdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue