AWS SDK for C++  1.9.160
AWS SDK for C++
ListContainerInstancesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
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 ECS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Aws::String>& GetContainerInstanceArns() const{ return m_containerInstanceArns; }
41 
46  inline void SetContainerInstanceArns(const Aws::Vector<Aws::String>& value) { m_containerInstanceArns = value; }
47 
52  inline void SetContainerInstanceArns(Aws::Vector<Aws::String>&& value) { m_containerInstanceArns = std::move(value); }
53 
58  inline ListContainerInstancesResult& WithContainerInstanceArns(const Aws::Vector<Aws::String>& value) { SetContainerInstanceArns(value); return *this;}
59 
64  inline ListContainerInstancesResult& WithContainerInstanceArns(Aws::Vector<Aws::String>&& value) { SetContainerInstanceArns(std::move(value)); return *this;}
65 
70  inline ListContainerInstancesResult& AddContainerInstanceArns(const Aws::String& value) { m_containerInstanceArns.push_back(value); return *this; }
71 
76  inline ListContainerInstancesResult& AddContainerInstanceArns(Aws::String&& value) { m_containerInstanceArns.push_back(std::move(value)); return *this; }
77 
82  inline ListContainerInstancesResult& AddContainerInstanceArns(const char* value) { m_containerInstanceArns.push_back(value); return *this; }
83 
84 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
101  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
102 
110  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
111 
119  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
120 
128  inline ListContainerInstancesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
137  inline ListContainerInstancesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 
146  inline ListContainerInstancesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 
148  private:
149 
150  Aws::Vector<Aws::String> m_containerInstanceArns;
151 
152  Aws::String m_nextToken;
153  };
154 
155 } // namespace Model
156 } // namespace ECS
157 } // namespace Aws
Aws::ECS::Model::ListContainerInstancesResult::WithNextToken
ListContainerInstancesResult & WithNextToken(Aws::String &&value)
Definition: ListContainerInstancesResult.h:137
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListContainerInstancesResult::AddContainerInstanceArns
ListContainerInstancesResult & AddContainerInstanceArns(const Aws::String &value)
Definition: ListContainerInstancesResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ListContainerInstancesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContainerInstancesResult.h:92
Aws::ECS::Model::ListContainerInstancesResult::SetContainerInstanceArns
void SetContainerInstanceArns(Aws::Vector< Aws::String > &&value)
Definition: ListContainerInstancesResult.h:52
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListContainerInstancesResult::WithContainerInstanceArns
ListContainerInstancesResult & WithContainerInstanceArns(const Aws::Vector< Aws::String > &value)
Definition: ListContainerInstancesResult.h:58
Aws::ECS::Model::ListContainerInstancesResult::WithContainerInstanceArns
ListContainerInstancesResult & WithContainerInstanceArns(Aws::Vector< Aws::String > &&value)
Definition: ListContainerInstancesResult.h:64
Aws::ECS::Model::ListContainerInstancesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListContainerInstancesResult.h:119
Aws::ECS::Model::ListContainerInstancesResult
Definition: ListContainerInstancesResult.h:29
Aws::ECS::Model::ListContainerInstancesResult::WithNextToken
ListContainerInstancesResult & WithNextToken(const Aws::String &value)
Definition: ListContainerInstancesResult.h:128
AWSString.h
Aws::ECS::Model::ListContainerInstancesResult::ListContainerInstancesResult
ListContainerInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListContainerInstancesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContainerInstancesResult.h:110
Aws::ECS::Model::ListContainerInstancesResult::SetContainerInstanceArns
void SetContainerInstanceArns(const Aws::Vector< Aws::String > &value)
Definition: ListContainerInstancesResult.h:46
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListContainerInstancesResult::AddContainerInstanceArns
ListContainerInstancesResult & AddContainerInstanceArns(Aws::String &&value)
Definition: ListContainerInstancesResult.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListContainerInstancesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContainerInstancesResult.h:101
Aws::ECS::Model::ListContainerInstancesResult::ListContainerInstancesResult
ListContainerInstancesResult()
Aws::ECS::Model::ListContainerInstancesResult::operator=
ListContainerInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ECS_EXPORTS.h
Aws::ECS::Model::ListContainerInstancesResult::GetContainerInstanceArns
const Aws::Vector< Aws::String > & GetContainerInstanceArns() const
Definition: ListContainerInstancesResult.h:40
Aws::ECS::Model::ListContainerInstancesResult::WithNextToken
ListContainerInstancesResult & WithNextToken(const char *value)
Definition: ListContainerInstancesResult.h:146
Aws::ECS::Model::ListContainerInstancesResult::AddContainerInstanceArns
ListContainerInstancesResult & AddContainerInstanceArns(const char *value)
Definition: ListContainerInstancesResult.h:82