AWS SDK for C++  1.9.109
AWS SDK for C++
SignalResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CloudFormation
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetStackName() const{ return m_stackName; }
48 
53  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
54 
59  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
60 
65  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
66 
71  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
72 
77  inline SignalResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
78 
83  inline SignalResourceRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
84 
89  inline SignalResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
90 
91 
96  inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
97 
102  inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
103 
108  inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
109 
114  inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
115 
120  inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
121 
126  inline SignalResourceRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
127 
132  inline SignalResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
133 
138  inline SignalResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
139 
140 
147  inline const Aws::String& GetUniqueId() const{ return m_uniqueId; }
148 
155  inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
156 
163  inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
164 
171  inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); }
172 
179  inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); }
180 
187  inline SignalResourceRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;}
188 
195  inline SignalResourceRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;}
196 
203  inline SignalResourceRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;}
204 
205 
211  inline const ResourceSignalStatus& GetStatus() const{ return m_status; }
212 
218  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
219 
225  inline void SetStatus(const ResourceSignalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
226 
232  inline void SetStatus(ResourceSignalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
233 
239  inline SignalResourceRequest& WithStatus(const ResourceSignalStatus& value) { SetStatus(value); return *this;}
240 
246  inline SignalResourceRequest& WithStatus(ResourceSignalStatus&& value) { SetStatus(std::move(value)); return *this;}
247 
248  private:
249 
250  Aws::String m_stackName;
251  bool m_stackNameHasBeenSet;
252 
253  Aws::String m_logicalResourceId;
254  bool m_logicalResourceIdHasBeenSet;
255 
256  Aws::String m_uniqueId;
257  bool m_uniqueIdHasBeenSet;
258 
259  ResourceSignalStatus m_status;
260  bool m_statusHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace CloudFormation
265 } // namespace Aws
Aws::CloudFormation::Model::SignalResourceRequest::WithLogicalResourceId
SignalResourceRequest & WithLogicalResourceId(const char *value)
Definition: SignalResourceRequest.h:138
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::SignalResourceRequest::SetUniqueId
void SetUniqueId(Aws::String &&value)
Definition: SignalResourceRequest.h:171
Aws::CloudFormation::Model::SignalResourceRequest::SetStackName
void SetStackName(Aws::String &&value)
Definition: SignalResourceRequest.h:65
Aws::CloudFormation::Model::SignalResourceRequest::GetStatus
const ResourceSignalStatus & GetStatus() const
Definition: SignalResourceRequest.h:211
Aws::CloudFormation::Model::SignalResourceRequest::WithStatus
SignalResourceRequest & WithStatus(ResourceSignalStatus &&value)
Definition: SignalResourceRequest.h:246
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::SignalResourceRequest::GetLogicalResourceId
const Aws::String & GetLogicalResourceId() const
Definition: SignalResourceRequest.h:96
Aws::CloudFormation::Model::SignalResourceRequest::WithStackName
SignalResourceRequest & WithStackName(const Aws::String &value)
Definition: SignalResourceRequest.h:77
Aws::CloudFormation::Model::SignalResourceRequest::GetUniqueId
const Aws::String & GetUniqueId() const
Definition: SignalResourceRequest.h:147
Aws::CloudFormation::Model::SignalResourceRequest::WithLogicalResourceId
SignalResourceRequest & WithLogicalResourceId(Aws::String &&value)
Definition: SignalResourceRequest.h:132
Aws::CloudFormation::Model::SignalResourceRequest::SignalResourceRequest
SignalResourceRequest()
Aws::CloudFormation::Model::SignalResourceRequest::WithStatus
SignalResourceRequest & WithStatus(const ResourceSignalStatus &value)
Definition: SignalResourceRequest.h:239
Aws::CloudFormation::Model::SignalResourceRequest::SerializePayload
Aws::String SerializePayload() const override
CloudFormationRequest.h
Aws::CloudFormation::Model::SignalResourceRequest::WithUniqueId
SignalResourceRequest & WithUniqueId(const Aws::String &value)
Definition: SignalResourceRequest.h:187
Aws::CloudFormation::Model::ResourceSignalStatus
ResourceSignalStatus
Definition: ResourceSignalStatus.h:17
ResourceSignalStatus.h
Aws::CloudFormation::Model::SignalResourceRequest
Definition: SignalResourceRequest.h:26
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::SignalResourceRequest::SetUniqueId
void SetUniqueId(const char *value)
Definition: SignalResourceRequest.h:179
Aws::CloudFormation::Model::SignalResourceRequest::StackNameHasBeenSet
bool StackNameHasBeenSet() const
Definition: SignalResourceRequest.h:53
AWSString.h
Aws::CloudFormation::Model::SignalResourceRequest::WithUniqueId
SignalResourceRequest & WithUniqueId(const char *value)
Definition: SignalResourceRequest.h:203
Aws::CloudFormation::Model::SignalResourceRequest::UniqueIdHasBeenSet
bool UniqueIdHasBeenSet() const
Definition: SignalResourceRequest.h:155
Aws::CloudFormation::Model::SignalResourceRequest::SetStatus
void SetStatus(const ResourceSignalStatus &value)
Definition: SignalResourceRequest.h:225
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws::CloudFormation::Model::SignalResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(const Aws::String &value)
Definition: SignalResourceRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFormation::Model::SignalResourceRequest::SetStatus
void SetStatus(ResourceSignalStatus &&value)
Definition: SignalResourceRequest.h:232
Aws::CloudFormation::Model::SignalResourceRequest::WithUniqueId
SignalResourceRequest & WithUniqueId(Aws::String &&value)
Definition: SignalResourceRequest.h:195
Aws::CloudFormation::Model::SignalResourceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::SignalResourceRequest::LogicalResourceIdHasBeenSet
bool LogicalResourceIdHasBeenSet() const
Definition: SignalResourceRequest.h:102
Aws::CloudFormation::Model::SignalResourceRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SignalResourceRequest.h:218
Aws::CloudFormation::Model::SignalResourceRequest::SetStackName
void SetStackName(const Aws::String &value)
Definition: SignalResourceRequest.h:59
Aws::CloudFormation::Model::SignalResourceRequest::SetUniqueId
void SetUniqueId(const Aws::String &value)
Definition: SignalResourceRequest.h:163
Aws::CloudFormation::Model::SignalResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(const char *value)
Definition: SignalResourceRequest.h:120
Aws::CloudFormation::Model::SignalResourceRequest::WithStackName
SignalResourceRequest & WithStackName(Aws::String &&value)
Definition: SignalResourceRequest.h:83
Aws::CloudFormation::Model::SignalResourceRequest::GetStackName
const Aws::String & GetStackName() const
Definition: SignalResourceRequest.h:47
Aws::CloudFormation::Model::SignalResourceRequest::WithLogicalResourceId
SignalResourceRequest & WithLogicalResourceId(const Aws::String &value)
Definition: SignalResourceRequest.h:126
Aws::CloudFormation::Model::SignalResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SignalResourceRequest.h:34
Aws::CloudFormation::Model::SignalResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(Aws::String &&value)
Definition: SignalResourceRequest.h:114
Aws::CloudFormation::Model::SignalResourceRequest::WithStackName
SignalResourceRequest & WithStackName(const char *value)
Definition: SignalResourceRequest.h:89
Aws::CloudFormation::Model::SignalResourceRequest::SetStackName
void SetStackName(const char *value)
Definition: SignalResourceRequest.h:71