AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignalResourceRequest.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 <aws/cloudformation/model/ResourceSignalStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFormation
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CLOUDFORMATION_API SignalResourceRequest();
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 "SignalResource"; }
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
48 inline const Aws::String& GetStackName() const{ return m_stackName; }
49 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
50 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
51 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
52 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
53 inline SignalResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
54 inline SignalResourceRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
55 inline SignalResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
57
59
63 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
64 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
65 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
66 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
67 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
68 inline SignalResourceRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
69 inline SignalResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
70 inline SignalResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
72
74
80 inline const Aws::String& GetUniqueId() const{ return m_uniqueId; }
81 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
82 inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
83 inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); }
84 inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); }
85 inline SignalResourceRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;}
86 inline SignalResourceRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;}
87 inline SignalResourceRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;}
89
91
96 inline const ResourceSignalStatus& GetStatus() const{ return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(const ResourceSignalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
99 inline void SetStatus(ResourceSignalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
100 inline SignalResourceRequest& WithStatus(const ResourceSignalStatus& value) { SetStatus(value); return *this;}
101 inline SignalResourceRequest& WithStatus(ResourceSignalStatus&& value) { SetStatus(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_stackName;
106 bool m_stackNameHasBeenSet = false;
107
108 Aws::String m_logicalResourceId;
109 bool m_logicalResourceIdHasBeenSet = false;
110
111 Aws::String m_uniqueId;
112 bool m_uniqueIdHasBeenSet = false;
113
114 ResourceSignalStatus m_status;
115 bool m_statusHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CloudFormation
120} // namespace Aws
SignalResourceRequest & WithUniqueId(Aws::String &&value)
SignalResourceRequest & WithLogicalResourceId(Aws::String &&value)
SignalResourceRequest & WithUniqueId(const char *value)
SignalResourceRequest & WithUniqueId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SignalResourceRequest & WithStackName(const Aws::String &value)
void SetStatus(const ResourceSignalStatus &value)
SignalResourceRequest & WithStatus(ResourceSignalStatus &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
SignalResourceRequest & WithLogicalResourceId(const char *value)
SignalResourceRequest & WithStackName(Aws::String &&value)
SignalResourceRequest & WithStatus(const ResourceSignalStatus &value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SignalResourceRequest & WithStackName(const char *value)
SignalResourceRequest & WithLogicalResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String