AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeEndpointsResult.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 MediaConvert
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Endpoint>& GetEndpoints() const{ return m_endpoints; }
41 
45  inline void SetEndpoints(const Aws::Vector<Endpoint>& value) { m_endpoints = value; }
46 
50  inline void SetEndpoints(Aws::Vector<Endpoint>&& value) { m_endpoints = std::move(value); }
51 
55  inline DescribeEndpointsResult& WithEndpoints(const Aws::Vector<Endpoint>& value) { SetEndpoints(value); return *this;}
56 
60  inline DescribeEndpointsResult& WithEndpoints(Aws::Vector<Endpoint>&& value) { SetEndpoints(std::move(value)); return *this;}
61 
65  inline DescribeEndpointsResult& AddEndpoints(const Endpoint& value) { m_endpoints.push_back(value); return *this; }
66 
70  inline DescribeEndpointsResult& AddEndpoints(Endpoint&& value) { m_endpoints.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline DescribeEndpointsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline DescribeEndpointsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline DescribeEndpointsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Endpoint> m_endpoints;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace MediaConvert
117 } // namespace Aws
Aws::MediaConvert::Model::DescribeEndpointsResult::DescribeEndpointsResult
DescribeEndpointsResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::DescribeEndpointsResult::WithNextToken
DescribeEndpointsResult & WithNextToken(Aws::String &&value)
Definition: DescribeEndpointsResult.h:101
Aws::MediaConvert::Model::DescribeEndpointsResult::GetEndpoints
const Aws::Vector< Endpoint > & GetEndpoints() const
Definition: DescribeEndpointsResult.h:40
Aws::MediaConvert::Model::DescribeEndpointsResult
Definition: DescribeEndpointsResult.h:30
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::DescribeEndpointsResult::WithEndpoints
DescribeEndpointsResult & WithEndpoints(const Aws::Vector< Endpoint > &value)
Definition: DescribeEndpointsResult.h:55
Aws::MediaConvert::Model::DescribeEndpointsResult::SetEndpoints
void SetEndpoints(Aws::Vector< Endpoint > &&value)
Definition: DescribeEndpointsResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MediaConvert::Model::DescribeEndpointsResult::WithNextToken
DescribeEndpointsResult & WithNextToken(const Aws::String &value)
Definition: DescribeEndpointsResult.h:96
Aws::MediaConvert::Model::DescribeEndpointsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeEndpointsResult.h:76
Aws::MediaConvert::Model::DescribeEndpointsResult::operator=
DescribeEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::MediaConvert::Model::DescribeEndpointsResult::WithNextToken
DescribeEndpointsResult & WithNextToken(const char *value)
Definition: DescribeEndpointsResult.h:106
Aws::MediaConvert::Model::DescribeEndpointsResult::WithEndpoints
DescribeEndpointsResult & WithEndpoints(Aws::Vector< Endpoint > &&value)
Definition: DescribeEndpointsResult.h:60
Aws::MediaConvert::Model::DescribeEndpointsResult::DescribeEndpointsResult
DescribeEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::DescribeEndpointsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeEndpointsResult.h:91
Endpoint.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::DescribeEndpointsResult::SetEndpoints
void SetEndpoints(const Aws::Vector< Endpoint > &value)
Definition: DescribeEndpointsResult.h:45
Aws::MediaConvert::Model::DescribeEndpointsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeEndpointsResult.h:86
Aws::MediaConvert::Model::DescribeEndpointsResult::AddEndpoints
DescribeEndpointsResult & AddEndpoints(const Endpoint &value)
Definition: DescribeEndpointsResult.h:65
Aws::MediaConvert::Model::Endpoint
Definition: Endpoint.h:32
Aws::MediaConvert::Model::DescribeEndpointsResult::AddEndpoints
DescribeEndpointsResult & AddEndpoints(Endpoint &&value)
Definition: DescribeEndpointsResult.h:70
Aws::MediaConvert::Model::DescribeEndpointsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeEndpointsResult.h:81