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
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
64 inline void SetGrantArn(
const char* value) { m_grantArnHasBeenSet =
true; m_grantArn.assign(value); }
78 inline void SetGrantName(
const char* value) { m_grantNameHasBeenSet =
true; m_grantName.assign(value); }
118 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
132 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
145 inline void SetOptions(
Options&& value) { m_optionsHasBeenSet =
true; m_options = std::move(value); }
152 bool m_clientTokenHasBeenSet =
false;
155 bool m_grantArnHasBeenSet =
false;
158 bool m_grantNameHasBeenSet =
false;
161 bool m_allowedOperationsHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
167 bool m_statusReasonHasBeenSet =
false;
170 bool m_sourceVersionHasBeenSet =
false;
173 bool m_optionsHasBeenSet =
false;
CreateGrantVersionRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetGrantArn() const
void SetAllowedOperations(Aws::Vector< AllowedOperation > &&value)
void SetStatus(const GrantStatus &value)
CreateGrantVersionRequest & WithStatus(const GrantStatus &value)
bool ClientTokenHasBeenSet() const
CreateGrantVersionRequest & WithStatusReason(const char *value)
CreateGrantVersionRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const char *value)
AWS_LICENSEMANAGER_API CreateGrantVersionRequest()
CreateGrantVersionRequest & AddAllowedOperations(AllowedOperation &&value)
CreateGrantVersionRequest & WithStatusReason(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Options & GetOptions() const
CreateGrantVersionRequest & WithOptions(const Options &value)
void SetGrantName(const char *value)
CreateGrantVersionRequest & WithClientToken(const char *value)
void SetGrantArn(const char *value)
void SetClientToken(const Aws::String &value)
void SetGrantArn(const Aws::String &value)
bool OptionsHasBeenSet() const
CreateGrantVersionRequest & WithStatus(GrantStatus &&value)
void SetOptions(const Options &value)
CreateGrantVersionRequest & WithGrantArn(const char *value)
CreateGrantVersionRequest & WithGrantArn(const Aws::String &value)
void SetGrantArn(Aws::String &&value)
void SetGrantName(Aws::String &&value)
CreateGrantVersionRequest & AddAllowedOperations(const AllowedOperation &value)
const Aws::String & GetGrantName() const
void SetStatusReason(Aws::String &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSourceVersion(const Aws::String &value)
const GrantStatus & GetStatus() const
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
CreateGrantVersionRequest & WithAllowedOperations(const Aws::Vector< AllowedOperation > &value)
void SetStatus(GrantStatus &&value)
CreateGrantVersionRequest & WithGrantArn(Aws::String &&value)
bool GrantNameHasBeenSet() const
void SetSourceVersion(Aws::String &&value)
void SetGrantName(const Aws::String &value)
bool AllowedOperationsHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Vector< AllowedOperation > & GetAllowedOperations() const
CreateGrantVersionRequest & WithAllowedOperations(Aws::Vector< AllowedOperation > &&value)
void SetSourceVersion(const char *value)
CreateGrantVersionRequest & WithOptions(Options &&value)
void SetOptions(Options &&value)
void SetStatusReason(const Aws::String &value)
CreateGrantVersionRequest & WithGrantName(const Aws::String &value)
const Aws::String & GetStatusReason() const
bool SourceVersionHasBeenSet() const
const Aws::String & GetClientToken() const
CreateGrantVersionRequest & WithSourceVersion(const char *value)
bool GrantArnHasBeenSet() const
CreateGrantVersionRequest & WithGrantName(Aws::String &&value)
const Aws::String & GetSourceVersion() const
void SetClientToken(Aws::String &&value)
bool StatusReasonHasBeenSet() const
CreateGrantVersionRequest & WithSourceVersion(const Aws::String &value)
void SetStatusReason(const char *value)
void SetAllowedOperations(const Aws::Vector< AllowedOperation > &value)
CreateGrantVersionRequest & WithGrantName(const char *value)
CreateGrantVersionRequest & WithSourceVersion(Aws::String &&value)
CreateGrantVersionRequest & WithStatusReason(Aws::String &&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