7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
12#include <aws/partnercentral-selling/model/EngagementContextDetails.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace PartnerCentralSelling {
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
73 template <
typename TitleT = Aws::String>
75 m_titleHasBeenSet =
true;
76 m_title = std::forward<TitleT>(value);
78 template <
typename TitleT = Aws::String>
80 SetTitle(std::forward<TitleT>(value));
91 template <
typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet =
true;
94 m_description = std::forward<DescriptionT>(value);
96 template <
typename DescriptionT = Aws::String>
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
112 m_createdAtHasBeenSet =
true;
113 m_createdAt = std::forward<CreatedAtT>(value);
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
128 template <
typename CreatedByT = Aws::String>
130 m_createdByHasBeenSet =
true;
131 m_createdBy = std::forward<CreatedByT>(value);
133 template <
typename CreatedByT = Aws::String>
148 m_memberCountHasBeenSet =
true;
149 m_memberCount = value;
164 template <
typename ModifiedAtT = Aws::Utils::DateTime>
166 m_modifiedAtHasBeenSet =
true;
167 m_modifiedAt = std::forward<ModifiedAtT>(value);
169 template <
typename ModifiedAtT = Aws::Utils::DateTime>
182 template <
typename ModifiedByT = Aws::String>
184 m_modifiedByHasBeenSet =
true;
185 m_modifiedBy = std::forward<ModifiedByT>(value);
187 template <
typename ModifiedByT = Aws::String>
201 template <
typename ContextsT = Aws::Vector<EngagementContextDetails>>
203 m_contextsHasBeenSet =
true;
204 m_contexts = std::forward<ContextsT>(value);
206 template <
typename ContextsT = Aws::Vector<EngagementContextDetails>>
211 template <
typename ContextsT = EngagementContextDetails>
213 m_contextsHasBeenSet =
true;
214 m_contexts.emplace_back(std::forward<ContextsT>(value));
222 template <
typename RequestIdT = Aws::String>
224 m_requestIdHasBeenSet =
true;
225 m_requestId = std::forward<RequestIdT>(value);
227 template <
typename RequestIdT = Aws::String>
248 int m_memberCount{0};
258 bool m_idHasBeenSet =
false;
259 bool m_arnHasBeenSet =
false;
260 bool m_titleHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
262 bool m_createdAtHasBeenSet =
false;
263 bool m_createdByHasBeenSet =
false;
264 bool m_memberCountHasBeenSet =
false;
265 bool m_modifiedAtHasBeenSet =
false;
266 bool m_modifiedByHasBeenSet =
false;
267 bool m_contextsHasBeenSet =
false;
268 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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