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/CheckoutType.h>
12#include <aws/license-manager/model/EntitlementData.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LicenseManager {
39 m_checkoutTypeHasBeenSet =
true;
40 m_checkoutType = value;
53 template <
typename LicenseConsumptionTokenT = Aws::String>
55 m_licenseConsumptionTokenHasBeenSet =
true;
56 m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value);
58 template <
typename LicenseConsumptionTokenT = Aws::String>
70 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
72 m_entitlementsAllowedHasBeenSet =
true;
73 m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value);
75 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
80 template <
typename EntitlementsAllowedT = EntitlementData>
82 m_entitlementsAllowedHasBeenSet =
true;
83 m_entitlementsAllowed.emplace_back(std::forward<EntitlementsAllowedT>(value));
93 template <
typename SignedTokenT = Aws::String>
95 m_signedTokenHasBeenSet =
true;
96 m_signedToken = std::forward<SignedTokenT>(value);
98 template <
typename SignedTokenT = Aws::String>
110 template <
typename NodeIdT = Aws::String>
112 m_nodeIdHasBeenSet =
true;
113 m_nodeId = std::forward<NodeIdT>(value);
115 template <
typename NodeIdT = Aws::String>
127 template <
typename IssuedAtT = Aws::String>
129 m_issuedAtHasBeenSet =
true;
130 m_issuedAt = std::forward<IssuedAtT>(value);
132 template <
typename IssuedAtT = Aws::String>
144 template <
typename ExpirationT = Aws::String>
146 m_expirationHasBeenSet =
true;
147 m_expiration = std::forward<ExpirationT>(value);
149 template <
typename ExpirationT = Aws::String>
161 template <
typename LicenseArnT = Aws::String>
163 m_licenseArnHasBeenSet =
true;
164 m_licenseArn = std::forward<LicenseArnT>(value);
166 template <
typename LicenseArnT = Aws::String>
176 template <
typename RequestIdT = Aws::String>
178 m_requestIdHasBeenSet =
true;
179 m_requestId = std::forward<RequestIdT>(value);
181 template <
typename RequestIdT = Aws::String>
208 bool m_checkoutTypeHasBeenSet =
false;
209 bool m_licenseConsumptionTokenHasBeenSet =
false;
210 bool m_entitlementsAllowedHasBeenSet =
false;
211 bool m_signedTokenHasBeenSet =
false;
212 bool m_nodeIdHasBeenSet =
false;
213 bool m_issuedAtHasBeenSet =
false;
214 bool m_expirationHasBeenSet =
false;
215 bool m_licenseArnHasBeenSet =
false;
216 bool m_requestIdHasBeenSet =
false;
CheckoutLicenseResult & WithLicenseConsumptionToken(LicenseConsumptionTokenT &&value)
AWS_LICENSEMANAGER_API CheckoutLicenseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckoutLicenseResult & WithCheckoutType(CheckoutType value)
CheckoutLicenseResult & AddEntitlementsAllowed(EntitlementsAllowedT &&value)
const Aws::String & GetIssuedAt() const
void SetCheckoutType(CheckoutType value)
const Aws::String & GetRequestId() const
const Aws::String & GetLicenseArn() const
AWS_LICENSEMANAGER_API CheckoutLicenseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLicenseConsumptionToken() const
const Aws::Vector< EntitlementData > & GetEntitlementsAllowed() const
CheckoutLicenseResult & WithExpiration(ExpirationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetNodeId(NodeIdT &&value)
void SetEntitlementsAllowed(EntitlementsAllowedT &&value)
void SetIssuedAt(IssuedAtT &&value)
AWS_LICENSEMANAGER_API CheckoutLicenseResult()=default
void SetRequestId(RequestIdT &&value)
CheckoutLicenseResult & WithNodeId(NodeIdT &&value)
void SetExpiration(ExpirationT &&value)
CheckoutType GetCheckoutType() const
CheckoutLicenseResult & WithLicenseArn(LicenseArnT &&value)
const Aws::String & GetSignedToken() const
const Aws::String & GetNodeId() const
CheckoutLicenseResult & WithSignedToken(SignedTokenT &&value)
CheckoutLicenseResult & WithEntitlementsAllowed(EntitlementsAllowedT &&value)
CheckoutLicenseResult & WithIssuedAt(IssuedAtT &&value)
void SetLicenseConsumptionToken(LicenseConsumptionTokenT &&value)
void SetLicenseArn(LicenseArnT &&value)
void SetSignedToken(SignedTokenT &&value)
CheckoutLicenseResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetExpiration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue