7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace LicenseManager
49 inline void SetTokenId(
const char* value) { m_tokenIdHasBeenSet =
true; m_tokenId.assign(value); }
64 inline void SetTokenType(
const char* value) { m_tokenTypeHasBeenSet =
true; m_tokenType.assign(value); }
78 inline void SetLicenseArn(
const char* value) { m_licenseArnHasBeenSet =
true; m_licenseArn.assign(value); }
92 inline void SetExpirationTime(
const char* value) { m_expirationTimeHasBeenSet =
true; m_expirationTime.assign(value); }
125 inline TokenData&
AddRoleArns(
const char* value) { m_roleArnsHasBeenSet =
true; m_roleArns.push_back(value);
return *
this; }
137 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
145 bool m_tokenIdHasBeenSet =
false;
148 bool m_tokenTypeHasBeenSet =
false;
151 bool m_licenseArnHasBeenSet =
false;
154 bool m_expirationTimeHasBeenSet =
false;
157 bool m_tokenPropertiesHasBeenSet =
false;
160 bool m_roleArnsHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
void SetTokenId(const Aws::String &value)
TokenData & WithExpirationTime(Aws::String &&value)
void SetExpirationTime(const Aws::String &value)
TokenData & WithTokenId(Aws::String &&value)
bool LicenseArnHasBeenSet() const
const Aws::String & GetExpirationTime() const
const Aws::String & GetTokenType() const
TokenData & WithExpirationTime(const char *value)
bool TokenTypeHasBeenSet() const
void SetStatus(Aws::String &&value)
void SetRoleArns(Aws::Vector< Aws::String > &&value)
TokenData & WithRoleArns(Aws::Vector< Aws::String > &&value)
TokenData & WithTokenId(const char *value)
AWS_LICENSEMANAGER_API TokenData()
TokenData & WithTokenType(const Aws::String &value)
TokenData & AddTokenProperties(const char *value)
const Aws::String & GetTokenId() const
TokenData & WithLicenseArn(const Aws::String &value)
AWS_LICENSEMANAGER_API TokenData(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Aws::String &value)
void SetTokenProperties(Aws::Vector< Aws::String > &&value)
bool ExpirationTimeHasBeenSet() const
bool RoleArnsHasBeenSet() const
bool StatusHasBeenSet() const
TokenData & WithTokenId(const Aws::String &value)
AWS_LICENSEMANAGER_API TokenData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTokenProperties() const
TokenData & WithLicenseArn(Aws::String &&value)
TokenData & WithTokenProperties(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRoleArns() const
void SetTokenType(Aws::String &&value)
TokenData & WithExpirationTime(const Aws::String &value)
void SetLicenseArn(Aws::String &&value)
void SetExpirationTime(const char *value)
void SetTokenId(const char *value)
void SetRoleArns(const Aws::Vector< Aws::String > &value)
TokenData & AddTokenProperties(const Aws::String &value)
bool TokenPropertiesHasBeenSet() const
TokenData & AddRoleArns(Aws::String &&value)
TokenData & AddRoleArns(const Aws::String &value)
bool TokenIdHasBeenSet() const
void SetTokenProperties(const Aws::Vector< Aws::String > &value)
void SetLicenseArn(const char *value)
void SetTokenId(Aws::String &&value)
TokenData & AddRoleArns(const char *value)
const Aws::String & GetLicenseArn() const
TokenData & WithStatus(const char *value)
TokenData & WithTokenType(const char *value)
TokenData & WithRoleArns(const Aws::Vector< Aws::String > &value)
TokenData & WithStatus(Aws::String &&value)
void SetLicenseArn(const Aws::String &value)
void SetTokenType(const char *value)
const Aws::String & GetStatus() const
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
TokenData & WithTokenProperties(const Aws::Vector< Aws::String > &value)
TokenData & WithStatus(const Aws::String &value)
void SetExpirationTime(Aws::String &&value)
TokenData & WithTokenType(Aws::String &&value)
void SetTokenType(const Aws::String &value)
TokenData & WithLicenseArn(const char *value)
void SetStatus(const char *value)
TokenData & AddTokenProperties(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue