7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/partnercentral-selling/model/EngagementContextDetails.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace PartnerCentralSelling
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
56 template<
typename ContextsT = Aws::Vector<EngagementContextDetails>>
57 void SetContexts(ContextsT&& value) { m_contextsHasBeenSet =
true; m_contexts = std::forward<ContextsT>(value); }
58 template<
typename ContextsT = Aws::Vector<EngagementContextDetails>>
60 template<
typename ContextsT = EngagementContextDetails>
71 template<
typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<
typename CreatedAtT = Aws::Utils::DateTime>
83 template<
typename CreatedByT = Aws::String>
84 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
85 template<
typename CreatedByT = Aws::String>
95 template<
typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
97 template<
typename DescriptionT = Aws::String>
106 template<
typename IdT = Aws::String>
107 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
108 template<
typename IdT = Aws::String>
119 inline void SetMemberCount(
int value) { m_memberCountHasBeenSet =
true; m_memberCount = value; }
129 template<
typename TitleT = Aws::String>
130 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
131 template<
typename TitleT = Aws::String>
138 template<
typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
140 template<
typename RequestIdT = Aws::String>
146 bool m_arnHasBeenSet =
false;
149 bool m_contextsHasBeenSet =
false;
152 bool m_createdAtHasBeenSet =
false;
155 bool m_createdByHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_idHasBeenSet =
false;
163 int m_memberCount{0};
164 bool m_memberCountHasBeenSet =
false;
167 bool m_titleHasBeenSet =
false;
170 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
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 & WithContexts(ContextsT &&value)
void SetTitle(TitleT &&value)
GetEngagementResult & WithRequestId(RequestIdT &&value)
GetEngagementResult & WithDescription(DescriptionT &&value)
GetEngagementResult & WithCreatedBy(CreatedByT &&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