AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAccountSettingRequest.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 "DeleteAccountSetting"; }
32
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
49 inline const SettingName& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline DeleteAccountSettingRequest& WithName(const SettingName& value) { SetName(value); return *this;}
54 inline DeleteAccountSettingRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;}
56
58
65 inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
66 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
67 inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
68 inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
69 inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
70 inline DeleteAccountSettingRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
71 inline DeleteAccountSettingRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
72 inline DeleteAccountSettingRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
74 private:
75
76 SettingName m_name;
77 bool m_nameHasBeenSet = false;
78
79 Aws::String m_principalArn;
80 bool m_principalArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ECS
85} // namespace Aws
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