AWS SDK for C++  1.9.153
AWS SDK for C++
ListAccountSettingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ECS
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListAccountSettings"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const SettingName& GetName() const{ return m_name; }
42 
46  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 
51  inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
52 
56  inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 
61  inline ListAccountSettingsRequest& WithName(const SettingName& value) { SetName(value); return *this;}
62 
66  inline ListAccountSettingsRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
67 
68 
73  inline const Aws::String& GetValue() const{ return m_value; }
74 
79  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
80 
85  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
86 
91  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
92 
97  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
98 
103  inline ListAccountSettingsRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
104 
109  inline ListAccountSettingsRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
110 
115  inline ListAccountSettingsRequest& WithValue(const char* value) { SetValue(value); return *this;}
116 
117 
124  inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
125 
132  inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
133 
140  inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
141 
148  inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
149 
156  inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
157 
164  inline ListAccountSettingsRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
165 
172  inline ListAccountSettingsRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
173 
180  inline ListAccountSettingsRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
181 
182 
190  inline bool GetEffectiveSettings() const{ return m_effectiveSettings; }
191 
199  inline bool EffectiveSettingsHasBeenSet() const { return m_effectiveSettingsHasBeenSet; }
200 
208  inline void SetEffectiveSettings(bool value) { m_effectiveSettingsHasBeenSet = true; m_effectiveSettings = value; }
209 
217  inline ListAccountSettingsRequest& WithEffectiveSettings(bool value) { SetEffectiveSettings(value); return *this;}
218 
219 
229  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
230 
240  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
241 
251  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
252 
262  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
263 
273  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
274 
284  inline ListAccountSettingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
285 
295  inline ListAccountSettingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
296 
306  inline ListAccountSettingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
307 
308 
320  inline int GetMaxResults() const{ return m_maxResults; }
321 
333  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
334 
346  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
347 
359  inline ListAccountSettingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
360 
361  private:
362 
363  SettingName m_name;
364  bool m_nameHasBeenSet;
365 
366  Aws::String m_value;
367  bool m_valueHasBeenSet;
368 
369  Aws::String m_principalArn;
370  bool m_principalArnHasBeenSet;
371 
372  bool m_effectiveSettings;
373  bool m_effectiveSettingsHasBeenSet;
374 
375  Aws::String m_nextToken;
376  bool m_nextTokenHasBeenSet;
377 
378  int m_maxResults;
379  bool m_maxResultsHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace ECS
384 } // namespace Aws
Aws::ECS::Model::ListAccountSettingsRequest::WithValue
ListAccountSettingsRequest & WithValue(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:109
Aws::ECS::Model::ListAccountSettingsRequest::ListAccountSettingsRequest
ListAccountSettingsRequest()
Aws::ECS::Model::ListAccountSettingsRequest::WithPrincipalArn
ListAccountSettingsRequest & WithPrincipalArn(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:164
Aws::ECS::Model::ListAccountSettingsRequest::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ListAccountSettingsRequest.h:79
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::ListAccountSettingsRequest::SetValue
void SetValue(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:91
Aws::ECS::Model::ListAccountSettingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:262
Aws::ECS::Model::ListAccountSettingsRequest::PrincipalArnHasBeenSet
bool PrincipalArnHasBeenSet() const
Definition: ListAccountSettingsRequest.h:132
Aws::ECS::Model::SettingName
SettingName
Definition: SettingName.h:17
Aws::ECS::Model::ListAccountSettingsRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ListAccountSettingsRequest.h:46
Aws::ECS::Model::ListAccountSettingsRequest::SetPrincipalArn
void SetPrincipalArn(const char *value)
Definition: ListAccountSettingsRequest.h:156
Aws::ECS::Model::ListAccountSettingsRequest::GetEffectiveSettings
bool GetEffectiveSettings() const
Definition: ListAccountSettingsRequest.h:190
Aws::ECS::Model::ListAccountSettingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:251
Aws::ECS::Model::ListAccountSettingsRequest::SetPrincipalArn
void SetPrincipalArn(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:140
Aws::ECS::Model::ListAccountSettingsRequest::SetName
void SetName(const SettingName &value)
Definition: ListAccountSettingsRequest.h:51
Aws::ECS::Model::ListAccountSettingsRequest
Definition: ListAccountSettingsRequest.h:23
Aws::ECS::Model::ListAccountSettingsRequest::EffectiveSettingsHasBeenSet
bool EffectiveSettingsHasBeenSet() const
Definition: ListAccountSettingsRequest.h:199
Aws::ECS::Model::ListAccountSettingsRequest::SetPrincipalArn
void SetPrincipalArn(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:148
Aws::ECS::Model::ListAccountSettingsRequest::SetValue
void SetValue(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:85
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListAccountSettingsRequest::WithValue
ListAccountSettingsRequest & WithValue(const char *value)
Definition: ListAccountSettingsRequest.h:115
Aws::ECS::Model::ListAccountSettingsRequest::WithNextToken
ListAccountSettingsRequest & WithNextToken(const char *value)
Definition: ListAccountSettingsRequest.h:306
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
Aws::ECS::Model::ListAccountSettingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAccountSettingsRequest.h:31
Aws::ECS::Model::ListAccountSettingsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAccountSettingsRequest.h:333
Aws::ECS::Model::ListAccountSettingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECS::Model::ListAccountSettingsRequest::WithValue
ListAccountSettingsRequest & WithValue(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:103
Aws::ECS::Model::ListAccountSettingsRequest::SetValue
void SetValue(const char *value)
Definition: ListAccountSettingsRequest.h:97
Aws::ECS::Model::ListAccountSettingsRequest::GetName
const SettingName & GetName() const
Definition: ListAccountSettingsRequest.h:41
AWSString.h
Aws::ECS::Model::ListAccountSettingsRequest::GetPrincipalArn
const Aws::String & GetPrincipalArn() const
Definition: ListAccountSettingsRequest.h:124
Aws::ECS::Model::ListAccountSettingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccountSettingsRequest.h:229
SettingName.h
Aws::ECS::Model::ListAccountSettingsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAccountSettingsRequest.h:346
Aws::ECS::Model::ListAccountSettingsRequest::WithEffectiveSettings
ListAccountSettingsRequest & WithEffectiveSettings(bool value)
Definition: ListAccountSettingsRequest.h:217
Aws::ECS::Model::ListAccountSettingsRequest::WithNextToken
ListAccountSettingsRequest & WithNextToken(const Aws::String &value)
Definition: ListAccountSettingsRequest.h:284
Aws::ECS::Model::ListAccountSettingsRequest::WithName
ListAccountSettingsRequest & WithName(SettingName &&value)
Definition: ListAccountSettingsRequest.h:66
Aws::ECS::Model::ListAccountSettingsRequest::WithNextToken
ListAccountSettingsRequest & WithNextToken(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:295
Aws::ECS::Model::ListAccountSettingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccountSettingsRequest.h:273
Aws::ECS::Model::ListAccountSettingsRequest::SetName
void SetName(SettingName &&value)
Definition: ListAccountSettingsRequest.h:56
Aws::ECS::Model::ListAccountSettingsRequest::WithPrincipalArn
ListAccountSettingsRequest & WithPrincipalArn(const char *value)
Definition: ListAccountSettingsRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListAccountSettingsRequest::GetValue
const Aws::String & GetValue() const
Definition: ListAccountSettingsRequest.h:73
Aws::ECS::Model::ListAccountSettingsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAccountSettingsRequest.h:320
Aws::ECS::Model::ListAccountSettingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAccountSettingsRequest.h:240
Aws::ECS::Model::ListAccountSettingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::ListAccountSettingsRequest::WithPrincipalArn
ListAccountSettingsRequest & WithPrincipalArn(Aws::String &&value)
Definition: ListAccountSettingsRequest.h:172
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListAccountSettingsRequest::WithMaxResults
ListAccountSettingsRequest & WithMaxResults(int value)
Definition: ListAccountSettingsRequest.h:359
ECS_EXPORTS.h
ECSRequest.h
Aws::ECS::Model::ListAccountSettingsRequest::SetEffectiveSettings
void SetEffectiveSettings(bool value)
Definition: ListAccountSettingsRequest.h:208
Aws::ECS::Model::ListAccountSettingsRequest::WithName
ListAccountSettingsRequest & WithName(const SettingName &value)
Definition: ListAccountSettingsRequest.h:61