AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeOutboundCrossClusterSearchConnectionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
38  {
39  public:
43 
44 
49  inline const Aws::Vector<OutboundCrossClusterSearchConnection>& GetCrossClusterSearchConnections() const{ return m_crossClusterSearchConnections; }
50 
55  inline void SetCrossClusterSearchConnections(const Aws::Vector<OutboundCrossClusterSearchConnection>& value) { m_crossClusterSearchConnections = value; }
56 
61  inline void SetCrossClusterSearchConnections(Aws::Vector<OutboundCrossClusterSearchConnection>&& value) { m_crossClusterSearchConnections = std::move(value); }
62 
68 
73  inline DescribeOutboundCrossClusterSearchConnectionsResult& WithCrossClusterSearchConnections(Aws::Vector<OutboundCrossClusterSearchConnection>&& value) { SetCrossClusterSearchConnections(std::move(value)); return *this;}
74 
79  inline DescribeOutboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(const OutboundCrossClusterSearchConnection& value) { m_crossClusterSearchConnections.push_back(value); return *this; }
80 
85  inline DescribeOutboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(OutboundCrossClusterSearchConnection&& value) { m_crossClusterSearchConnections.push_back(std::move(value)); return *this; }
86 
87 
93  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 
100  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
101 
107  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
108 
114  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
115 
121  inline DescribeOutboundCrossClusterSearchConnectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
128  inline DescribeOutboundCrossClusterSearchConnectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
129 
135  inline DescribeOutboundCrossClusterSearchConnectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137  private:
138 
139  Aws::Vector<OutboundCrossClusterSearchConnection> m_crossClusterSearchConnections;
140 
141  Aws::String m_nextToken;
142  };
143 
144 } // namespace Model
145 } // namespace ElasticsearchService
146 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::DescribeOutboundCrossClusterSearchConnectionsResult
DescribeOutboundCrossClusterSearchConnectionsResult()
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::SetCrossClusterSearchConnections
void SetCrossClusterSearchConnections(const Aws::Vector< OutboundCrossClusterSearchConnection > &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:55
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::AddCrossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResult & AddCrossClusterSearchConnections(OutboundCrossClusterSearchConnection &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:85
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:114
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::WithCrossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResult & WithCrossClusterSearchConnections(Aws::Vector< OutboundCrossClusterSearchConnection > &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:73
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:93
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::operator=
DescribeOutboundCrossClusterSearchConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::GetCrossClusterSearchConnections
const Aws::Vector< OutboundCrossClusterSearchConnection > & GetCrossClusterSearchConnections() const
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:49
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection
Definition: OutboundCrossClusterSearchConnection.h:34
OutboundCrossClusterSearchConnection.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::AddCrossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResult & AddCrossClusterSearchConnections(const OutboundCrossClusterSearchConnection &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:79
AWSString.h
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsResult & WithNextToken(const char *value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:135
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::SetCrossClusterSearchConnections
void SetCrossClusterSearchConnections(Aws::Vector< OutboundCrossClusterSearchConnection > &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:61
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsResult & WithNextToken(const Aws::String &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:121
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeOutboundCrossClusterSearchConnectionsResult & WithNextToken(Aws::String &&value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:38
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::DescribeOutboundCrossClusterSearchConnectionsResult
DescribeOutboundCrossClusterSearchConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:100
Aws::ElasticsearchService::Model::DescribeOutboundCrossClusterSearchConnectionsResult::WithCrossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResult & WithCrossClusterSearchConnections(const Aws::Vector< OutboundCrossClusterSearchConnection > &value)
Definition: DescribeOutboundCrossClusterSearchConnectionsResult.h:67