AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTokenResult.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/TokenType.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LicenseManager
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LICENSEMANAGER_API CreateTokenResult();
34
35
37
40 inline const Aws::String& GetTokenId() const{ return m_tokenId; }
41 inline void SetTokenId(const Aws::String& value) { m_tokenId = value; }
42 inline void SetTokenId(Aws::String&& value) { m_tokenId = std::move(value); }
43 inline void SetTokenId(const char* value) { m_tokenId.assign(value); }
44 inline CreateTokenResult& WithTokenId(const Aws::String& value) { SetTokenId(value); return *this;}
45 inline CreateTokenResult& WithTokenId(Aws::String&& value) { SetTokenId(std::move(value)); return *this;}
46 inline CreateTokenResult& WithTokenId(const char* value) { SetTokenId(value); return *this;}
48
50
53 inline const TokenType& GetTokenType() const{ return m_tokenType; }
54 inline void SetTokenType(const TokenType& value) { m_tokenType = value; }
55 inline void SetTokenType(TokenType&& value) { m_tokenType = std::move(value); }
56 inline CreateTokenResult& WithTokenType(const TokenType& value) { SetTokenType(value); return *this;}
57 inline CreateTokenResult& WithTokenType(TokenType&& value) { SetTokenType(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetToken() const{ return m_token; }
65 inline void SetToken(const Aws::String& value) { m_token = value; }
66 inline void SetToken(Aws::String&& value) { m_token = std::move(value); }
67 inline void SetToken(const char* value) { m_token.assign(value); }
68 inline CreateTokenResult& WithToken(const Aws::String& value) { SetToken(value); return *this;}
69 inline CreateTokenResult& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
70 inline CreateTokenResult& WithToken(const char* value) { SetToken(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_tokenId;
86
87 TokenType m_tokenType;
88
89 Aws::String m_token;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace LicenseManager
96} // namespace Aws
CreateTokenResult & WithTokenType(TokenType &&value)
CreateTokenResult & WithToken(const Aws::String &value)
CreateTokenResult & WithRequestId(const char *value)
CreateTokenResult & WithToken(Aws::String &&value)
CreateTokenResult & WithRequestId(Aws::String &&value)
CreateTokenResult & WithTokenType(const TokenType &value)
AWS_LICENSEMANAGER_API CreateTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithTokenId(Aws::String &&value)
CreateTokenResult & WithTokenId(const Aws::String &value)
AWS_LICENSEMANAGER_API CreateTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithTokenId(const char *value)
CreateTokenResult & WithToken(const char *value)
CreateTokenResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue