AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListAccountSettingsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace 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
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 = false;
365
366 Aws::String m_value;
367 bool m_valueHasBeenSet = false;
368
369 Aws::String m_principalArn;
370 bool m_principalArnHasBeenSet = false;
371
372 bool m_effectiveSettings;
373 bool m_effectiveSettingsHasBeenSet = false;
374
375 Aws::String m_nextToken;
376 bool m_nextTokenHasBeenSet = false;
377
378 int m_maxResults;
379 bool m_maxResultsHasBeenSet = false;
380 };
381
382} // namespace Model
383} // namespace ECS
384} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ListAccountSettingsRequest & WithName(SettingName &&value)
ListAccountSettingsRequest & WithValue(Aws::String &&value)
ListAccountSettingsRequest & WithEffectiveSettings(bool value)
ListAccountSettingsRequest & WithValue(const Aws::String &value)
ListAccountSettingsRequest & WithPrincipalArn(Aws::String &&value)
ListAccountSettingsRequest & WithValue(const char *value)
AWS_ECS_API Aws::String SerializePayload() const override
ListAccountSettingsRequest & WithPrincipalArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAccountSettingsRequest & WithNextToken(const char *value)
ListAccountSettingsRequest & WithName(const SettingName &value)
ListAccountSettingsRequest & WithNextToken(const Aws::String &value)
ListAccountSettingsRequest & WithNextToken(Aws::String &&value)
ListAccountSettingsRequest & WithPrincipalArn(const char *value)
ListAccountSettingsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String