AWS SDK for C++  0.14.3
AWS SDK for C++
SignalResourceRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace CloudFormation
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
41  inline const Aws::String& GetStackName() const{ return m_stackName; }
42 
47  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
48 
53  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
54 
59  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
60 
65  inline SignalResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
66 
71  inline SignalResourceRequest& WithStackName(Aws::String&& value) { SetStackName(value); return *this;}
72 
77  inline SignalResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
78 
83  inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
84 
89  inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
90 
95  inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
96 
101  inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
102 
107  inline SignalResourceRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
108 
113  inline SignalResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(value); return *this;}
114 
119  inline SignalResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
120 
127  inline const Aws::String& GetUniqueId() const{ return m_uniqueId; }
128 
135  inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
136 
143  inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
144 
151  inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); }
152 
159  inline SignalResourceRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;}
160 
167  inline SignalResourceRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(value); return *this;}
168 
175  inline SignalResourceRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;}
176 
182  inline const ResourceSignalStatus& GetStatus() const{ return m_status; }
183 
189  inline void SetStatus(const ResourceSignalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
190 
196  inline void SetStatus(ResourceSignalStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
197 
203  inline SignalResourceRequest& WithStatus(const ResourceSignalStatus& value) { SetStatus(value); return *this;}
204 
210  inline SignalResourceRequest& WithStatus(ResourceSignalStatus&& value) { SetStatus(value); return *this;}
211 
212  private:
213  Aws::String m_stackName;
214  bool m_stackNameHasBeenSet;
215  Aws::String m_logicalResourceId;
216  bool m_logicalResourceIdHasBeenSet;
217  Aws::String m_uniqueId;
218  bool m_uniqueIdHasBeenSet;
219  ResourceSignalStatus m_status;
220  bool m_statusHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace CloudFormation
225 } // namespace Aws
SignalResourceRequest & WithUniqueId(const Aws::String &value)
SignalResourceRequest & WithStackName(const Aws::String &value)
SignalResourceRequest & WithLogicalResourceId(Aws::String &&value)
SignalResourceRequest & WithStackName(Aws::String &&value)
const ResourceSignalStatus & GetStatus() const
void SetStatus(const ResourceSignalStatus &value)
SignalResourceRequest & WithUniqueId(const char *value)
SignalResourceRequest & WithLogicalResourceId(const char *value)
SignalResourceRequest & WithStatus(const ResourceSignalStatus &value)
SignalResourceRequest & WithUniqueId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
SignalResourceRequest & WithLogicalResourceId(const Aws::String &value)
SignalResourceRequest & WithStackName(const char *value)
SignalResourceRequest & WithStatus(ResourceSignalStatus &&value)
JSON (JavaScript Object Notation).