AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PutAccountSettingDefaultRequest.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 "PutAccountSettingDefault"; }
32
34
36
37
55 inline const SettingName& GetName() const{ return m_name; }
56
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75
93 inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
94
112 inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113
131 inline PutAccountSettingDefaultRequest& WithName(const SettingName& value) { SetName(value); return *this;}
132
150 inline PutAccountSettingDefaultRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
151
152
157 inline const Aws::String& GetValue() const{ return m_value; }
158
163 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
164
169 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
170
175 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
176
181 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
182
187 inline PutAccountSettingDefaultRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
188
193 inline PutAccountSettingDefaultRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
194
199 inline PutAccountSettingDefaultRequest& WithValue(const char* value) { SetValue(value); return *this;}
200
201 private:
202
203 SettingName m_name;
204 bool m_nameHasBeenSet = false;
205
206 Aws::String m_value;
207 bool m_valueHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace ECS
212} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAccountSettingDefaultRequest & WithValue(const Aws::String &value)
PutAccountSettingDefaultRequest & WithName(const SettingName &value)
PutAccountSettingDefaultRequest & WithName(SettingName &&value)
PutAccountSettingDefaultRequest & WithValue(const char *value)
PutAccountSettingDefaultRequest & WithValue(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String