7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/LicenseManagerRequest.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/GrantStatus.h>
12#include <aws/license-manager/model/Options.h>
13#include <aws/license-manager/model/AllowedOperation.h>
18namespace LicenseManager
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<
typename ClientTokenT = Aws::String>
60 template<
typename GrantArnT = Aws::String>
61 void SetGrantArn(GrantArnT&& value) { m_grantArnHasBeenSet =
true; m_grantArn = std::forward<GrantArnT>(value); }
62 template<
typename GrantArnT = Aws::String>
72 template<
typename GrantNameT = Aws::String>
73 void SetGrantName(GrantNameT&& value) { m_grantNameHasBeenSet =
true; m_grantName = std::forward<GrantNameT>(value); }
74 template<
typename GrantNameT = Aws::String>
84 template<
typename AllowedOperationsT = Aws::Vector<AllowedOperation>>
85 void SetAllowedOperations(AllowedOperationsT&& value) { m_allowedOperationsHasBeenSet =
true; m_allowedOperations = std::forward<AllowedOperationsT>(value); }
86 template<
typename AllowedOperationsT = Aws::Vector<AllowedOperation>>
107 template<
typename StatusReasonT = Aws::String>
108 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
109 template<
typename StatusReasonT = Aws::String>
119 template<
typename SourceVersionT = Aws::String>
120 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
121 template<
typename SourceVersionT = Aws::String>
131 template<
typename OptionsT = Options>
132 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
133 template<
typename OptionsT = Options>
139 bool m_clientTokenHasBeenSet =
false;
142 bool m_grantArnHasBeenSet =
false;
145 bool m_grantNameHasBeenSet =
false;
148 bool m_allowedOperationsHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
154 bool m_statusReasonHasBeenSet =
false;
157 bool m_sourceVersionHasBeenSet =
false;
160 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