7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/LicenseManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/CheckoutType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/license-manager/model/EntitlementData.h>
17namespace LicenseManager
46 template<
typename ProductSKUT = Aws::String>
47 void SetProductSKU(ProductSKUT&& value) { m_productSKUHasBeenSet =
true; m_productSKU = std::forward<ProductSKUT>(value); }
48 template<
typename ProductSKUT = Aws::String>
68 template<
typename KeyFingerpr
intT = Aws::String>
69 void SetKeyFingerprint(KeyFingerprintT&& value) { m_keyFingerprintHasBeenSet =
true; m_keyFingerprint = std::forward<KeyFingerprintT>(value); }
70 template<
typename KeyFingerpr
intT = Aws::String>
80 template<
typename EntitlementsT = Aws::Vector<EntitlementData>>
81 void SetEntitlements(EntitlementsT&& value) { m_entitlementsHasBeenSet =
true; m_entitlements = std::forward<EntitlementsT>(value); }
82 template<
typename EntitlementsT = Aws::Vector<EntitlementData>>
84 template<
typename EntitlementsT = EntitlementData>
95 template<
typename ClientTokenT = Aws::String>
96 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
97 template<
typename ClientTokenT = Aws::String>
107 template<
typename BeneficiaryT = Aws::String>
108 void SetBeneficiary(BeneficiaryT&& value) { m_beneficiaryHasBeenSet =
true; m_beneficiary = std::forward<BeneficiaryT>(value); }
109 template<
typename BeneficiaryT = Aws::String>
119 template<
typename NodeIdT = Aws::String>
120 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet =
true; m_nodeId = std::forward<NodeIdT>(value); }
121 template<
typename NodeIdT = Aws::String>
127 bool m_productSKUHasBeenSet =
false;
130 bool m_checkoutTypeHasBeenSet =
false;
133 bool m_keyFingerprintHasBeenSet =
false;
136 bool m_entitlementsHasBeenSet =
false;
139 bool m_clientTokenHasBeenSet =
false;
142 bool m_beneficiaryHasBeenSet =
false;
145 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