AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeOutboundConnectionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/OutboundConnection.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService {
24namespace Model {
32 public:
33 AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult() = default;
35 AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult& operator=(
37
39
42 inline const Aws::Vector<OutboundConnection>& GetConnections() const { return m_connections; }
43 template <typename ConnectionsT = Aws::Vector<OutboundConnection>>
44 void SetConnections(ConnectionsT&& value) {
45 m_connectionsHasBeenSet = true;
46 m_connections = std::forward<ConnectionsT>(value);
47 }
48 template <typename ConnectionsT = Aws::Vector<OutboundConnection>>
50 SetConnections(std::forward<ConnectionsT>(value));
51 return *this;
52 }
53 template <typename ConnectionsT = OutboundConnection>
55 m_connectionsHasBeenSet = true;
56 m_connections.emplace_back(std::forward<ConnectionsT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 template <typename NextTokenT = Aws::String>
69 void SetNextToken(NextTokenT&& value) {
70 m_nextTokenHasBeenSet = true;
71 m_nextToken = std::forward<NextTokenT>(value);
72 }
73 template <typename NextTokenT = Aws::String>
75 SetNextToken(std::forward<NextTokenT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 bool m_connectionsHasBeenSet = false;
101 bool m_nextTokenHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace OpenSearchService
107} // 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