7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKS_EXPORTS.h>
12#include <aws/eks/model/EksAnywhereSubscriptionLicenseType.h>
13#include <aws/eks/model/EksAnywhereSubscriptionTerm.h>
14#include <aws/eks/model/License.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename ArnT = Aws::String>
68 m_arnHasBeenSet =
true;
69 m_arn = std::forward<ArnT>(value);
71 template <
typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
84 template <
typename CreatedAtT = Aws::Utils::DateTime>
86 m_createdAtHasBeenSet =
true;
87 m_createdAt = std::forward<CreatedAtT>(value);
89 template <
typename CreatedAtT = Aws::Utils::DateTime>
102 template <
typename EffectiveDateT = Aws::Utils::DateTime>
104 m_effectiveDateHasBeenSet =
true;
105 m_effectiveDate = std::forward<EffectiveDateT>(value);
107 template <
typename EffectiveDateT = Aws::Utils::DateTime>
121 template <
typename ExpirationDateT = Aws::Utils::DateTime>
123 m_expirationDateHasBeenSet =
true;
124 m_expirationDate = std::forward<ExpirationDateT>(value);
126 template <
typename ExpirationDateT = Aws::Utils::DateTime>
141 m_licenseQuantityHasBeenSet =
true;
142 m_licenseQuantity = value;
159 m_licenseTypeHasBeenSet =
true;
160 m_licenseType = value;
174 template <
typename TermT = EksAnywhereSubscriptionTerm>
176 m_termHasBeenSet =
true;
177 m_term = std::forward<TermT>(value);
179 template <
typename TermT = EksAnywhereSubscriptionTerm>
181 SetTerm(std::forward<TermT>(value));
192 template <
typename StatusT = Aws::String>
194 m_statusHasBeenSet =
true;
195 m_status = std::forward<StatusT>(value);
197 template <
typename StatusT = Aws::String>
212 m_autoRenewHasBeenSet =
true;
227 template <
typename LicenseArnsT = Aws::Vector<Aws::String>>
229 m_licenseArnsHasBeenSet =
true;
230 m_licenseArns = std::forward<LicenseArnsT>(value);
232 template <
typename LicenseArnsT = Aws::Vector<Aws::String>>
237 template <
typename LicenseArnsT = Aws::String>
239 m_licenseArnsHasBeenSet =
true;
240 m_licenseArns.emplace_back(std::forward<LicenseArnsT>(value));
252 template <
typename LicensesT = Aws::Vector<License>>
254 m_licensesHasBeenSet =
true;
255 m_licenses = std::forward<LicensesT>(value);
257 template <
typename LicensesT = Aws::Vector<License>>
262 template <
typename LicensesT = License>
264 m_licensesHasBeenSet =
true;
265 m_licenses.emplace_back(std::forward<LicensesT>(value));
279 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
281 m_tagsHasBeenSet =
true;
282 m_tags = std::forward<TagsT>(value);
284 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
286 SetTags(std::forward<TagsT>(value));
289 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
291 m_tagsHasBeenSet =
true;
292 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
307 int m_licenseQuantity{0};
311 EksAnywhereSubscriptionTerm m_term;
315 bool m_autoRenew{
false};
322 bool m_idHasBeenSet =
false;
323 bool m_arnHasBeenSet =
false;
324 bool m_createdAtHasBeenSet =
false;
325 bool m_effectiveDateHasBeenSet =
false;
326 bool m_expirationDateHasBeenSet =
false;
327 bool m_licenseQuantityHasBeenSet =
false;
328 bool m_licenseTypeHasBeenSet =
false;
329 bool m_termHasBeenSet =
false;
330 bool m_statusHasBeenSet =
false;
331 bool m_autoRenewHasBeenSet =
false;
332 bool m_licenseArnsHasBeenSet =
false;
333 bool m_licensesHasBeenSet =
false;
334 bool m_tagsHasBeenSet =
false;
void SetTerm(TermT &&value)
bool EffectiveDateHasBeenSet() const
const Aws::String & GetArn() const
void SetCreatedAt(CreatedAtT &&value)
EksAnywhereSubscription & WithId(IdT &&value)
bool TermHasBeenSet() const
EksAnywhereSubscription & WithTags(TagsT &&value)
EksAnywhereSubscription & WithArn(ArnT &&value)
void SetLicenseArns(LicenseArnsT &&value)
void SetAutoRenew(bool value)
int GetLicenseQuantity() const
void SetLicenseQuantity(int value)
bool LicenseArnsHasBeenSet() const
void SetEffectiveDate(EffectiveDateT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLicenseType(EksAnywhereSubscriptionLicenseType value)
void SetTags(TagsT &&value)
EksAnywhereSubscription & AddLicenseArns(LicenseArnsT &&value)
bool CreatedAtHasBeenSet() const
EksAnywhereSubscriptionLicenseType GetLicenseType() const
EksAnywhereSubscription & WithLicenseQuantity(int value)
EksAnywhereSubscription & AddLicenses(LicensesT &&value)
EksAnywhereSubscription & WithStatus(StatusT &&value)
bool GetAutoRenew() const
EksAnywhereSubscription & WithEffectiveDate(EffectiveDateT &&value)
const Aws::Vector< License > & GetLicenses() const
void SetLicenses(LicensesT &&value)
void SetExpirationDate(ExpirationDateT &&value)
bool LicenseQuantityHasBeenSet() const
EksAnywhereSubscription & WithTerm(TermT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
EksAnywhereSubscription & WithLicenseArns(LicenseArnsT &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
const Aws::Utils::DateTime & GetEffectiveDate() const
bool ExpirationDateHasBeenSet() const
bool TagsHasBeenSet() const
AWS_EKS_API EksAnywhereSubscription()=default
EksAnywhereSubscription & WithExpirationDate(ExpirationDateT &&value)
bool AutoRenewHasBeenSet() const
EksAnywhereSubscription & WithLicenseType(EksAnywhereSubscriptionLicenseType value)
EksAnywhereSubscription & WithCreatedAt(CreatedAtT &&value)
bool LicenseTypeHasBeenSet() const
const Aws::String & GetId() const
AWS_EKS_API EksAnywhereSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
EksAnywhereSubscription & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool LicensesHasBeenSet() const
void SetArn(ArnT &&value)
void SetStatus(StatusT &&value)
const EksAnywhereSubscriptionTerm & GetTerm() const
const Aws::Vector< Aws::String > & GetLicenseArns() const
AWS_EKS_API EksAnywhereSubscription(Aws::Utils::Json::JsonView jsonValue)
EksAnywhereSubscription & WithAutoRenew(bool value)
const Aws::String & GetStatus() const
EksAnywhereSubscription & WithLicenses(LicensesT &&value)
bool ArnHasBeenSet() const
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
EksAnywhereSubscriptionLicenseType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue