7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/TokenType.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace LicenseManager {
36 template <
typename TokenIdT = Aws::String>
38 m_tokenIdHasBeenSet =
true;
39 m_tokenId = std::forward<TokenIdT>(value);
41 template <
typename TokenIdT = Aws::String>
54 m_tokenTypeHasBeenSet =
true;
68 template <
typename TokenT = Aws::String>
70 m_tokenHasBeenSet =
true;
71 m_token = std::forward<TokenT>(value);
73 template <
typename TokenT = Aws::String>
75 SetToken(std::forward<TokenT>(value));
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
105 bool m_tokenIdHasBeenSet =
false;
106 bool m_tokenTypeHasBeenSet =
false;
107 bool m_tokenHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
CreateTokenResult & WithRequestId(RequestIdT &&value)
TokenType GetTokenType() const
void SetRequestId(RequestIdT &&value)
void SetTokenType(TokenType value)
AWS_LICENSEMANAGER_API CreateTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithTokenType(TokenType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LICENSEMANAGER_API CreateTokenResult()=default
CreateTokenResult & WithToken(TokenT &&value)
const Aws::String & GetTokenId() const
AWS_LICENSEMANAGER_API CreateTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithTokenId(TokenIdT &&value)
const Aws::String & GetRequestId() const
void SetTokenId(TokenIdT &&value)
void SetToken(TokenT &&value)
const Aws::String & GetToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue