AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_ECS_API ListAccountSettingsRequest() = default;
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 SettingName GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(SettingName value) { m_nameHasBeenSet = true; m_name = value; }
45 inline ListAccountSettingsRequest& WithName(SettingName value) { SetName(value); return *this;}
47
49
53 inline const Aws::String& GetValue() const { return m_value; }
54 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
55 template<typename ValueT = Aws::String>
56 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
57 template<typename ValueT = Aws::String>
58 ListAccountSettingsRequest& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
60
62
70 inline const Aws::String& GetPrincipalArn() const { return m_principalArn; }
71 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
72 template<typename PrincipalArnT = Aws::String>
73 void SetPrincipalArn(PrincipalArnT&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::forward<PrincipalArnT>(value); }
74 template<typename PrincipalArnT = Aws::String>
75 ListAccountSettingsRequest& WithPrincipalArn(PrincipalArnT&& value) { SetPrincipalArn(std::forward<PrincipalArnT>(value)); return *this;}
77
79
86 inline bool GetEffectiveSettings() const { return m_effectiveSettings; }
87 inline bool EffectiveSettingsHasBeenSet() const { return m_effectiveSettingsHasBeenSet; }
88 inline void SetEffectiveSettings(bool value) { m_effectiveSettingsHasBeenSet = true; m_effectiveSettings = value; }
89 inline ListAccountSettingsRequest& WithEffectiveSettings(bool value) { SetEffectiveSettings(value); return *this;}
91
93
102 inline const Aws::String& GetNextToken() const { return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 template<typename NextTokenT = Aws::String>
105 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
106 template<typename NextTokenT = Aws::String>
107 ListAccountSettingsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
109
111
122 inline int GetMaxResults() const { return m_maxResults; }
123 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
124 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
125 inline ListAccountSettingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127 private:
128
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_value;
133 bool m_valueHasBeenSet = false;
134
135 Aws::String m_principalArn;
136 bool m_principalArnHasBeenSet = false;
137
138 bool m_effectiveSettings{false};
139 bool m_effectiveSettingsHasBeenSet = false;
140
141 Aws::String m_nextToken;
142 bool m_nextTokenHasBeenSet = false;
143
144 int m_maxResults{0};
145 bool m_maxResultsHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ECS
150} // namespace Aws
ListAccountSettingsRequest & WithPrincipalArn(PrincipalArnT &&value)
ListAccountSettingsRequest & WithEffectiveSettings(bool value)
ListAccountSettingsRequest & WithName(SettingName value)
AWS_ECS_API Aws::String SerializePayload() const override
ListAccountSettingsRequest & WithValue(ValueT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAccountSettingsRequest & WithNextToken(NextTokenT &&value)
AWS_ECS_API ListAccountSettingsRequest()=default
ListAccountSettingsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String