7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManagerRequest.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/AllowedOperation.h>
12#include <aws/license-manager/model/GrantStatus.h>
13#include <aws/license-manager/model/Options.h>
18namespace LicenseManager {
44 template <
typename ClientTokenT = Aws::String>
46 m_clientTokenHasBeenSet =
true;
47 m_clientToken = std::forward<ClientTokenT>(value);
49 template <
typename ClientTokenT = Aws::String>
62 template <
typename GrantArnT = Aws::String>
64 m_grantArnHasBeenSet =
true;
65 m_grantArn = std::forward<GrantArnT>(value);
67 template <
typename GrantArnT = Aws::String>
80 template <
typename GrantNameT = Aws::String>
82 m_grantNameHasBeenSet =
true;
83 m_grantName = std::forward<GrantNameT>(value);
85 template <
typename GrantNameT = Aws::String>
98 template <
typename AllowedOperationsT = Aws::Vector<AllowedOperation>>
100 m_allowedOperationsHasBeenSet =
true;
101 m_allowedOperations = std::forward<AllowedOperationsT>(value);
103 template <
typename AllowedOperationsT = Aws::Vector<AllowedOperation>>
109 m_allowedOperationsHasBeenSet =
true;
110 m_allowedOperations.push_back(value);
122 m_statusHasBeenSet =
true;
137 template <
typename StatusReasonT = Aws::String>
139 m_statusReasonHasBeenSet =
true;
140 m_statusReason = std::forward<StatusReasonT>(value);
142 template <
typename StatusReasonT = Aws::String>
155 template <
typename SourceVersionT = Aws::String>
157 m_sourceVersionHasBeenSet =
true;
158 m_sourceVersion = std::forward<SourceVersionT>(value);
160 template <
typename SourceVersionT = Aws::String>
173 template <
typename OptionsT = Options>
175 m_optionsHasBeenSet =
true;
176 m_options = std::forward<OptionsT>(value);
178 template <
typename OptionsT = Options>
200 bool m_clientTokenHasBeenSet =
false;
201 bool m_grantArnHasBeenSet =
false;
202 bool m_grantNameHasBeenSet =
false;
203 bool m_allowedOperationsHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_statusReasonHasBeenSet =
false;
206 bool m_sourceVersionHasBeenSet =
false;
207 bool m_optionsHasBeenSet =
false;
const Aws::String & GetGrantArn() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
CreateGrantVersionRequest & WithGrantName(GrantNameT &&value)
virtual const char * GetServiceRequestName() const override
const Options & GetOptions() const
CreateGrantVersionRequest & AddAllowedOperations(AllowedOperation value)
void SetOptions(OptionsT &&value)
bool OptionsHasBeenSet() const
void SetStatusReason(StatusReasonT &&value)
AWS_LICENSEMANAGER_API CreateGrantVersionRequest()=default
CreateGrantVersionRequest & WithStatusReason(StatusReasonT &&value)
void SetGrantName(GrantNameT &&value)
const Aws::String & GetGrantName() const
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateGrantVersionRequest & WithOptions(OptionsT &&value)
CreateGrantVersionRequest & WithSourceVersion(SourceVersionT &&value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
CreateGrantVersionRequest & WithClientToken(ClientTokenT &&value)
bool GrantNameHasBeenSet() const
bool AllowedOperationsHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Vector< AllowedOperation > & GetAllowedOperations() const
CreateGrantVersionRequest & WithStatus(GrantStatus value)
void SetSourceVersion(SourceVersionT &&value)
GrantStatus GetStatus() const
const Aws::String & GetStatusReason() const
bool SourceVersionHasBeenSet() const
CreateGrantVersionRequest & WithGrantArn(GrantArnT &&value)
CreateGrantVersionRequest & WithAllowedOperations(AllowedOperationsT &&value)
const Aws::String & GetClientToken() const
bool GrantArnHasBeenSet() const
const Aws::String & GetSourceVersion() const
void SetStatus(GrantStatus value)
bool StatusReasonHasBeenSet() const
void SetGrantArn(GrantArnT &&value)
void SetAllowedOperations(AllowedOperationsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector