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
47 template<
typename TokenIdT = Aws::String>
48 void SetTokenId(TokenIdT&& value) { m_tokenIdHasBeenSet =
true; m_tokenId = std::forward<TokenIdT>(value); }
49 template<
typename TokenIdT = Aws::String>
60 template<
typename TokenTypeT = Aws::String>
61 void SetTokenType(TokenTypeT&& value) { m_tokenTypeHasBeenSet =
true; m_tokenType = std::forward<TokenTypeT>(value); }
62 template<
typename TokenTypeT = Aws::String>
72 template<
typename LicenseArnT = Aws::String>
73 void SetLicenseArn(LicenseArnT&& value) { m_licenseArnHasBeenSet =
true; m_licenseArn = std::forward<LicenseArnT>(value); }
74 template<
typename LicenseArnT = Aws::String>
84 template<
typename ExpirationTimeT = Aws::String>
85 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet =
true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
86 template<
typename ExpirationTimeT = Aws::String>
96 template<
typename TokenPropertiesT = Aws::Vector<Aws::String>>
97 void SetTokenProperties(TokenPropertiesT&& value) { m_tokenPropertiesHasBeenSet =
true; m_tokenProperties = std::forward<TokenPropertiesT>(value); }
98 template<
typename TokenPropertiesT = Aws::Vector<Aws::String>>
100 template<
typename TokenPropertiesT = Aws::String>
101 TokenData&
AddTokenProperties(TokenPropertiesT&& value) { m_tokenPropertiesHasBeenSet =
true; m_tokenProperties.emplace_back(std::forward<TokenPropertiesT>(value));
return *
this; }
110 template<
typename RoleArnsT = Aws::Vector<Aws::String>>
111 void SetRoleArns(RoleArnsT&& value) { m_roleArnsHasBeenSet =
true; m_roleArns = std::forward<RoleArnsT>(value); }
112 template<
typename RoleArnsT = Aws::Vector<Aws::String>>
114 template<
typename RoleArnsT = Aws::String>
115 TokenData&
AddRoleArns(RoleArnsT&& value) { m_roleArnsHasBeenSet =
true; m_roleArns.emplace_back(std::forward<RoleArnsT>(value));
return *
this; }
125 template<
typename StatusT = Aws::String>
126 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
127 template<
typename StatusT = Aws::String>
133 bool m_tokenIdHasBeenSet =
false;
136 bool m_tokenTypeHasBeenSet =
false;
139 bool m_licenseArnHasBeenSet =
false;
142 bool m_expirationTimeHasBeenSet =
false;
145 bool m_tokenPropertiesHasBeenSet =
false;
148 bool m_roleArnsHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
bool LicenseArnHasBeenSet() const
void SetTokenType(TokenTypeT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetExpirationTime() const
const Aws::String & GetTokenType() const
bool TokenTypeHasBeenSet() const
const Aws::String & GetTokenId() const
TokenData & WithRoleArns(RoleArnsT &&value)
AWS_LICENSEMANAGER_API TokenData(Aws::Utils::Json::JsonView jsonValue)
TokenData & WithTokenProperties(TokenPropertiesT &&value)
bool ExpirationTimeHasBeenSet() const
bool RoleArnsHasBeenSet() const
bool StatusHasBeenSet() const
TokenData & WithTokenType(TokenTypeT &&value)
AWS_LICENSEMANAGER_API TokenData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTokenProperties() const
const Aws::Vector< Aws::String > & GetRoleArns() const
void SetTokenId(TokenIdT &&value)
TokenData & WithStatus(StatusT &&value)
bool TokenPropertiesHasBeenSet() const
bool TokenIdHasBeenSet() const
TokenData & AddTokenProperties(TokenPropertiesT &&value)
const Aws::String & GetLicenseArn() const
TokenData & WithExpirationTime(ExpirationTimeT &&value)
TokenData & WithLicenseArn(LicenseArnT &&value)
void SetRoleArns(RoleArnsT &&value)
void SetTokenProperties(TokenPropertiesT &&value)
TokenData & WithTokenId(TokenIdT &&value)
const Aws::String & GetStatus() const
void SetExpirationTime(ExpirationTimeT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLicenseArn(LicenseArnT &&value)
TokenData & AddRoleArns(RoleArnsT &&value)
AWS_LICENSEMANAGER_API TokenData()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue