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/EngagementContextDetails.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace PartnerCentralSelling {
37 template <
typename IdT = Aws::String>
39 m_idHasBeenSet =
true;
40 m_id = std::forward<IdT>(value);
42 template <
typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
54 template <
typename ArnT = Aws::String>
56 m_arnHasBeenSet =
true;
57 m_arn = std::forward<ArnT>(value);
59 template <
typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
72 template <
typename TitleT = Aws::String>
74 m_titleHasBeenSet =
true;
75 m_title = std::forward<TitleT>(value);
77 template <
typename TitleT = Aws::String>
79 SetTitle(std::forward<TitleT>(value));
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
109 template <
typename CreatedAtT = Aws::Utils::DateTime>
111 m_createdAtHasBeenSet =
true;
112 m_createdAt = std::forward<CreatedAtT>(value);
114 template <
typename CreatedAtT = Aws::Utils::DateTime>
127 template <
typename CreatedByT = Aws::String>
129 m_createdByHasBeenSet =
true;
130 m_createdBy = std::forward<CreatedByT>(value);
132 template <
typename CreatedByT = Aws::String>
147 m_memberCountHasBeenSet =
true;
148 m_memberCount = value;
163 template <
typename ModifiedAtT = Aws::Utils::DateTime>
165 m_modifiedAtHasBeenSet =
true;
166 m_modifiedAt = std::forward<ModifiedAtT>(value);
168 template <
typename ModifiedAtT = Aws::Utils::DateTime>
181 template <
typename ModifiedByT = Aws::String>
183 m_modifiedByHasBeenSet =
true;
184 m_modifiedBy = std::forward<ModifiedByT>(value);
186 template <
typename ModifiedByT = Aws::String>
200 template <
typename ContextsT = Aws::Vector<EngagementContextDetails>>
202 m_contextsHasBeenSet =
true;
203 m_contexts = std::forward<ContextsT>(value);
205 template <
typename ContextsT = Aws::Vector<EngagementContextDetails>>
210 template <
typename ContextsT = EngagementContextDetails>
212 m_contextsHasBeenSet =
true;
213 m_contexts.emplace_back(std::forward<ContextsT>(value));
221 template <
typename RequestIdT = Aws::String>
223 m_requestIdHasBeenSet =
true;
224 m_requestId = std::forward<RequestIdT>(value);
226 template <
typename RequestIdT = Aws::String>
245 int m_memberCount{0};
254 bool m_idHasBeenSet =
false;
255 bool m_arnHasBeenSet =
false;
256 bool m_titleHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
258 bool m_createdAtHasBeenSet =
false;
259 bool m_createdByHasBeenSet =
false;
260 bool m_memberCountHasBeenSet =
false;
261 bool m_modifiedAtHasBeenSet =
false;
262 bool m_modifiedByHasBeenSet =
false;
263 bool m_contextsHasBeenSet =
false;
264 bool m_requestIdHasBeenSet =
false;
GetEngagementResult & WithTitle(TitleT &&value)
void SetArn(ArnT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedBy(CreatedByT &&value)
GetEngagementResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
GetEngagementResult & WithModifiedAt(ModifiedAtT &&value)
void SetContexts(ContextsT &&value)
GetEngagementResult & AddContexts(ContextsT &&value)
AWS_PARTNERCENTRALSELLING_API GetEngagementResult()=default
AWS_PARTNERCENTRALSELLING_API GetEngagementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetArn() const
GetEngagementResult & WithModifiedBy(ModifiedByT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
GetEngagementResult & WithContexts(ContextsT &&value)
void SetModifiedBy(ModifiedByT &&value)
void SetTitle(TitleT &&value)
const Aws::String & GetModifiedBy() const
GetEngagementResult & WithRequestId(RequestIdT &&value)
GetEngagementResult & WithDescription(DescriptionT &&value)
GetEngagementResult & WithCreatedBy(CreatedByT &&value)
void SetModifiedAt(ModifiedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
int GetMemberCount() const
const Aws::Vector< EngagementContextDetails > & GetContexts() const
GetEngagementResult & WithId(IdT &&value)
GetEngagementResult & WithArn(ArnT &&value)
const Aws::String & GetCreatedBy() const
void SetMemberCount(int value)
GetEngagementResult & WithMemberCount(int value)
AWS_PARTNERCENTRALSELLING_API GetEngagementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
const Aws::String & GetDescription() 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