This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

200 lines
6.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServerlessApplicationRepository
{
namespace Model
{
/**
* <p>This property corresponds to the <i>AWS CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/RollbackTrigger">AWS
* API Reference</a></p>
*/
class AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger
{
public:
RollbackTrigger();
RollbackTrigger(Aws::Utils::Json::JsonView jsonValue);
RollbackTrigger& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline const Aws::String& GetType() const{ return m_type; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithType(const Aws::String& value) { SetType(value); return *this;}
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
/**
* <p>This property corresponds to the content of the same name for the <i>AWS
* CloudFormation <a
* href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
* </i> Data Type.</p>
*/
inline RollbackTrigger& WithType(const char* value) { SetType(value); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_type;
bool m_typeHasBeenSet;
};
} // namespace Model
} // namespace ServerlessApplicationRepository
} // namespace Aws