AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateOutboundConnectionResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/DomainInformationContainer.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/OutboundConnectionStatus.h>
11#include <aws/opensearch/model/ConnectionMode.h>
12#include <aws/opensearch/model/ConnectionProperties.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace OpenSearchService
28{
29namespace Model
30{
39 {
40 public:
41 AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult();
44
45
47
50 inline const DomainInformationContainer& GetLocalDomainInfo() const{ return m_localDomainInfo; }
51 inline void SetLocalDomainInfo(const DomainInformationContainer& value) { m_localDomainInfo = value; }
52 inline void SetLocalDomainInfo(DomainInformationContainer&& value) { m_localDomainInfo = std::move(value); }
56
58
61 inline const DomainInformationContainer& GetRemoteDomainInfo() const{ return m_remoteDomainInfo; }
62 inline void SetRemoteDomainInfo(const DomainInformationContainer& value) { m_remoteDomainInfo = value; }
63 inline void SetRemoteDomainInfo(DomainInformationContainer&& value) { m_remoteDomainInfo = std::move(value); }
67
69
72 inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
73 inline void SetConnectionAlias(const Aws::String& value) { m_connectionAlias = value; }
74 inline void SetConnectionAlias(Aws::String&& value) { m_connectionAlias = std::move(value); }
75 inline void SetConnectionAlias(const char* value) { m_connectionAlias.assign(value); }
77 inline CreateOutboundConnectionResult& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;}
78 inline CreateOutboundConnectionResult& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
80
82
85 inline const OutboundConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
86 inline void SetConnectionStatus(const OutboundConnectionStatus& value) { m_connectionStatus = value; }
87 inline void SetConnectionStatus(OutboundConnectionStatus&& value) { m_connectionStatus = std::move(value); }
91
93
97 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
98 inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; }
99 inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); }
100 inline void SetConnectionId(const char* value) { m_connectionId.assign(value); }
101 inline CreateOutboundConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
102 inline CreateOutboundConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
103 inline CreateOutboundConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
105
107
110 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
111 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionMode = value; }
112 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionMode = std::move(value); }
114 inline CreateOutboundConnectionResult& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
116
118
121 inline const ConnectionProperties& GetConnectionProperties() const{ return m_connectionProperties; }
122 inline void SetConnectionProperties(const ConnectionProperties& value) { m_connectionProperties = value; }
123 inline void SetConnectionProperties(ConnectionProperties&& value) { m_connectionProperties = std::move(value); }
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline CreateOutboundConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline CreateOutboundConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline CreateOutboundConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 DomainInformationContainer m_localDomainInfo;
141
142 DomainInformationContainer m_remoteDomainInfo;
143
144 Aws::String m_connectionAlias;
145
146 OutboundConnectionStatus m_connectionStatus;
147
148 Aws::String m_connectionId;
149
150 ConnectionMode m_connectionMode;
151
152 ConnectionProperties m_connectionProperties;
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace OpenSearchService
159} // namespace Aws
CreateOutboundConnectionResult & WithConnectionStatus(const OutboundConnectionStatus &value)
CreateOutboundConnectionResult & WithConnectionAlias(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOutboundConnectionResult & WithRemoteDomainInfo(const DomainInformationContainer &value)
CreateOutboundConnectionResult & WithConnectionStatus(OutboundConnectionStatus &&value)
CreateOutboundConnectionResult & WithConnectionAlias(const Aws::String &value)
CreateOutboundConnectionResult & WithLocalDomainInfo(DomainInformationContainer &&value)
CreateOutboundConnectionResult & WithConnectionProperties(ConnectionProperties &&value)
CreateOutboundConnectionResult & WithConnectionId(const char *value)
CreateOutboundConnectionResult & WithRequestId(Aws::String &&value)
CreateOutboundConnectionResult & WithRequestId(const Aws::String &value)
CreateOutboundConnectionResult & WithConnectionId(const Aws::String &value)
CreateOutboundConnectionResult & WithConnectionId(Aws::String &&value)
CreateOutboundConnectionResult & WithConnectionProperties(const ConnectionProperties &value)
CreateOutboundConnectionResult & WithLocalDomainInfo(const DomainInformationContainer &value)
CreateOutboundConnectionResult & WithRequestId(const char *value)
CreateOutboundConnectionResult & WithRemoteDomainInfo(DomainInformationContainer &&value)
CreateOutboundConnectionResult & WithConnectionMode(ConnectionMode &&value)
CreateOutboundConnectionResult & WithConnectionAlias(const char *value)
CreateOutboundConnectionResult & WithConnectionMode(const ConnectionMode &value)
AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult(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