AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutAccountSettingDefaultRequest.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 PutAccountSettingDefaultRequest() = 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 "PutAccountSettingDefault"; }
32
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
141 inline SettingName GetName() const { return m_name; }
142 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
143 inline void SetName(SettingName value) { m_nameHasBeenSet = true; m_name = value; }
144 inline PutAccountSettingDefaultRequest& WithName(SettingName value) { SetName(value); return *this;}
146
148
160 inline const Aws::String& GetValue() const { return m_value; }
161 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
162 template<typename ValueT = Aws::String>
163 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
164 template<typename ValueT = Aws::String>
165 PutAccountSettingDefaultRequest& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
167 private:
168
170 bool m_nameHasBeenSet = false;
171
172 Aws::String m_value;
173 bool m_valueHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace ECS
178} // 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