7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
20namespace LicenseManager {
41 template <
typename TokenIdT = Aws::String>
43 m_tokenIdHasBeenSet =
true;
44 m_tokenId = std::forward<TokenIdT>(value);
46 template <
typename TokenIdT = Aws::String>
60 template <
typename TokenTypeT = Aws::String>
62 m_tokenTypeHasBeenSet =
true;
63 m_tokenType = std::forward<TokenTypeT>(value);
65 template <
typename TokenTypeT = Aws::String>
78 template <
typename LicenseArnT = Aws::String>
80 m_licenseArnHasBeenSet =
true;
81 m_licenseArn = std::forward<LicenseArnT>(value);
83 template <
typename LicenseArnT = Aws::String>
96 template <
typename ExpirationTimeT = Aws::String>
98 m_expirationTimeHasBeenSet =
true;
99 m_expirationTime = std::forward<ExpirationTimeT>(value);
101 template <
typename ExpirationTimeT = Aws::String>
114 template <
typename TokenPropertiesT = Aws::Vector<Aws::String>>
116 m_tokenPropertiesHasBeenSet =
true;
117 m_tokenProperties = std::forward<TokenPropertiesT>(value);
119 template <
typename TokenPropertiesT = Aws::Vector<Aws::String>>
124 template <
typename TokenPropertiesT = Aws::String>
126 m_tokenPropertiesHasBeenSet =
true;
127 m_tokenProperties.emplace_back(std::forward<TokenPropertiesT>(value));
138 template <
typename RoleArnsT = Aws::Vector<Aws::String>>
140 m_roleArnsHasBeenSet =
true;
141 m_roleArns = std::forward<RoleArnsT>(value);
143 template <
typename RoleArnsT = Aws::Vector<Aws::String>>
148 template <
typename RoleArnsT = Aws::String>
150 m_roleArnsHasBeenSet =
true;
151 m_roleArns.emplace_back(std::forward<RoleArnsT>(value));
163 template <
typename StatusT = Aws::String>
165 m_statusHasBeenSet =
true;
166 m_status = std::forward<StatusT>(value);
168 template <
typename StatusT = Aws::String>
188 bool m_tokenIdHasBeenSet =
false;
189 bool m_tokenTypeHasBeenSet =
false;
190 bool m_licenseArnHasBeenSet =
false;
191 bool m_expirationTimeHasBeenSet =
false;
192 bool m_tokenPropertiesHasBeenSet =
false;
193 bool m_roleArnsHasBeenSet =
false;
194 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