AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteChangeSetRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFormation {
15namespace Model {
16
24 public:
25 AWS_CLOUDFORMATION_API DeleteChangeSetRequest() = 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 "DeleteChangeSet"; }
32
33 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetChangeSetName() const { return m_changeSetName; }
45 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
46 template <typename ChangeSetNameT = Aws::String>
47 void SetChangeSetName(ChangeSetNameT&& value) {
48 m_changeSetNameHasBeenSet = true;
49 m_changeSetName = std::forward<ChangeSetNameT>(value);
50 }
51 template <typename ChangeSetNameT = Aws::String>
52 DeleteChangeSetRequest& WithChangeSetName(ChangeSetNameT&& value) {
53 SetChangeSetName(std::forward<ChangeSetNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetStackName() const { return m_stackName; }
64 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
65 template <typename StackNameT = Aws::String>
66 void SetStackName(StackNameT&& value) {
67 m_stackNameHasBeenSet = true;
68 m_stackName = std::forward<StackNameT>(value);
69 }
70 template <typename StackNameT = Aws::String>
72 SetStackName(std::forward<StackNameT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_changeSetName;
78
79 Aws::String m_stackName;
80 bool m_changeSetNameHasBeenSet = false;
81 bool m_stackNameHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CloudFormation
86} // namespace Aws
DeleteChangeSetRequest & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API DeleteChangeSetRequest()=default
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteChangeSetRequest & WithChangeSetName(ChangeSetNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String