7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/EKSRequest.h>
11#include <aws/eks/EKS_EXPORTS.h>
12#include <aws/eks/model/EksAnywhereSubscriptionLicenseType.h>
13#include <aws/eks/model/EksAnywhereSubscriptionTerm.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
67 template <
typename TermT = EksAnywhereSubscriptionTerm>
69 m_termHasBeenSet =
true;
70 m_term = std::forward<TermT>(value);
72 template <
typename TermT = EksAnywhereSubscriptionTerm>
74 SetTerm(std::forward<TermT>(value));
88 m_licenseQuantityHasBeenSet =
true;
89 m_licenseQuantity = value;
106 m_licenseTypeHasBeenSet =
true;
107 m_licenseType = value;
123 m_autoRenewHasBeenSet =
true;
139 template <
typename ClientRequestTokenT = Aws::String>
141 m_clientRequestTokenHasBeenSet =
true;
142 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
144 template <
typename ClientRequestTokenT = Aws::String>
160 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 m_tagsHasBeenSet =
true;
163 m_tags = std::forward<TagsT>(value);
165 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 SetTags(std::forward<TagsT>(value));
170 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
172 m_tagsHasBeenSet =
true;
173 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 int m_licenseQuantity{0};
186 bool m_autoRenew{
false};
191 bool m_nameHasBeenSet =
false;
192 bool m_termHasBeenSet =
false;
193 bool m_licenseQuantityHasBeenSet =
false;
194 bool m_licenseTypeHasBeenSet =
false;
195 bool m_autoRenewHasBeenSet =
false;
196 bool m_clientRequestTokenHasBeenSet =
true;
197 bool m_tagsHasBeenSet =
false;
bool LicenseQuantityHasBeenSet() const
CreateEksAnywhereSubscriptionRequest & WithTerm(TermT &&value)
const EksAnywhereSubscriptionTerm & GetTerm() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
void SetName(NameT &&value)
bool ClientRequestTokenHasBeenSet() const
CreateEksAnywhereSubscriptionRequest & WithAutoRenew(bool value)
void SetLicenseQuantity(int value)
void SetLicenseType(EksAnywhereSubscriptionLicenseType value)
CreateEksAnywhereSubscriptionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
bool TermHasBeenSet() const
bool TagsHasBeenSet() const
bool GetAutoRenew() const
int GetLicenseQuantity() const
AWS_EKS_API Aws::String SerializePayload() const override
void SetAutoRenew(bool value)
CreateEksAnywhereSubscriptionRequest & WithName(NameT &&value)
AWS_EKS_API CreateEksAnywhereSubscriptionRequest()=default
const Aws::String & GetName() const
CreateEksAnywhereSubscriptionRequest & WithLicenseQuantity(int value)
CreateEksAnywhereSubscriptionRequest & WithTags(TagsT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
bool LicenseTypeHasBeenSet() const
CreateEksAnywhereSubscriptionRequest & WithLicenseType(EksAnywhereSubscriptionLicenseType value)
EksAnywhereSubscriptionLicenseType GetLicenseType() const
const Aws::String & GetClientRequestToken() const
void SetTerm(TermT &&value)
CreateEksAnywhereSubscriptionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
bool AutoRenewHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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