/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ResilienceHub { namespace Model { class DeleteAppVersionResourceResult { public: AWS_RESILIENCEHUB_API DeleteAppVersionResourceResult(); AWS_RESILIENCEHUB_API DeleteAppVersionResourceResult(const Aws::AmazonWebServiceResult& result); AWS_RESILIENCEHUB_API DeleteAppVersionResourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline const Aws::String& GetAppArn() const{ return m_appArn; } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(const Aws::String& value) { m_appArn = value; } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(const char* value) { m_appArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppVersionResourceResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppVersionResourceResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppVersionResourceResult& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *

The Resilience Hub application version.

*/ inline const Aws::String& GetAppVersion() const{ return m_appVersion; } /** *

The Resilience Hub application version.

*/ inline void SetAppVersion(const Aws::String& value) { m_appVersion = value; } /** *

The Resilience Hub application version.

*/ inline void SetAppVersion(Aws::String&& value) { m_appVersion = std::move(value); } /** *

The Resilience Hub application version.

*/ inline void SetAppVersion(const char* value) { m_appVersion.assign(value); } /** *

The Resilience Hub application version.

*/ inline DeleteAppVersionResourceResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;} /** *

The Resilience Hub application version.

*/ inline DeleteAppVersionResourceResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;} /** *

The Resilience Hub application version.

*/ inline DeleteAppVersionResourceResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;} /** *

Defines a physical resource. A physical resource is a resource that exists in * your account. It can be identified using an Amazon Resource Name (ARN) or a * Resilience Hub-native identifier.

*/ inline const PhysicalResource& GetPhysicalResource() const{ return m_physicalResource; } /** *

Defines a physical resource. A physical resource is a resource that exists in * your account. It can be identified using an Amazon Resource Name (ARN) or a * Resilience Hub-native identifier.

*/ inline void SetPhysicalResource(const PhysicalResource& value) { m_physicalResource = value; } /** *

Defines a physical resource. A physical resource is a resource that exists in * your account. It can be identified using an Amazon Resource Name (ARN) or a * Resilience Hub-native identifier.

*/ inline void SetPhysicalResource(PhysicalResource&& value) { m_physicalResource = std::move(value); } /** *

Defines a physical resource. A physical resource is a resource that exists in * your account. It can be identified using an Amazon Resource Name (ARN) or a * Resilience Hub-native identifier.

*/ inline DeleteAppVersionResourceResult& WithPhysicalResource(const PhysicalResource& value) { SetPhysicalResource(value); return *this;} /** *

Defines a physical resource. A physical resource is a resource that exists in * your account. It can be identified using an Amazon Resource Name (ARN) or a * Resilience Hub-native identifier.

*/ inline DeleteAppVersionResourceResult& WithPhysicalResource(PhysicalResource&& value) { SetPhysicalResource(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteAppVersionResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteAppVersionResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteAppVersionResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appArn; Aws::String m_appVersion; PhysicalResource m_physicalResource; Aws::String m_requestId; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws