AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAccountSettingsRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/ecs/model/SettingName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const SettingName& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline ListAccountSettingsRequest& WithName(const SettingName& value) { SetName(value); return *this;}
47 inline ListAccountSettingsRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
49
51
55 inline const Aws::String& GetValue() const{ return m_value; }
56 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
57 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
58 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
59 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
60 inline ListAccountSettingsRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
61 inline ListAccountSettingsRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
62 inline ListAccountSettingsRequest& WithValue(const char* value) { SetValue(value); return *this;}
64
66
72 inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
73 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
74 inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
75 inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
76 inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
77 inline ListAccountSettingsRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
78 inline ListAccountSettingsRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
79 inline ListAccountSettingsRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
81
83
90 inline bool GetEffectiveSettings() const{ return m_effectiveSettings; }
91 inline bool EffectiveSettingsHasBeenSet() const { return m_effectiveSettingsHasBeenSet; }
92 inline void SetEffectiveSettings(bool value) { m_effectiveSettingsHasBeenSet = true; m_effectiveSettings = value; }
93 inline ListAccountSettingsRequest& WithEffectiveSettings(bool value) { SetEffectiveSettings(value); return *this;}
95
97
106 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
109 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
110 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
111 inline ListAccountSettingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 inline ListAccountSettingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 inline ListAccountSettingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115
117
128 inline int GetMaxResults() const{ return m_maxResults; }
129 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
130 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
131 inline ListAccountSettingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133 private:
134
135 SettingName m_name;
136 bool m_nameHasBeenSet = false;
137
138 Aws::String m_value;
139 bool m_valueHasBeenSet = false;
140
141 Aws::String m_principalArn;
142 bool m_principalArnHasBeenSet = false;
143
144 bool m_effectiveSettings;
145 bool m_effectiveSettingsHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 int m_maxResults;
151 bool m_maxResultsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace ECS
156} // namespace Aws
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