AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
114 inline const SettingName& GetName() const{ return m_name; }
115 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
117 inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
118 inline PutAccountSettingDefaultRequest& WithName(const SettingName& value) { SetName(value); return *this;}
119 inline PutAccountSettingDefaultRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
121
123
135 inline const Aws::String& GetValue() const{ return m_value; }
136 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
137 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
138 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
139 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
140 inline PutAccountSettingDefaultRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
141 inline PutAccountSettingDefaultRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
142 inline PutAccountSettingDefaultRequest& WithValue(const char* value) { SetValue(value); return *this;}
144 private:
145
146 SettingName m_name;
147 bool m_nameHasBeenSet = false;
148
149 Aws::String m_value;
150 bool m_valueHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace ECS
155} // namespace Aws
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