/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the SignalResource action.See Also:
AWS
* API Reference
The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline SignalResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline SignalResourceRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *The stack name or unique stack ID that includes the resource that you want to * signal.
*/ inline SignalResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;} /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; } /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; } /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; } /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); } /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); } /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline SignalResourceRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;} /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline SignalResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;} /** *The logical ID of the resource that you want to signal. The logical ID is the * name of the resource that given in the template.
*/ inline SignalResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;} /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline const Aws::String& GetUniqueId() const{ return m_uniqueId; } /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; } /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; } /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); } /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); } /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline SignalResourceRequest& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;} /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline SignalResourceRequest& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;} /** *A unique ID of the signal. When you signal Amazon EC2 instances or Auto * Scaling groups, specify the instance ID that you are signaling as the unique ID. * If you send multiple signals to a single resource (such as signaling a wait * condition), each signal requires a different unique ID.
*/ inline SignalResourceRequest& WithUniqueId(const char* value) { SetUniqueId(value); return *this;} /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline const ResourceSignalStatus& GetStatus() const{ return m_status; } /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline void SetStatus(const ResourceSignalStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline void SetStatus(ResourceSignalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline SignalResourceRequest& WithStatus(const ResourceSignalStatus& value) { SetStatus(value); return *this;} /** *The status of the signal, which is either success or failure. A failure * signal causes CloudFormation to immediately fail the stack creation or * update.
*/ inline SignalResourceRequest& WithStatus(ResourceSignalStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_logicalResourceId; bool m_logicalResourceIdHasBeenSet = false; Aws::String m_uniqueId; bool m_uniqueIdHasBeenSet = false; ResourceSignalStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws