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>
15namespace LicenseManager
47 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
76 inline void SetExpirationInDays(
int value) { m_expirationInDaysHasBeenSet =
true; m_expirationInDays = value; }
104 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
112 bool m_licenseArnHasBeenSet =
false;
115 bool m_roleArnsHasBeenSet =
false;
117 int m_expirationInDays;
118 bool m_expirationInDaysHasBeenSet =
false;
121 bool m_tokenPropertiesHasBeenSet =
false;
124 bool m_clientTokenHasBeenSet =
false;
CreateTokenRequest & WithClientToken(const Aws::String &value)
void SetExpirationInDays(int value)
CreateTokenRequest & WithRoleArns(Aws::Vector< Aws::String > &&value)
void SetTokenProperties(const Aws::Vector< Aws::String > &value)
CreateTokenRequest & WithLicenseArn(Aws::String &&value)
void SetLicenseArn(const char *value)
CreateTokenRequest & WithRoleArns(const Aws::Vector< Aws::String > &value)
CreateTokenRequest & WithLicenseArn(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetClientToken(const char *value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
bool RoleArnsHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_LICENSEMANAGER_API CreateTokenRequest()
CreateTokenRequest & AddRoleArns(const char *value)
const Aws::Vector< Aws::String > & GetTokenProperties() const
int GetExpirationInDays() const
bool LicenseArnHasBeenSet() const
bool ExpirationInDaysHasBeenSet() const
CreateTokenRequest & AddTokenProperties(Aws::String &&value)
bool TokenPropertiesHasBeenSet() const
CreateTokenRequest & WithExpirationInDays(int value)
virtual const char * GetServiceRequestName() const override
CreateTokenRequest & AddRoleArns(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRoleArns() const
CreateTokenRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetLicenseArn() const
CreateTokenRequest & AddRoleArns(Aws::String &&value)
CreateTokenRequest & WithTokenProperties(const Aws::Vector< Aws::String > &value)
void SetLicenseArn(Aws::String &&value)
void SetLicenseArn(const Aws::String &value)
CreateTokenRequest & WithClientToken(const char *value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTokenRequest & AddTokenProperties(const char *value)
CreateTokenRequest & WithTokenProperties(Aws::Vector< Aws::String > &&value)
void SetRoleArns(const Aws::Vector< Aws::String > &value)
void SetClientToken(Aws::String &&value)
void SetTokenProperties(Aws::Vector< Aws::String > &&value)
void SetRoleArns(Aws::Vector< Aws::String > &&value)
CreateTokenRequest & AddTokenProperties(const Aws::String &value)
CreateTokenRequest & WithLicenseArn(const char *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