7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManagerRequest.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/CheckoutType.h>
12#include <aws/license-manager/model/EntitlementData.h>
17namespace LicenseManager {
42 template <
typename ProductSKUT = Aws::String>
44 m_productSKUHasBeenSet =
true;
45 m_productSKU = std::forward<ProductSKUT>(value);
47 template <
typename ProductSKUT = Aws::String>
61 m_checkoutTypeHasBeenSet =
true;
62 m_checkoutType = value;
76 template <
typename KeyFingerpr
intT = Aws::String>
78 m_keyFingerprintHasBeenSet =
true;
79 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
81 template <
typename KeyFingerpr
intT = Aws::String>
94 template <
typename EntitlementsT = Aws::Vector<EntitlementData>>
96 m_entitlementsHasBeenSet =
true;
97 m_entitlements = std::forward<EntitlementsT>(value);
99 template <
typename EntitlementsT = Aws::Vector<EntitlementData>>
104 template <
typename EntitlementsT = EntitlementData>
106 m_entitlementsHasBeenSet =
true;
107 m_entitlements.emplace_back(std::forward<EntitlementsT>(value));
119 template <
typename ClientTokenT = Aws::String>
121 m_clientTokenHasBeenSet =
true;
122 m_clientToken = std::forward<ClientTokenT>(value);
124 template <
typename ClientTokenT = Aws::String>
137 template <
typename BeneficiaryT = Aws::String>
139 m_beneficiaryHasBeenSet =
true;
140 m_beneficiary = std::forward<BeneficiaryT>(value);
142 template <
typename BeneficiaryT = Aws::String>
155 template <
typename NodeIdT = Aws::String>
157 m_nodeIdHasBeenSet =
true;
158 m_nodeId = std::forward<NodeIdT>(value);
160 template <
typename NodeIdT = Aws::String>
180 bool m_productSKUHasBeenSet =
false;
181 bool m_checkoutTypeHasBeenSet =
false;
182 bool m_keyFingerprintHasBeenSet =
false;
183 bool m_entitlementsHasBeenSet =
false;
184 bool m_clientTokenHasBeenSet =
false;
185 bool m_beneficiaryHasBeenSet =
false;
186 bool m_nodeIdHasBeenSet =
false;
bool BeneficiaryHasBeenSet() const
bool KeyFingerprintHasBeenSet() const
void SetBeneficiary(BeneficiaryT &&value)
CheckoutLicenseRequest & WithBeneficiary(BeneficiaryT &&value)
CheckoutLicenseRequest & WithCheckoutType(CheckoutType value)
CheckoutLicenseRequest & WithEntitlements(EntitlementsT &&value)
const Aws::Vector< EntitlementData > & GetEntitlements() const
const Aws::String & GetKeyFingerprint() const
CheckoutType GetCheckoutType() const
bool ClientTokenHasBeenSet() const
CheckoutLicenseRequest & WithClientToken(ClientTokenT &&value)
CheckoutLicenseRequest & WithProductSKU(ProductSKUT &&value)
void SetProductSKU(ProductSKUT &&value)
void SetKeyFingerprint(KeyFingerprintT &&value)
bool NodeIdHasBeenSet() const
void SetEntitlements(EntitlementsT &&value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
const Aws::String & GetNodeId() const
const Aws::String & GetBeneficiary() const
CheckoutLicenseRequest & WithKeyFingerprint(KeyFingerprintT &&value)
void SetClientToken(ClientTokenT &&value)
bool ProductSKUHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetCheckoutType(CheckoutType value)
CheckoutLicenseRequest & AddEntitlements(EntitlementsT &&value)
bool EntitlementsHasBeenSet() const
const Aws::String & GetClientToken() const
void SetNodeId(NodeIdT &&value)
AWS_LICENSEMANAGER_API CheckoutLicenseRequest()=default
bool CheckoutTypeHasBeenSet() const
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CheckoutLicenseRequest & WithNodeId(NodeIdT &&value)
const Aws::String & GetProductSKU() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector