7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/EntitlementData.h>
12#include <aws/license-manager/model/Metadata.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LicenseManager {
38 template <
typename LicenseArnT = Aws::String>
40 m_licenseArnHasBeenSet =
true;
41 m_licenseArn = std::forward<LicenseArnT>(value);
43 template <
typename LicenseArnT = Aws::String>
55 template <
typename LicenseConsumptionTokenT = Aws::String>
57 m_licenseConsumptionTokenHasBeenSet =
true;
58 m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value);
60 template <
typename LicenseConsumptionTokenT = Aws::String>
72 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
74 m_entitlementsAllowedHasBeenSet =
true;
75 m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value);
77 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
82 template <
typename EntitlementsAllowedT = EntitlementData>
84 m_entitlementsAllowedHasBeenSet =
true;
85 m_entitlementsAllowed.emplace_back(std::forward<EntitlementsAllowedT>(value));
95 template <
typename NodeIdT = Aws::String>
97 m_nodeIdHasBeenSet =
true;
98 m_nodeId = std::forward<NodeIdT>(value);
100 template <
typename NodeIdT = Aws::String>
112 template <
typename SignedTokenT = Aws::String>
114 m_signedTokenHasBeenSet =
true;
115 m_signedToken = std::forward<SignedTokenT>(value);
117 template <
typename SignedTokenT = Aws::String>
129 template <
typename IssuedAtT = Aws::String>
131 m_issuedAtHasBeenSet =
true;
132 m_issuedAt = std::forward<IssuedAtT>(value);
134 template <
typename IssuedAtT = Aws::String>
146 template <
typename ExpirationT = Aws::String>
148 m_expirationHasBeenSet =
true;
149 m_expiration = std::forward<ExpirationT>(value);
151 template <
typename ExpirationT = Aws::String>
163 template <
typename CheckoutMetadataT = Aws::Vector<Metadata>>
165 m_checkoutMetadataHasBeenSet =
true;
166 m_checkoutMetadata = std::forward<CheckoutMetadataT>(value);
168 template <
typename CheckoutMetadataT = Aws::Vector<Metadata>>
173 template <
typename CheckoutMetadataT = Metadata>
175 m_checkoutMetadataHasBeenSet =
true;
176 m_checkoutMetadata.emplace_back(std::forward<CheckoutMetadataT>(value));
184 template <
typename RequestIdT = Aws::String>
186 m_requestIdHasBeenSet =
true;
187 m_requestId = std::forward<RequestIdT>(value);
189 template <
typename RequestIdT = Aws::String>
216 bool m_licenseArnHasBeenSet =
false;
217 bool m_licenseConsumptionTokenHasBeenSet =
false;
218 bool m_entitlementsAllowedHasBeenSet =
false;
219 bool m_nodeIdHasBeenSet =
false;
220 bool m_signedTokenHasBeenSet =
false;
221 bool m_issuedAtHasBeenSet =
false;
222 bool m_expirationHasBeenSet =
false;
223 bool m_checkoutMetadataHasBeenSet =
false;
224 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetIssuedAt() const
void SetCheckoutMetadata(CheckoutMetadataT &&value)
CheckoutBorrowLicenseResult & WithExpiration(ExpirationT &&value)
const Aws::String & GetNodeId() const
CheckoutBorrowLicenseResult & WithSignedToken(SignedTokenT &&value)
const Aws::String & GetExpiration() const
void SetNodeId(NodeIdT &&value)
void SetIssuedAt(IssuedAtT &&value)
CheckoutBorrowLicenseResult & AddCheckoutMetadata(CheckoutMetadataT &&value)
const Aws::String & GetLicenseArn() const
void SetEntitlementsAllowed(EntitlementsAllowedT &&value)
CheckoutBorrowLicenseResult & WithLicenseArn(LicenseArnT &&value)
const Aws::Vector< EntitlementData > & GetEntitlementsAllowed() const
void SetLicenseConsumptionToken(LicenseConsumptionTokenT &&value)
void SetLicenseArn(LicenseArnT &&value)
CheckoutBorrowLicenseResult & WithEntitlementsAllowed(EntitlementsAllowedT &&value)
CheckoutBorrowLicenseResult & WithIssuedAt(IssuedAtT &&value)
AWS_LICENSEMANAGER_API CheckoutBorrowLicenseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetLicenseConsumptionToken() const
const Aws::Vector< Metadata > & GetCheckoutMetadata() const
void SetExpiration(ExpirationT &&value)
CheckoutBorrowLicenseResult & WithNodeId(NodeIdT &&value)
void SetSignedToken(SignedTokenT &&value)
const Aws::String & GetSignedToken() const
CheckoutBorrowLicenseResult & WithCheckoutMetadata(CheckoutMetadataT &&value)
CheckoutBorrowLicenseResult & AddEntitlementsAllowed(EntitlementsAllowedT &&value)
AWS_LICENSEMANAGER_API CheckoutBorrowLicenseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
CheckoutBorrowLicenseResult & WithLicenseConsumptionToken(LicenseConsumptionTokenT &&value)
CheckoutBorrowLicenseResult & WithRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API CheckoutBorrowLicenseResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue