7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace AgreementService
51 template<
typename AgreementDurationT = Aws::String>
52 void SetAgreementDuration(AgreementDurationT&& value) { m_agreementDurationHasBeenSet =
true; m_agreementDuration = std::forward<AgreementDurationT>(value); }
53 template<
typename AgreementDurationT = Aws::String>
65 template<
typename AgreementEndDateT = Aws::Utils::DateTime>
66 void SetAgreementEndDate(AgreementEndDateT&& value) { m_agreementEndDateHasBeenSet =
true; m_agreementEndDate = std::forward<AgreementEndDateT>(value); }
67 template<
typename AgreementEndDateT = Aws::Utils::DateTime>
79 template<
typename AgreementStartDateT = Aws::Utils::DateTime>
80 void SetAgreementStartDate(AgreementStartDateT&& value) { m_agreementStartDateHasBeenSet =
true; m_agreementStartDate = std::forward<AgreementStartDateT>(value); }
81 template<
typename AgreementStartDateT = Aws::Utils::DateTime>
91 template<
typename TypeT = Aws::String>
92 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
93 template<
typename TypeT = Aws::String>
99 bool m_agreementDurationHasBeenSet =
false;
102 bool m_agreementEndDateHasBeenSet =
false;
105 bool m_agreementStartDateHasBeenSet =
false;
108 bool m_typeHasBeenSet =
false;
ValidityTerm & WithAgreementDuration(AgreementDurationT &&value)
void SetAgreementEndDate(AgreementEndDateT &&value)
bool TypeHasBeenSet() const
bool AgreementDurationHasBeenSet() const
const Aws::String & GetAgreementDuration() const
const Aws::String & GetType() const
void SetType(TypeT &&value)
ValidityTerm & WithAgreementEndDate(AgreementEndDateT &&value)
ValidityTerm & WithType(TypeT &&value)
const Aws::Utils::DateTime & GetAgreementEndDate() const
bool AgreementStartDateHasBeenSet() const
const Aws::Utils::DateTime & GetAgreementStartDate() const
AWS_AGREEMENTSERVICE_API ValidityTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgreementStartDate(AgreementStartDateT &&value)
bool AgreementEndDateHasBeenSet() const
AWS_AGREEMENTSERVICE_API ValidityTerm(Aws::Utils::Json::JsonView jsonValue)
ValidityTerm & WithAgreementStartDate(AgreementStartDateT &&value)
AWS_AGREEMENTSERVICE_API ValidityTerm()=default
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgreementDuration(AgreementDurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue