7#include <aws/artifact/Artifact_EXPORTS.h>
8#include <aws/artifact/model/AgreementType.h>
9#include <aws/artifact/model/CustomerAgreementState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename ArnT = Aws::String>
64 m_arnHasBeenSet =
true;
65 m_arn = std::forward<ArnT>(value);
67 template <
typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
80 template <
typename IdT = Aws::String>
82 m_idHasBeenSet =
true;
83 m_id = std::forward<IdT>(value);
85 template <
typename IdT = Aws::String>
87 SetId(std::forward<IdT>(value));
98 template <
typename AgreementArnT = Aws::String>
100 m_agreementArnHasBeenSet =
true;
101 m_agreementArn = std::forward<AgreementArnT>(value);
103 template <
typename AgreementArnT = Aws::String>
116 template <
typename AwsAccountIdT = Aws::String>
118 m_awsAccountIdHasBeenSet =
true;
119 m_awsAccountId = std::forward<AwsAccountIdT>(value);
121 template <
typename AwsAccountIdT = Aws::String>
134 template <
typename OrganizationArnT = Aws::String>
136 m_organizationArnHasBeenSet =
true;
137 m_organizationArn = std::forward<OrganizationArnT>(value);
139 template <
typename OrganizationArnT = Aws::String>
152 template <
typename EffectiveStartT = Aws::Utils::DateTime>
154 m_effectiveStartHasBeenSet =
true;
155 m_effectiveStart = std::forward<EffectiveStartT>(value);
157 template <
typename EffectiveStartT = Aws::Utils::DateTime>
170 template <
typename EffectiveEndT = Aws::Utils::DateTime>
172 m_effectiveEndHasBeenSet =
true;
173 m_effectiveEnd = std::forward<EffectiveEndT>(value);
175 template <
typename EffectiveEndT = Aws::Utils::DateTime>
189 m_stateHasBeenSet =
true;
204 template <
typename DescriptionT = Aws::String>
206 m_descriptionHasBeenSet =
true;
207 m_description = std::forward<DescriptionT>(value);
209 template <
typename DescriptionT = Aws::String>
222 template <
typename AcceptanceTermsT = Aws::Vector<Aws::String>>
224 m_acceptanceTermsHasBeenSet =
true;
225 m_acceptanceTerms = std::forward<AcceptanceTermsT>(value);
227 template <
typename AcceptanceTermsT = Aws::Vector<Aws::String>>
232 template <
typename AcceptanceTermsT = Aws::String>
234 m_acceptanceTermsHasBeenSet =
true;
235 m_acceptanceTerms.emplace_back(std::forward<AcceptanceTermsT>(value));
246 template <
typename TerminateTermsT = Aws::Vector<Aws::String>>
248 m_terminateTermsHasBeenSet =
true;
249 m_terminateTerms = std::forward<TerminateTermsT>(value);
251 template <
typename TerminateTermsT = Aws::Vector<Aws::String>>
256 template <
typename TerminateTermsT = Aws::String>
258 m_terminateTermsHasBeenSet =
true;
259 m_terminateTerms.emplace_back(std::forward<TerminateTermsT>(value));
271 m_typeHasBeenSet =
true;
305 bool m_nameHasBeenSet =
false;
306 bool m_arnHasBeenSet =
false;
307 bool m_idHasBeenSet =
false;
308 bool m_agreementArnHasBeenSet =
false;
309 bool m_awsAccountIdHasBeenSet =
false;
310 bool m_organizationArnHasBeenSet =
false;
311 bool m_effectiveStartHasBeenSet =
false;
312 bool m_effectiveEndHasBeenSet =
false;
313 bool m_stateHasBeenSet =
false;
314 bool m_descriptionHasBeenSet =
false;
315 bool m_acceptanceTermsHasBeenSet =
false;
316 bool m_terminateTermsHasBeenSet =
false;
317 bool m_typeHasBeenSet =
false;
const Aws::String & GetDescription() const
bool EffectiveStartHasBeenSet() const
const Aws::String & GetName() const
bool IdHasBeenSet() const
const Aws::String & GetOrganizationArn() const
bool TerminateTermsHasBeenSet() const
CustomerAgreementSummary & WithEffectiveStart(EffectiveStartT &&value)
CustomerAgreementSummary & AddTerminateTerms(TerminateTermsT &&value)
void SetEffectiveEnd(EffectiveEndT &&value)
void SetTerminateTerms(TerminateTermsT &&value)
CustomerAgreementSummary & WithOrganizationArn(OrganizationArnT &&value)
CustomerAgreementSummary & WithTerminateTerms(TerminateTermsT &&value)
const Aws::String & GetId() const
CustomerAgreementSummary & WithEffectiveEnd(EffectiveEndT &&value)
void SetAcceptanceTerms(AcceptanceTermsT &&value)
bool TypeHasBeenSet() const
void SetArn(ArnT &&value)
AWS_ARTIFACT_API CustomerAgreementSummary()=default
void SetOrganizationArn(OrganizationArnT &&value)
const Aws::String & GetArn() const
CustomerAgreementSummary & WithAcceptanceTerms(AcceptanceTermsT &&value)
AgreementType GetType() const
void SetName(NameT &&value)
bool AgreementArnHasBeenSet() const
CustomerAgreementSummary & WithDescription(DescriptionT &&value)
CustomerAgreementSummary & WithAwsAccountId(AwsAccountIdT &&value)
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetAgreementArn() const
void SetState(CustomerAgreementState value)
void SetEffectiveStart(EffectiveStartT &&value)
const Aws::Vector< Aws::String > & GetTerminateTerms() const
void SetAwsAccountId(AwsAccountIdT &&value)
AWS_ARTIFACT_API CustomerAgreementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EffectiveEndHasBeenSet() const
CustomerAgreementSummary & WithId(IdT &&value)
CustomerAgreementSummary & WithAgreementArn(AgreementArnT &&value)
bool NameHasBeenSet() const
CustomerAgreementState GetState() const
bool ArnHasBeenSet() const
bool DescriptionHasBeenSet() const
bool OrganizationArnHasBeenSet() const
AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgreementArn(AgreementArnT &&value)
bool AcceptanceTermsHasBeenSet() const
const Aws::String & GetAwsAccountId() const
CustomerAgreementSummary & WithType(AgreementType value)
void SetType(AgreementType value)
void SetDescription(DescriptionT &&value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetEffectiveEnd() const
const Aws::Vector< Aws::String > & GetAcceptanceTerms() const
CustomerAgreementSummary & AddAcceptanceTerms(AcceptanceTermsT &&value)
CustomerAgreementSummary & WithName(NameT &&value)
CustomerAgreementSummary & WithArn(ArnT &&value)
AWS_ARTIFACT_API CustomerAgreementSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEffectiveStart() const
CustomerAgreementSummary & WithState(CustomerAgreementState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue