AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename StackNameT = Aws::String>
51 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
52 template<typename StackNameT = Aws::String>
53 SignalResourceRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
55
57
61 inline const Aws::String& GetLogicalResourceId() const { return m_logicalResourceId; }
62 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
63 template<typename LogicalResourceIdT = Aws::String>
64 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
65 template<typename LogicalResourceIdT = Aws::String>
66 SignalResourceRequest& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
68
70
76 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
77 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
78 template<typename UniqueIdT = Aws::String>
79 void SetUniqueId(UniqueIdT&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::forward<UniqueIdT>(value); }
80 template<typename UniqueIdT = Aws::String>
81 SignalResourceRequest& WithUniqueId(UniqueIdT&& value) { SetUniqueId(std::forward<UniqueIdT>(value)); return *this;}
83
85
90 inline ResourceSignalStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(ResourceSignalStatus value) { m_statusHasBeenSet = true; m_status = value; }
93 inline SignalResourceRequest& WithStatus(ResourceSignalStatus value) { SetStatus(value); return *this;}
95 private:
96
97 Aws::String m_stackName;
98 bool m_stackNameHasBeenSet = false;
99
100 Aws::String m_logicalResourceId;
101 bool m_logicalResourceIdHasBeenSet = false;
102
103 Aws::String m_uniqueId;
104 bool m_uniqueIdHasBeenSet = false;
105
107 bool m_statusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CloudFormation
112} // namespace Aws
SignalResourceRequest & WithStackName(StackNameT &&value)
SignalResourceRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
virtual const char * GetServiceRequestName() const override
SignalResourceRequest & WithStatus(ResourceSignalStatus value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SignalResourceRequest & WithUniqueId(UniqueIdT &&value)
AWS_CLOUDFORMATION_API SignalResourceRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String