AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DeleteAccountSettingRequest.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 DeleteAccountSettingRequest() = 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 "DeleteAccountSetting"; }
29
30 AWS_ECS_API Aws::String SerializePayload() const override;
31
33
35
45 inline SettingName GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(SettingName value) {
48 m_nameHasBeenSet = true;
49 m_name = value;
50 }
52 SetName(value);
53 return *this;
54 }
56
58
66 inline const Aws::String& GetPrincipalArn() const { return m_principalArn; }
67 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
68 template <typename PrincipalArnT = Aws::String>
69 void SetPrincipalArn(PrincipalArnT&& value) {
70 m_principalArnHasBeenSet = true;
71 m_principalArn = std::forward<PrincipalArnT>(value);
72 }
73 template <typename PrincipalArnT = Aws::String>
75 SetPrincipalArn(std::forward<PrincipalArnT>(value));
76 return *this;
77 }
79 private:
81
82 Aws::String m_principalArn;
83 bool m_nameHasBeenSet = false;
84 bool m_principalArnHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ECS
89} // namespace Aws
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteAccountSettingRequest & WithName(SettingName value)
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API DeleteAccountSettingRequest()=default
DeleteAccountSettingRequest & WithPrincipalArn(PrincipalArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String