AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeInboundCrossClusterSearchConnectionsResult.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<InboundCrossClusterSearchConnection>& GetCrossClusterSearchConnections() const{ return m_crossClusterSearchConnections; }
50 
55  inline void SetCrossClusterSearchConnections(const Aws::Vector<InboundCrossClusterSearchConnection>& value) { m_crossClusterSearchConnections = value; }
56 
61  inline void SetCrossClusterSearchConnections(Aws::Vector<InboundCrossClusterSearchConnection>&& value) { m_crossClusterSearchConnections = std::move(value); }
62 
68 
73  inline DescribeInboundCrossClusterSearchConnectionsResult& WithCrossClusterSearchConnections(Aws::Vector<InboundCrossClusterSearchConnection>&& value) { SetCrossClusterSearchConnections(std::move(value)); return *this;}
74 
79  inline DescribeInboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(const InboundCrossClusterSearchConnection& value) { m_crossClusterSearchConnections.push_back(value); return *this; }
80 
85  inline DescribeInboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(InboundCrossClusterSearchConnection&& 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 DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
128  inline DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
129 
135  inline DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137  private:
138 
139  Aws::Vector<InboundCrossClusterSearchConnection> m_crossClusterSearchConnections;
140 
141  Aws::String m_nextToken;
142  };
143 
144 } // namespace Model
145 } // namespace ElasticsearchService
146 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:93
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::WithCrossClusterSearchConnections
DescribeInboundCrossClusterSearchConnectionsResult & WithCrossClusterSearchConnections(const Aws::Vector< InboundCrossClusterSearchConnection > &value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:67
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeInboundCrossClusterSearchConnectionsResult & WithNextToken(const Aws::String &value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:121
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:107
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:100
AWSVector.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:38
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::SetCrossClusterSearchConnections
void SetCrossClusterSearchConnections(Aws::Vector< InboundCrossClusterSearchConnection > &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:61
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::SetCrossClusterSearchConnections
void SetCrossClusterSearchConnections(const Aws::Vector< InboundCrossClusterSearchConnection > &value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:55
InboundCrossClusterSearchConnection.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeInboundCrossClusterSearchConnectionsResult & WithNextToken(const char *value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:135
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::DescribeInboundCrossClusterSearchConnectionsResult
DescribeInboundCrossClusterSearchConnectionsResult()
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::WithNextToken
DescribeInboundCrossClusterSearchConnectionsResult & WithNextToken(Aws::String &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:128
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::AddCrossClusterSearchConnections
DescribeInboundCrossClusterSearchConnectionsResult & AddCrossClusterSearchConnections(const InboundCrossClusterSearchConnection &value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:79
AWSString.h
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::DescribeInboundCrossClusterSearchConnectionsResult
DescribeInboundCrossClusterSearchConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::operator=
DescribeInboundCrossClusterSearchConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::GetCrossClusterSearchConnections
const Aws::Vector< InboundCrossClusterSearchConnection > & GetCrossClusterSearchConnections() const
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::AddCrossClusterSearchConnections
DescribeInboundCrossClusterSearchConnectionsResult & AddCrossClusterSearchConnections(InboundCrossClusterSearchConnection &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:85
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection
Definition: InboundCrossClusterSearchConnection.h:34
Aws::ElasticsearchService::Model::DescribeInboundCrossClusterSearchConnectionsResult::WithCrossClusterSearchConnections
DescribeInboundCrossClusterSearchConnectionsResult & WithCrossClusterSearchConnections(Aws::Vector< InboundCrossClusterSearchConnection > &&value)
Definition: DescribeInboundCrossClusterSearchConnectionsResult.h:73