7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/CheckoutType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/license-manager/model/EntitlementData.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace LicenseManager
52 template<
typename LicenseConsumptionTokenT = Aws::String>
53 void SetLicenseConsumptionToken(LicenseConsumptionTokenT&& value) { m_licenseConsumptionTokenHasBeenSet =
true; m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value); }
54 template<
typename LicenseConsumptionTokenT = Aws::String>
63 template<
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
64 void SetEntitlementsAllowed(EntitlementsAllowedT&& value) { m_entitlementsAllowedHasBeenSet =
true; m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value); }
65 template<
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
67 template<
typename EntitlementsAllowedT = EntitlementData>
76 template<
typename SignedTokenT = Aws::String>
77 void SetSignedToken(SignedTokenT&& value) { m_signedTokenHasBeenSet =
true; m_signedToken = std::forward<SignedTokenT>(value); }
78 template<
typename SignedTokenT = Aws::String>
87 template<
typename NodeIdT = Aws::String>
88 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet =
true; m_nodeId = std::forward<NodeIdT>(value); }
89 template<
typename NodeIdT = Aws::String>
98 template<
typename IssuedAtT = Aws::String>
99 void SetIssuedAt(IssuedAtT&& value) { m_issuedAtHasBeenSet =
true; m_issuedAt = std::forward<IssuedAtT>(value); }
100 template<
typename IssuedAtT = Aws::String>
109 template<
typename ExpirationT = Aws::String>
110 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet =
true; m_expiration = std::forward<ExpirationT>(value); }
111 template<
typename ExpirationT = Aws::String>
120 template<
typename LicenseArnT = Aws::String>
121 void SetLicenseArn(LicenseArnT&& value) { m_licenseArnHasBeenSet =
true; m_licenseArn = std::forward<LicenseArnT>(value); }
122 template<
typename LicenseArnT = Aws::String>
129 template<
typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
131 template<
typename RequestIdT = Aws::String>
137 bool m_checkoutTypeHasBeenSet =
false;
140 bool m_licenseConsumptionTokenHasBeenSet =
false;
143 bool m_entitlementsAllowedHasBeenSet =
false;
146 bool m_signedTokenHasBeenSet =
false;
149 bool m_nodeIdHasBeenSet =
false;
152 bool m_issuedAtHasBeenSet =
false;
155 bool m_expirationHasBeenSet =
false;
158 bool m_licenseArnHasBeenSet =
false;
161 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