/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ResilienceHub { namespace Model { /** */ class UpdateAppVersionAppComponentRequest : public ResilienceHubRequest { public: AWS_RESILIENCEHUB_API UpdateAppVersionAppComponentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateAppVersionAppComponent"; } AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override; /** *

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

*/ inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; } /** *

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

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

Currently, there is no supported additional information for Application * Components.

*/ inline UpdateAppVersionAppComponentRequest& AddAdditionalInfo(const char* key, const Aws::Vector& value) { m_additionalInfoHasBeenSet = true; 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 bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; } /** *

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_appArnHasBeenSet = true; 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_appArnHasBeenSet = true; 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_appArnHasBeenSet = true; 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 UpdateAppVersionAppComponentRequest& 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 UpdateAppVersionAppComponentRequest& 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 UpdateAppVersionAppComponentRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *

The identifier of the Application Component.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the Application Component.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier of the Application Component.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The identifier of the Application Component.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The identifier of the Application Component.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The identifier of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the Application Component.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Application Component.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the Application Component.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the Application Component.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the Application Component.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Application Component.

*/ inline UpdateAppVersionAppComponentRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

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

The type of Application Component. For more information about the types of * Application Component, see Grouping * resources in an AppComponent.

*/ inline UpdateAppVersionAppComponentRequest& WithType(const char* value) { SetType(value); return *this;} private: Aws::Map> m_additionalInfo; bool m_additionalInfoHasBeenSet = false; Aws::String m_appArn; bool m_appArnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws