AWS SDK for C++  1.9.159
AWS SDK for C++
ListAccountSettingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <aws/ecs/model/Setting.h>
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 ECS
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Setting>& GetSettings() const{ return m_settings; }
41 
45  inline void SetSettings(const Aws::Vector<Setting>& value) { m_settings = value; }
46 
50  inline void SetSettings(Aws::Vector<Setting>&& value) { m_settings = std::move(value); }
51 
55  inline ListAccountSettingsResult& WithSettings(const Aws::Vector<Setting>& value) { SetSettings(value); return *this;}
56 
60  inline ListAccountSettingsResult& WithSettings(Aws::Vector<Setting>&& value) { SetSettings(std::move(value)); return *this;}
61 
65  inline ListAccountSettingsResult& AddSettings(const Setting& value) { m_settings.push_back(value); return *this; }
66 
70  inline ListAccountSettingsResult& AddSettings(Setting&& value) { m_settings.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
116  inline ListAccountSettingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
125  inline ListAccountSettingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
134  inline ListAccountSettingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<Setting> m_settings;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace ECS
145 } // namespace Aws
Aws::ECS::Model::ListAccountSettingsResult::GetSettings
const Aws::Vector< Setting > & GetSettings() const
Definition: ListAccountSettingsResult.h:40
Aws::ECS::Model::ListAccountSettingsResult::operator=
ListAccountSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListAccountSettingsResult::WithNextToken
ListAccountSettingsResult & WithNextToken(const char *value)
Definition: ListAccountSettingsResult.h:134
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListAccountSettingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccountSettingsResult.h:98
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ListAccountSettingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccountSettingsResult.h:89
Aws::ECS::Model::ListAccountSettingsResult::WithNextToken
ListAccountSettingsResult & WithNextToken(Aws::String &&value)
Definition: ListAccountSettingsResult.h:125
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListAccountSettingsResult::AddSettings
ListAccountSettingsResult & AddSettings(const Setting &value)
Definition: ListAccountSettingsResult.h:65
Aws::ECS::Model::ListAccountSettingsResult::ListAccountSettingsResult
ListAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListAccountSettingsResult
Definition: ListAccountSettingsResult.h:30
Aws::ECS::Model::ListAccountSettingsResult::SetSettings
void SetSettings(Aws::Vector< Setting > &&value)
Definition: ListAccountSettingsResult.h:50
Aws::ECS::Model::ListAccountSettingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccountSettingsResult.h:107
Aws::ECS::Model::ListAccountSettingsResult::WithSettings
ListAccountSettingsResult & WithSettings(const Aws::Vector< Setting > &value)
Definition: ListAccountSettingsResult.h:55
Aws::ECS::Model::ListAccountSettingsResult::WithNextToken
ListAccountSettingsResult & WithNextToken(const Aws::String &value)
Definition: ListAccountSettingsResult.h:116
Aws::ECS::Model::ListAccountSettingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccountSettingsResult.h:80
Aws::ECS::Model::ListAccountSettingsResult::AddSettings
ListAccountSettingsResult & AddSettings(Setting &&value)
Definition: ListAccountSettingsResult.h:70
Setting.h
AWSString.h
Aws::ECS::Model::ListAccountSettingsResult::WithSettings
ListAccountSettingsResult & WithSettings(Aws::Vector< Setting > &&value)
Definition: ListAccountSettingsResult.h:60
Aws::ECS::Model::Setting
Definition: Setting.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListAccountSettingsResult::ListAccountSettingsResult
ListAccountSettingsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListAccountSettingsResult::SetSettings
void SetSettings(const Aws::Vector< Setting > &value)
Definition: ListAccountSettingsResult.h:45
ECS_EXPORTS.h