AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteAccountSettingRequest.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 "DeleteAccountSetting"; }
32
34
36
37
48 inline const SettingName& GetName() const{ return m_name; }
49
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61
72 inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
73
84 inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85
96 inline DeleteAccountSettingRequest& WithName(const SettingName& value) { SetName(value); return *this;}
97
108 inline DeleteAccountSettingRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
109
110
118 inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
119
127 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
128
136 inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
137
145 inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
146
154 inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
155
163 inline DeleteAccountSettingRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
164
172 inline DeleteAccountSettingRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
173
181 inline DeleteAccountSettingRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
182
183 private:
184
185 SettingName m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_principalArn;
189 bool m_principalArnHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace ECS
194} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
DeleteAccountSettingRequest & WithPrincipalArn(Aws::String &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteAccountSettingRequest & WithPrincipalArn(const char *value)
DeleteAccountSettingRequest & WithName(SettingName &&value)
DeleteAccountSettingRequest & WithPrincipalArn(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
DeleteAccountSettingRequest & WithName(const SettingName &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String