AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DescribeOutboundConnectionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/OutboundConnection.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace OpenSearchService {
25namespace Model {
33 public:
34 AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult() = default;
36 AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult& operator=(
38
40
43 inline const Aws::Vector<OutboundConnection>& GetConnections() const { return m_connections; }
44 template <typename ConnectionsT = Aws::Vector<OutboundConnection>>
45 void SetConnections(ConnectionsT&& value) {
46 m_connectionsHasBeenSet = true;
47 m_connections = std::forward<ConnectionsT>(value);
48 }
49 template <typename ConnectionsT = Aws::Vector<OutboundConnection>>
51 SetConnections(std::forward<ConnectionsT>(value));
52 return *this;
53 }
54 template <typename ConnectionsT = OutboundConnection>
56 m_connectionsHasBeenSet = true;
57 m_connections.emplace_back(std::forward<ConnectionsT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 template <typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) {
71 m_nextTokenHasBeenSet = true;
72 m_nextToken = std::forward<NextTokenT>(value);
73 }
74 template <typename NextTokenT = Aws::String>
76 SetNextToken(std::forward<NextTokenT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
99
100 Aws::String m_nextToken;
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_connectionsHasBeenSet = false;
105 bool m_nextTokenHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace OpenSearchService
111} // namespace Aws
DescribeOutboundConnectionsResult & WithRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOutboundConnectionsResult & WithConnections(ConnectionsT &&value)
DescribeOutboundConnectionsResult & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult()=default
DescribeOutboundConnectionsResult & AddConnections(ConnectionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue