/** * 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 Proton { namespace Model { /** */ class GetServiceSyncBlockerSummaryRequest : public ProtonRequest { public: AWS_PROTON_API GetServiceSyncBlockerSummaryRequest(); // 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 "GetServiceSyncBlockerSummary"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; } /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; } /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; } /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); } /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); } /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceInstanceName(const Aws::String& value) { SetServiceInstanceName(value); return *this;} /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;} /** *

The name of the service instance that you want to get the service sync * blocker summary for. If given bothe the instance name and the service name, only * the instance is blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;} /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *

The name of the service that you want to get the service sync blocker summary * for. If given only the service name, all instances are blocked.

*/ inline GetServiceSyncBlockerSummaryRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::String m_serviceInstanceName; bool m_serviceInstanceNameHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws