AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
PutAccountSettingDefaultRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/SettingName.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ECS {
16namespace Model {
17
21 public:
22 AWS_ECS_API PutAccountSettingDefaultRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutAccountSettingDefault"; }
29
30 AWS_ECS_API Aws::String SerializePayload() const override;
31
33
35
142 inline SettingName GetName() const { return m_name; }
143 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
144 inline void SetName(SettingName value) {
145 m_nameHasBeenSet = true;
146 m_name = value;
147 }
149 SetName(value);
150 return *this;
151 }
153
155
167 inline const Aws::String& GetValue() const { return m_value; }
168 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
169 template <typename ValueT = Aws::String>
170 void SetValue(ValueT&& value) {
171 m_valueHasBeenSet = true;
172 m_value = std::forward<ValueT>(value);
173 }
174 template <typename ValueT = Aws::String>
176 SetValue(std::forward<ValueT>(value));
177 return *this;
178 }
180 private:
182
183 Aws::String m_value;
184 bool m_nameHasBeenSet = false;
185 bool m_valueHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace ECS
190} // namespace Aws
AWS_ECS_API Aws::String SerializePayload() const override
PutAccountSettingDefaultRequest & WithValue(ValueT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAccountSettingDefaultRequest & WithName(SettingName value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String