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/CheckoutType.h>
11#include <aws/license-manager/model/EntitlementData.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace LicenseManager {
38 m_checkoutTypeHasBeenSet =
true;
39 m_checkoutType = value;
52 template <
typename LicenseConsumptionTokenT = Aws::String>
54 m_licenseConsumptionTokenHasBeenSet =
true;
55 m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value);
57 template <
typename LicenseConsumptionTokenT = Aws::String>
69 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
71 m_entitlementsAllowedHasBeenSet =
true;
72 m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value);
74 template <
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
79 template <
typename EntitlementsAllowedT = EntitlementData>
81 m_entitlementsAllowedHasBeenSet =
true;
82 m_entitlementsAllowed.emplace_back(std::forward<EntitlementsAllowedT>(value));
92 template <
typename SignedTokenT = Aws::String>
94 m_signedTokenHasBeenSet =
true;
95 m_signedToken = std::forward<SignedTokenT>(value);
97 template <
typename SignedTokenT = Aws::String>
109 template <
typename NodeIdT = Aws::String>
111 m_nodeIdHasBeenSet =
true;
112 m_nodeId = std::forward<NodeIdT>(value);
114 template <
typename NodeIdT = Aws::String>
126 template <
typename IssuedAtT = Aws::String>
128 m_issuedAtHasBeenSet =
true;
129 m_issuedAt = std::forward<IssuedAtT>(value);
131 template <
typename IssuedAtT = Aws::String>
143 template <
typename ExpirationT = Aws::String>
145 m_expirationHasBeenSet =
true;
146 m_expiration = std::forward<ExpirationT>(value);
148 template <
typename ExpirationT = Aws::String>
160 template <
typename LicenseArnT = Aws::String>
162 m_licenseArnHasBeenSet =
true;
163 m_licenseArn = std::forward<LicenseArnT>(value);
165 template <
typename LicenseArnT = Aws::String>
175 template <
typename RequestIdT = Aws::String>
177 m_requestIdHasBeenSet =
true;
178 m_requestId = std::forward<RequestIdT>(value);
180 template <
typename RequestIdT = Aws::String>
204 bool m_checkoutTypeHasBeenSet =
false;
205 bool m_licenseConsumptionTokenHasBeenSet =
false;
206 bool m_entitlementsAllowedHasBeenSet =
false;
207 bool m_signedTokenHasBeenSet =
false;
208 bool m_nodeIdHasBeenSet =
false;
209 bool m_issuedAtHasBeenSet =
false;
210 bool m_expirationHasBeenSet =
false;
211 bool m_licenseArnHasBeenSet =
false;
212 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)
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