7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/EntitlementData.h>
11#include <aws/license-manager/model/Metadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace LicenseManager {
37 template <
typename LicenseArnT = Aws::String>
39 m_licenseArnHasBeenSet =
true;
40 m_licenseArn = std::forward<LicenseArnT>(value);
42 template <
typename LicenseArnT = Aws::String>
54 template <
typename LicenseConsumptionTokenT = Aws::String>
56 m_licenseConsumptionTokenHasBeenSet =
true;
57 m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value);
59 template <
typename LicenseConsumptionTokenT = Aws::String>
71 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
73 m_entitlementsAllowedHasBeenSet =
true;
74 m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value);
76 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
81 template <
typename EntitlementsAllowedT = EntitlementData>
83 m_entitlementsAllowedHasBeenSet =
true;
84 m_entitlementsAllowed.emplace_back(std::forward<EntitlementsAllowedT>(value));
94 template <
typename NodeIdT = Aws::String>
96 m_nodeIdHasBeenSet =
true;
97 m_nodeId = std::forward<NodeIdT>(value);
99 template <
typename NodeIdT = Aws::String>
111 template <
typename SignedTokenT = Aws::String>
113 m_signedTokenHasBeenSet =
true;
114 m_signedToken = std::forward<SignedTokenT>(value);
116 template <
typename SignedTokenT = Aws::String>
128 template <
typename IssuedAtT = Aws::String>
130 m_issuedAtHasBeenSet =
true;
131 m_issuedAt = std::forward<IssuedAtT>(value);
133 template <
typename IssuedAtT = Aws::String>
145 template <
typename ExpirationT = Aws::String>
147 m_expirationHasBeenSet =
true;
148 m_expiration = std::forward<ExpirationT>(value);
150 template <
typename ExpirationT = Aws::String>
162 template <
typename CheckoutMetadataT = Aws::Vector<Metadata>>
164 m_checkoutMetadataHasBeenSet =
true;
165 m_checkoutMetadata = std::forward<CheckoutMetadataT>(value);
167 template <
typename CheckoutMetadataT = Aws::Vector<Metadata>>
172 template <
typename CheckoutMetadataT = Metadata>
174 m_checkoutMetadataHasBeenSet =
true;
175 m_checkoutMetadata.emplace_back(std::forward<CheckoutMetadataT>(value));
183 template <
typename RequestIdT = Aws::String>
185 m_requestIdHasBeenSet =
true;
186 m_requestId = std::forward<RequestIdT>(value);
188 template <
typename RequestIdT = Aws::String>
196 bool m_licenseArnHasBeenSet =
false;
199 bool m_licenseConsumptionTokenHasBeenSet =
false;
202 bool m_entitlementsAllowedHasBeenSet =
false;
205 bool m_nodeIdHasBeenSet =
false;
208 bool m_signedTokenHasBeenSet =
false;
211 bool m_issuedAtHasBeenSet =
false;
214 bool m_expirationHasBeenSet =
false;
217 bool m_checkoutMetadataHasBeenSet =
false;
220 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)
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