/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ServerlessApplicationRepository { namespace Model { /** *

This property corresponds to the AWS CloudFormation RollbackTrigger * Data Type.

See Also:

AWS * API Reference

*/ class RollbackTrigger { public: AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger(); AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger(Aws::Utils::Json::JsonView jsonValue); AWS_SERVERLESSAPPLICATIONREPOSITORY_API RollbackTrigger& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithArn(const char* value) { SetArn(value); return *this;} /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

This property corresponds to the content of the same name for the AWS * CloudFormation RollbackTrigger * Data Type.

*/ inline RollbackTrigger& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace ServerlessApplicationRepository } // namespace Aws