7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
10#include <aws/partnercentral-benefits/model/BenefitAllocationStatus.h>
11#include <aws/partnercentral-benefits/model/MonetaryValue.h>
22namespace PartnerCentralBenefits {
45 template <
typename AwsAccountIdT = Aws::String>
47 m_awsAccountIdHasBeenSet =
true;
48 m_awsAccountId = std::forward<AwsAccountIdT>(value);
50 template <
typename AwsAccountIdT = Aws::String>
63 template <
typename ValueT = MonetaryValue>
65 m_valueHasBeenSet =
true;
66 m_value = std::forward<ValueT>(value);
68 template <
typename ValueT = MonetaryValue>
70 SetValue(std::forward<ValueT>(value));
82 template <
typename AwsCreditCodeT = Aws::String>
84 m_awsCreditCodeHasBeenSet =
true;
85 m_awsCreditCode = std::forward<AwsCreditCodeT>(value);
87 template <
typename AwsCreditCodeT = Aws::String>
101 m_statusHasBeenSet =
true;
116 template <
typename IssuedAtT = Aws::Utils::DateTime>
118 m_issuedAtHasBeenSet =
true;
119 m_issuedAt = std::forward<IssuedAtT>(value);
121 template <
typename IssuedAtT = Aws::Utils::DateTime>
134 template <
typename ExpiresAtT = Aws::Utils::DateTime>
136 m_expiresAtHasBeenSet =
true;
137 m_expiresAt = std::forward<ExpiresAtT>(value);
139 template <
typename ExpiresAtT = Aws::Utils::DateTime>
157 bool m_awsAccountIdHasBeenSet =
false;
158 bool m_valueHasBeenSet =
false;
159 bool m_awsCreditCodeHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
161 bool m_issuedAtHasBeenSet =
false;
162 bool m_expiresAtHasBeenSet =
false;
AWS_PARTNERCENTRALBENEFITS_API CreditCode & operator=(Aws::Utils::Json::JsonView jsonValue)
CreditCode & WithExpiresAt(ExpiresAtT &&value)
const Aws::String & GetAwsAccountId() const
void SetExpiresAt(ExpiresAtT &&value)
CreditCode & WithIssuedAt(IssuedAtT &&value)
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsCreditCode() const
void SetStatus(BenefitAllocationStatus value)
AWS_PARTNERCENTRALBENEFITS_API CreditCode(Aws::Utils::Json::JsonView jsonValue)
CreditCode & WithValue(ValueT &&value)
const Aws::Utils::DateTime & GetIssuedAt() const
AWS_PARTNERCENTRALBENEFITS_API CreditCode()=default
CreditCode & WithAwsAccountId(AwsAccountIdT &&value)
bool ValueHasBeenSet() const
bool AwsCreditCodeHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
void SetIssuedAt(IssuedAtT &&value)
bool ExpiresAtHasBeenSet() const
const MonetaryValue & GetValue() const
bool StatusHasBeenSet() const
CreditCode & WithAwsCreditCode(AwsCreditCodeT &&value)
BenefitAllocationStatus GetStatus() const
void SetValue(ValueT &&value)
bool IssuedAtHasBeenSet() const
void SetAwsCreditCode(AwsCreditCodeT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
CreditCode & WithStatus(BenefitAllocationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue