/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace DevOpsGuru { namespace Model { /** */ class UpdateServiceIntegrationRequest : public DevOpsGuruRequest { public: AWS_DEVOPSGURU_API UpdateServiceIntegrationRequest(); // 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 "UpdateServiceIntegration"; } AWS_DEVOPSGURU_API Aws::String SerializePayload() const override; /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline const UpdateServiceIntegrationConfig& GetServiceIntegration() const{ return m_serviceIntegration; } /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline bool ServiceIntegrationHasBeenSet() const { return m_serviceIntegrationHasBeenSet; } /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline void SetServiceIntegration(const UpdateServiceIntegrationConfig& value) { m_serviceIntegrationHasBeenSet = true; m_serviceIntegration = value; } /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline void SetServiceIntegration(UpdateServiceIntegrationConfig&& value) { m_serviceIntegrationHasBeenSet = true; m_serviceIntegration = std::move(value); } /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline UpdateServiceIntegrationRequest& WithServiceIntegration(const UpdateServiceIntegrationConfig& value) { SetServiceIntegration(value); return *this;} /** *

An IntegratedServiceConfig object used to specify the * integrated service you want to update, and whether you want to update it to * enabled or disabled.

*/ inline UpdateServiceIntegrationRequest& WithServiceIntegration(UpdateServiceIntegrationConfig&& value) { SetServiceIntegration(std::move(value)); return *this;} private: UpdateServiceIntegrationConfig m_serviceIntegration; bool m_serviceIntegrationHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws