AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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