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

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline const Aws::Map>& GetAdditionalInfo() const{ return m_additionalInfo; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline void SetAdditionalInfo(const Aws::Map>& value) { m_additionalInfo = value; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline void SetAdditionalInfo(Aws::Map>&& value) { m_additionalInfo = std::move(value); } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& WithAdditionalInfo(const Aws::Map>& value) { SetAdditionalInfo(value); return *this;} /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& WithAdditionalInfo(Aws::Map>&& value) { SetAdditionalInfo(std::move(value)); return *this;} /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(const Aws::String& key, const Aws::Vector& value) { m_additionalInfo.emplace(key, value); return *this; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(Aws::String&& key, const Aws::Vector& value) { m_additionalInfo.emplace(std::move(key), value); return *this; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(const Aws::String& key, Aws::Vector&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(Aws::String&& key, Aws::Vector&& value) { m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(const char* key, Aws::Vector&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *

Additional configuration parameters for an Resilience Hub application. If you * want to implement additionalInfo through the Resilience Hub console * rather than using an API call, see Configure * the application configuration parameters.

Currently, this * parameter supports only failover region and account.

*/ inline UpdateAppVersionResult& AddAdditionalInfo(const char* key, const Aws::Vector& value) { m_additionalInfo.emplace(key, 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 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 UpdateAppVersionResult& 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 UpdateAppVersionResult& 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 UpdateAppVersionResult& 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 UpdateAppVersionResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;} /** *

The Resilience Hub application version.

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

The Resilience Hub application version.

*/ inline UpdateAppVersionResult& WithAppVersion(const char* value) { SetAppVersion(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 UpdateAppVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAppVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAppVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map> m_additionalInfo; Aws::String m_appArn; Aws::String m_appVersion; Aws::String m_requestId; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws