/** * 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 DeleteAppInputSourceResult { public: AWS_RESILIENCEHUB_API DeleteAppInputSourceResult(); AWS_RESILIENCEHUB_API DeleteAppInputSourceResult(const Aws::AmazonWebServiceResult& result); AWS_RESILIENCEHUB_API DeleteAppInputSourceResult& 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 DeleteAppInputSourceResult& 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 DeleteAppInputSourceResult& 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 DeleteAppInputSourceResult& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *

The name of the input source from where the application resource is imported * from.

*/ inline const AppInputSource& GetAppInputSource() const{ return m_appInputSource; } /** *

The name of the input source from where the application resource is imported * from.

*/ inline void SetAppInputSource(const AppInputSource& value) { m_appInputSource = value; } /** *

The name of the input source from where the application resource is imported * from.

*/ inline void SetAppInputSource(AppInputSource&& value) { m_appInputSource = std::move(value); } /** *

The name of the input source from where the application resource is imported * from.

*/ inline DeleteAppInputSourceResult& WithAppInputSource(const AppInputSource& value) { SetAppInputSource(value); return *this;} /** *

The name of the input source from where the application resource is imported * from.

*/ inline DeleteAppInputSourceResult& WithAppInputSource(AppInputSource&& value) { SetAppInputSource(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 DeleteAppInputSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteAppInputSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteAppInputSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appArn; AppInputSource m_appInputSource; Aws::String m_requestId; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws