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/AllowedOperation.h>
16namespace LicenseManager
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
62 inline void SetGrantName(
const char* value) { m_grantNameHasBeenSet =
true; m_grantName.assign(value); }
76 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
110 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
132 bool m_clientTokenHasBeenSet =
false;
135 bool m_grantNameHasBeenSet =
false;
138 bool m_licenseArnHasBeenSet =
false;
141 bool m_principalsHasBeenSet =
false;
144 bool m_homeRegionHasBeenSet =
false;
147 bool m_allowedOperationsHasBeenSet =
false;
bool GrantNameHasBeenSet() const
void SetLicenseArn(const Aws::String &value)
bool HomeRegionHasBeenSet() const
void SetHomeRegion(const Aws::String &value)
void SetGrantName(const char *value)
CreateGrantRequest & WithClientToken(Aws::String &&value)
void SetLicenseArn(Aws::String &&value)
CreateGrantRequest & AddPrincipals(const char *value)
void SetPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::Vector< AllowedOperation > & GetAllowedOperations() const
CreateGrantRequest & AddPrincipals(const Aws::String &value)
CreateGrantRequest & WithPrincipals(Aws::Vector< Aws::String > &&value)
CreateGrantRequest & WithAllowedOperations(Aws::Vector< AllowedOperation > &&value)
virtual const char * GetServiceRequestName() const override
CreateGrantRequest & WithHomeRegion(Aws::String &&value)
CreateGrantRequest & WithLicenseArn(const Aws::String &value)
const Aws::String & GetHomeRegion() const
bool ClientTokenHasBeenSet() const
CreateGrantRequest & WithLicenseArn(const char *value)
const Aws::String & GetGrantName() const
CreateGrantRequest & WithGrantName(const char *value)
void SetAllowedOperations(const Aws::Vector< AllowedOperation > &value)
void SetGrantName(const Aws::String &value)
CreateGrantRequest & WithHomeRegion(const Aws::String &value)
bool LicenseArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetPrincipals() const
void SetLicenseArn(const char *value)
CreateGrantRequest & AddAllowedOperations(const AllowedOperation &value)
bool PrincipalsHasBeenSet() const
void SetClientToken(const char *value)
CreateGrantRequest & WithClientToken(const char *value)
CreateGrantRequest & WithClientToken(const Aws::String &value)
AWS_LICENSEMANAGER_API CreateGrantRequest()
CreateGrantRequest & AddPrincipals(Aws::String &&value)
void SetHomeRegion(const char *value)
void SetPrincipals(const Aws::Vector< Aws::String > &value)
void SetClientToken(const Aws::String &value)
void SetHomeRegion(Aws::String &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetGrantName(Aws::String &&value)
CreateGrantRequest & WithGrantName(Aws::String &&value)
const Aws::String & GetClientToken() const
CreateGrantRequest & WithAllowedOperations(const Aws::Vector< AllowedOperation > &value)
CreateGrantRequest & WithPrincipals(const Aws::Vector< Aws::String > &value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
void SetAllowedOperations(Aws::Vector< AllowedOperation > &&value)
CreateGrantRequest & WithHomeRegion(const char *value)
CreateGrantRequest & AddAllowedOperations(AllowedOperation &&value)
bool AllowedOperationsHasBeenSet() const
const Aws::String & GetLicenseArn() const
CreateGrantRequest & WithLicenseArn(Aws::String &&value)
CreateGrantRequest & WithGrantName(const Aws::String &value)
void SetClientToken(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