AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenTunnelResult.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 OpenTunnelResult();
33
34
36
39 inline const Aws::String& GetTunnelId() const{ return m_tunnelId; }
40 inline void SetTunnelId(const Aws::String& value) { m_tunnelId = value; }
41 inline void SetTunnelId(Aws::String&& value) { m_tunnelId = std::move(value); }
42 inline void SetTunnelId(const char* value) { m_tunnelId.assign(value); }
43 inline OpenTunnelResult& WithTunnelId(const Aws::String& value) { SetTunnelId(value); return *this;}
44 inline OpenTunnelResult& WithTunnelId(Aws::String&& value) { SetTunnelId(std::move(value)); return *this;}
45 inline OpenTunnelResult& WithTunnelId(const char* value) { SetTunnelId(value); return *this;}
47
49
52 inline const Aws::String& GetTunnelArn() const{ return m_tunnelArn; }
53 inline void SetTunnelArn(const Aws::String& value) { m_tunnelArn = value; }
54 inline void SetTunnelArn(Aws::String&& value) { m_tunnelArn = std::move(value); }
55 inline void SetTunnelArn(const char* value) { m_tunnelArn.assign(value); }
56 inline OpenTunnelResult& WithTunnelArn(const Aws::String& value) { SetTunnelArn(value); return *this;}
57 inline OpenTunnelResult& WithTunnelArn(Aws::String&& value) { SetTunnelArn(std::move(value)); return *this;}
58 inline OpenTunnelResult& WithTunnelArn(const char* value) { SetTunnelArn(value); return *this;}
60
62
66 inline const Aws::String& GetSourceAccessToken() const{ return m_sourceAccessToken; }
67 inline void SetSourceAccessToken(const Aws::String& value) { m_sourceAccessToken = value; }
68 inline void SetSourceAccessToken(Aws::String&& value) { m_sourceAccessToken = std::move(value); }
69 inline void SetSourceAccessToken(const char* value) { m_sourceAccessToken.assign(value); }
70 inline OpenTunnelResult& WithSourceAccessToken(const Aws::String& value) { SetSourceAccessToken(value); return *this;}
71 inline OpenTunnelResult& WithSourceAccessToken(Aws::String&& value) { SetSourceAccessToken(std::move(value)); return *this;}
72 inline OpenTunnelResult& WithSourceAccessToken(const char* value) { SetSourceAccessToken(value); return *this;}
74
76
80 inline const Aws::String& GetDestinationAccessToken() const{ return m_destinationAccessToken; }
81 inline void SetDestinationAccessToken(const Aws::String& value) { m_destinationAccessToken = value; }
82 inline void SetDestinationAccessToken(Aws::String&& value) { m_destinationAccessToken = std::move(value); }
83 inline void SetDestinationAccessToken(const char* value) { m_destinationAccessToken.assign(value); }
85 inline OpenTunnelResult& WithDestinationAccessToken(Aws::String&& value) { SetDestinationAccessToken(std::move(value)); return *this;}
86 inline OpenTunnelResult& WithDestinationAccessToken(const char* value) { SetDestinationAccessToken(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline OpenTunnelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline OpenTunnelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline OpenTunnelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_tunnelId;
102
103 Aws::String m_tunnelArn;
104
105 Aws::String m_sourceAccessToken;
106
107 Aws::String m_destinationAccessToken;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace IoTSecureTunneling
114} // namespace Aws
void SetDestinationAccessToken(const Aws::String &value)
AWS_IOTSECURETUNNELING_API OpenTunnelResult()
OpenTunnelResult & WithSourceAccessToken(const Aws::String &value)
OpenTunnelResult & WithTunnelId(const Aws::String &value)
OpenTunnelResult & WithTunnelArn(const char *value)
AWS_IOTSECURETUNNELING_API OpenTunnelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
OpenTunnelResult & WithSourceAccessToken(Aws::String &&value)
OpenTunnelResult & WithRequestId(const Aws::String &value)
AWS_IOTSECURETUNNELING_API OpenTunnelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
OpenTunnelResult & WithTunnelArn(Aws::String &&value)
OpenTunnelResult & WithDestinationAccessToken(Aws::String &&value)
OpenTunnelResult & WithDestinationAccessToken(const char *value)
const Aws::String & GetDestinationAccessToken() const
OpenTunnelResult & WithSourceAccessToken(const char *value)
OpenTunnelResult & WithRequestId(const char *value)
OpenTunnelResult & WithDestinationAccessToken(const Aws::String &value)
OpenTunnelResult & WithRequestId(Aws::String &&value)
OpenTunnelResult & WithTunnelArn(const Aws::String &value)
OpenTunnelResult & WithTunnelId(Aws::String &&value)
OpenTunnelResult & WithTunnelId(const char *value)
void SetSourceAccessToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue