AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RotateTunnelAccessTokenResult.h
1
6#pragma once
7#include <aws/iotsecuretunneling/IoTSecureTunneling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTSecureTunneling
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOTSECURETUNNELING_API RotateTunnelAccessTokenResult();
33
34
36
39 inline const Aws::String& GetTunnelArn() const{ return m_tunnelArn; }
40 inline void SetTunnelArn(const Aws::String& value) { m_tunnelArn = value; }
41 inline void SetTunnelArn(Aws::String&& value) { m_tunnelArn = std::move(value); }
42 inline void SetTunnelArn(const char* value) { m_tunnelArn.assign(value); }
43 inline RotateTunnelAccessTokenResult& WithTunnelArn(const Aws::String& value) { SetTunnelArn(value); return *this;}
44 inline RotateTunnelAccessTokenResult& WithTunnelArn(Aws::String&& value) { SetTunnelArn(std::move(value)); return *this;}
45 inline RotateTunnelAccessTokenResult& WithTunnelArn(const char* value) { SetTunnelArn(value); return *this;}
47
49
53 inline const Aws::String& GetSourceAccessToken() const{ return m_sourceAccessToken; }
54 inline void SetSourceAccessToken(const Aws::String& value) { m_sourceAccessToken = value; }
55 inline void SetSourceAccessToken(Aws::String&& value) { m_sourceAccessToken = std::move(value); }
56 inline void SetSourceAccessToken(const char* value) { m_sourceAccessToken.assign(value); }
58 inline RotateTunnelAccessTokenResult& WithSourceAccessToken(Aws::String&& value) { SetSourceAccessToken(std::move(value)); return *this;}
59 inline RotateTunnelAccessTokenResult& WithSourceAccessToken(const char* value) { SetSourceAccessToken(value); return *this;}
61
63
67 inline const Aws::String& GetDestinationAccessToken() const{ return m_destinationAccessToken; }
68 inline void SetDestinationAccessToken(const Aws::String& value) { m_destinationAccessToken = value; }
69 inline void SetDestinationAccessToken(Aws::String&& value) { m_destinationAccessToken = std::move(value); }
70 inline void SetDestinationAccessToken(const char* value) { m_destinationAccessToken.assign(value); }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline RotateTunnelAccessTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline RotateTunnelAccessTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline RotateTunnelAccessTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_tunnelArn;
89
90 Aws::String m_sourceAccessToken;
91
92 Aws::String m_destinationAccessToken;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace IoTSecureTunneling
99} // namespace Aws
RotateTunnelAccessTokenResult & WithTunnelArn(const char *value)
RotateTunnelAccessTokenResult & WithDestinationAccessToken(const char *value)
RotateTunnelAccessTokenResult & WithSourceAccessToken(const Aws::String &value)
AWS_IOTSECURETUNNELING_API RotateTunnelAccessTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RotateTunnelAccessTokenResult & WithSourceAccessToken(const char *value)
RotateTunnelAccessTokenResult & WithTunnelArn(const Aws::String &value)
RotateTunnelAccessTokenResult & WithRequestId(const char *value)
RotateTunnelAccessTokenResult & WithTunnelArn(Aws::String &&value)
RotateTunnelAccessTokenResult & WithDestinationAccessToken(const Aws::String &value)
RotateTunnelAccessTokenResult & WithRequestId(const Aws::String &value)
RotateTunnelAccessTokenResult & WithRequestId(Aws::String &&value)
RotateTunnelAccessTokenResult & WithSourceAccessToken(Aws::String &&value)
RotateTunnelAccessTokenResult & WithDestinationAccessToken(Aws::String &&value)
AWS_IOTSECURETUNNELING_API RotateTunnelAccessTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue