7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/license-manager/model/EntitlementData.h>
11#include <aws/license-manager/model/Metadata.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace LicenseManager
43 template<
typename LicenseArnT = Aws::String>
44 void SetLicenseArn(LicenseArnT&& value) { m_licenseArnHasBeenSet =
true; m_licenseArn = std::forward<LicenseArnT>(value); }
45 template<
typename LicenseArnT = Aws::String>
54 template<
typename LicenseConsumptionTokenT = Aws::String>
55 void SetLicenseConsumptionToken(LicenseConsumptionTokenT&& value) { m_licenseConsumptionTokenHasBeenSet =
true; m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value); }
56 template<
typename LicenseConsumptionTokenT = Aws::String>
65 template<
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
66 void SetEntitlementsAllowed(EntitlementsAllowedT&& value) { m_entitlementsAllowedHasBeenSet =
true; m_entitlementsAllowed = std::forward<EntitlementsAllowedT>(value); }
67 template<
typename EntitlementsAllowedT = Aws::Vector<EntitlementData>>
69 template<
typename EntitlementsAllowedT = EntitlementData>
78 template<
typename NodeIdT = Aws::String>
79 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet =
true; m_nodeId = std::forward<NodeIdT>(value); }
80 template<
typename NodeIdT = Aws::String>
89 template<
typename SignedTokenT = Aws::String>
90 void SetSignedToken(SignedTokenT&& value) { m_signedTokenHasBeenSet =
true; m_signedToken = std::forward<SignedTokenT>(value); }
91 template<
typename SignedTokenT = Aws::String>
100 template<
typename IssuedAtT = Aws::String>
101 void SetIssuedAt(IssuedAtT&& value) { m_issuedAtHasBeenSet =
true; m_issuedAt = std::forward<IssuedAtT>(value); }
102 template<
typename IssuedAtT = Aws::String>
111 template<
typename ExpirationT = Aws::String>
112 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet =
true; m_expiration = std::forward<ExpirationT>(value); }
113 template<
typename ExpirationT = Aws::String>
122 template<
typename CheckoutMetadataT = Aws::Vector<Metadata>>
123 void SetCheckoutMetadata(CheckoutMetadataT&& value) { m_checkoutMetadataHasBeenSet =
true; m_checkoutMetadata = std::forward<CheckoutMetadataT>(value); }
124 template<
typename CheckoutMetadataT = Aws::Vector<Metadata>>
126 template<
typename CheckoutMetadataT = Metadata>
133 template<
typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
135 template<
typename RequestIdT = Aws::String>
141 bool m_licenseArnHasBeenSet =
false;
144 bool m_licenseConsumptionTokenHasBeenSet =
false;
147 bool m_entitlementsAllowedHasBeenSet =
false;
150 bool m_nodeIdHasBeenSet =
false;
153 bool m_signedTokenHasBeenSet =
false;
156 bool m_issuedAtHasBeenSet =
false;
159 bool m_expirationHasBeenSet =
false;
162 bool m_checkoutMetadataHasBeenSet =
false;
165 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