AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeEndpointsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace TimestreamQuery
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Endpoint>& GetEndpoints() const{ return m_endpoints; }
41 
46  inline void SetEndpoints(const Aws::Vector<Endpoint>& value) { m_endpoints = value; }
47 
52  inline void SetEndpoints(Aws::Vector<Endpoint>&& value) { m_endpoints = std::move(value); }
53 
58  inline DescribeEndpointsResult& WithEndpoints(const Aws::Vector<Endpoint>& value) { SetEndpoints(value); return *this;}
59 
64  inline DescribeEndpointsResult& WithEndpoints(Aws::Vector<Endpoint>&& value) { SetEndpoints(std::move(value)); return *this;}
65 
70  inline DescribeEndpointsResult& AddEndpoints(const Endpoint& value) { m_endpoints.push_back(value); return *this; }
71 
76  inline DescribeEndpointsResult& AddEndpoints(Endpoint&& value) { m_endpoints.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<Endpoint> m_endpoints;
81  };
82 
83 } // namespace Model
84 } // namespace TimestreamQuery
85 } // namespace Aws
Aws::TimestreamQuery::Model::DescribeEndpointsResult::DescribeEndpointsResult
DescribeEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TIMESTREAMQUERY_API
#define AWS_TIMESTREAMQUERY_API
Definition: TimestreamQuery_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::TimestreamQuery::Model::Endpoint
Definition: Endpoint.h:33
Aws::TimestreamQuery::Model::DescribeEndpointsResult::SetEndpoints
void SetEndpoints(const Aws::Vector< Endpoint > &value)
Definition: DescribeEndpointsResult.h:46
Aws::TimestreamQuery::Model::DescribeEndpointsResult::AddEndpoints
DescribeEndpointsResult & AddEndpoints(const Endpoint &value)
Definition: DescribeEndpointsResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
TimestreamQuery_EXPORTS.h
Aws::TimestreamQuery::Model::DescribeEndpointsResult::AddEndpoints
DescribeEndpointsResult & AddEndpoints(Endpoint &&value)
Definition: DescribeEndpointsResult.h:76
Aws::TimestreamQuery::Model::DescribeEndpointsResult::SetEndpoints
void SetEndpoints(Aws::Vector< Endpoint > &&value)
Definition: DescribeEndpointsResult.h:52
Aws::TimestreamQuery::Model::DescribeEndpointsResult::WithEndpoints
DescribeEndpointsResult & WithEndpoints(Aws::Vector< Endpoint > &&value)
Definition: DescribeEndpointsResult.h:64
Aws::TimestreamQuery::Model::DescribeEndpointsResult
Definition: DescribeEndpointsResult.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::TimestreamQuery::Model::DescribeEndpointsResult::GetEndpoints
const Aws::Vector< Endpoint > & GetEndpoints() const
Definition: DescribeEndpointsResult.h:40
Endpoint.h
Aws::TimestreamQuery::Model::DescribeEndpointsResult::operator=
DescribeEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::TimestreamQuery::Model::DescribeEndpointsResult::WithEndpoints
DescribeEndpointsResult & WithEndpoints(const Aws::Vector< Endpoint > &value)
Definition: DescribeEndpointsResult.h:58
Aws::TimestreamQuery::Model::DescribeEndpointsResult::DescribeEndpointsResult
DescribeEndpointsResult()