AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelUpdateStackRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudFormation
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_CLOUDFORMATION_API CancelUpdateStackRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CancelUpdateStack"; }
35
36 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
54 inline const Aws::String& GetStackName() const { return m_stackName; }
55 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
56 template<typename StackNameT = Aws::String>
57 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
58 template<typename StackNameT = Aws::String>
59 CancelUpdateStackRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
61
63
70 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
71 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
72 template<typename ClientRequestTokenT = Aws::String>
73 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
74 template<typename ClientRequestTokenT = Aws::String>
75 CancelUpdateStackRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
77 private:
78
79 Aws::String m_stackName;
80 bool m_stackNameHasBeenSet = false;
81
82 Aws::String m_clientRequestToken;
83 bool m_clientRequestTokenHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace CloudFormation
88} // namespace Aws
CancelUpdateStackRequest & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CancelUpdateStackRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDFORMATION_API CancelUpdateStackRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String