/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/proton/Proton_EXPORTS.h> #include <aws/proton/ProtonRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Proton { namespace Model { /** */ class DeleteServiceSyncConfigRequest : public ProtonRequest { public: AWS_PROTON_API DeleteServiceSyncConfigRequest(); // 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 "DeleteServiceSyncConfig"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline DeleteServiceSyncConfigRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline DeleteServiceSyncConfigRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** * <p>The name of the service that you want to delete the service sync * configuration for.</p> */ inline DeleteServiceSyncConfigRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws