/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If a service instance is manually updated, Proton wants to prevent
* accidentally overriding a manual change. A blocker is created because of
* the manual update or deletion of a service instance. The summary describes the
* blocker as being active or resolved.See Also:
AWS
* API Reference
The latest active blockers for the synced service.
*/ inline const Aws::VectorThe latest active blockers for the synced service.
*/ inline bool LatestBlockersHasBeenSet() const { return m_latestBlockersHasBeenSet; } /** *The latest active blockers for the synced service.
*/ inline void SetLatestBlockers(const Aws::VectorThe latest active blockers for the synced service.
*/ inline void SetLatestBlockers(Aws::VectorThe latest active blockers for the synced service.
*/ inline ServiceSyncBlockerSummary& WithLatestBlockers(const Aws::VectorThe latest active blockers for the synced service.
*/ inline ServiceSyncBlockerSummary& WithLatestBlockers(Aws::VectorThe latest active blockers for the synced service.
*/ inline ServiceSyncBlockerSummary& AddLatestBlockers(const SyncBlocker& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(value); return *this; } /** *The latest active blockers for the synced service.
*/ inline ServiceSyncBlockerSummary& AddLatestBlockers(SyncBlocker&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(std::move(value)); return *this; } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); } /** *The name of the service instance that you want sync your service * configuration with.
*/ inline ServiceSyncBlockerSummary& WithServiceInstanceName(const Aws::String& value) { SetServiceInstanceName(value); return *this;} /** *The name of the service instance that you want sync your service * configuration with.
*/ inline ServiceSyncBlockerSummary& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;} /** *The name of the service instance that you want sync your service * configuration with.
*/ inline ServiceSyncBlockerSummary& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;} /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ 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 sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline ServiceSyncBlockerSummary& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline ServiceSyncBlockerSummary& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the service that you want to get the sync blocker summary for. If * given a service instance name and a service name, it will return the blockers * only applying to the instance that is blocked.
If given only a service * name, it will return the blockers that apply to all of the instances. In order * to get the blockers for a single instance, you will need to make two distinct * calls, one to get the sync blocker summary for the service and the other to get * the sync blocker for the service instance.
*/ inline ServiceSyncBlockerSummary& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::Vector