AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
57 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
58 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
59 inline CancelUpdateStackRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
60 inline CancelUpdateStackRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
61 inline CancelUpdateStackRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
63
65
72 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
75 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
76 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
78 inline CancelUpdateStackRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
79 inline CancelUpdateStackRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
81 private:
82
83 Aws::String m_stackName;
84 bool m_stackNameHasBeenSet = false;
85
86 Aws::String m_clientRequestToken;
87 bool m_clientRequestTokenHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudFormation
92} // namespace Aws
CancelUpdateStackRequest & WithStackName(const char *value)
CancelUpdateStackRequest & WithStackName(const Aws::String &value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
CancelUpdateStackRequest & WithStackName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CancelUpdateStackRequest & WithClientRequestToken(const Aws::String &value)
CancelUpdateStackRequest & WithClientRequestToken(const char *value)
CancelUpdateStackRequest & WithClientRequestToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String