AWS SDK for C++  1.9.153
AWS SDK for C++
ListTaskDefinitionFamiliesResult.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>& GetFamilies() const{ return m_families; }
41 
46  inline void SetFamilies(const Aws::Vector<Aws::String>& value) { m_families = value; }
47 
52  inline void SetFamilies(Aws::Vector<Aws::String>&& value) { m_families = std::move(value); }
53 
58  inline ListTaskDefinitionFamiliesResult& WithFamilies(const Aws::Vector<Aws::String>& value) { SetFamilies(value); return *this;}
59 
64  inline ListTaskDefinitionFamiliesResult& WithFamilies(Aws::Vector<Aws::String>&& value) { SetFamilies(std::move(value)); return *this;}
65 
70  inline ListTaskDefinitionFamiliesResult& AddFamilies(const Aws::String& value) { m_families.push_back(value); return *this; }
71 
76  inline ListTaskDefinitionFamiliesResult& AddFamilies(Aws::String&& value) { m_families.push_back(std::move(value)); return *this; }
77 
82  inline ListTaskDefinitionFamiliesResult& AddFamilies(const char* value) { m_families.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 ListTaskDefinitionFamiliesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
137  inline ListTaskDefinitionFamiliesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 
146  inline ListTaskDefinitionFamiliesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 
148  private:
149 
150  Aws::Vector<Aws::String> m_families;
151 
152  Aws::String m_nextToken;
153  };
154 
155 } // namespace Model
156 } // namespace ECS
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::GetFamilies
const Aws::Vector< Aws::String > & GetFamilies() const
Definition: ListTaskDefinitionFamiliesResult.h:40
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::AddFamilies
ListTaskDefinitionFamiliesResult & AddFamilies(const char *value)
Definition: ListTaskDefinitionFamiliesResult.h:82
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesResult.h:101
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::SetFamilies
void SetFamilies(const Aws::Vector< Aws::String > &value)
Definition: ListTaskDefinitionFamiliesResult.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTaskDefinitionFamiliesResult.h:119
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::ListTaskDefinitionFamiliesResult
ListTaskDefinitionFamiliesResult()
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::WithNextToken
ListTaskDefinitionFamiliesResult & WithNextToken(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesResult.h:137
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::operator=
ListTaskDefinitionFamiliesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::ListTaskDefinitionFamiliesResult
ListTaskDefinitionFamiliesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::SetFamilies
void SetFamilies(Aws::Vector< Aws::String > &&value)
Definition: ListTaskDefinitionFamiliesResult.h:52
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::WithFamilies
ListTaskDefinitionFamiliesResult & WithFamilies(const Aws::Vector< Aws::String > &value)
Definition: ListTaskDefinitionFamiliesResult.h:58
AWSString.h
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::AddFamilies
ListTaskDefinitionFamiliesResult & AddFamilies(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesResult.h:70
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTaskDefinitionFamiliesResult.h:92
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::WithNextToken
ListTaskDefinitionFamiliesResult & WithNextToken(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesResult.h:128
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesResult.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::WithNextToken
ListTaskDefinitionFamiliesResult & WithNextToken(const char *value)
Definition: ListTaskDefinitionFamiliesResult.h:146
Aws::ECS::Model::ListTaskDefinitionFamiliesResult
Definition: ListTaskDefinitionFamiliesResult.h:29
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::WithFamilies
ListTaskDefinitionFamiliesResult & WithFamilies(Aws::Vector< Aws::String > &&value)
Definition: ListTaskDefinitionFamiliesResult.h:64
Aws::ECS::Model::ListTaskDefinitionFamiliesResult::AddFamilies
ListTaskDefinitionFamiliesResult & AddFamilies(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesResult.h:76
ECS_EXPORTS.h