/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the service and cluster names used to identify an Amazon ECS
* deployment's target. See Also:
AWS
* API Reference
The name of the target Amazon ECS service.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the target Amazon ECS service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the target Amazon ECS service.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the target Amazon ECS service.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the target Amazon ECS service.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the target Amazon ECS service.
*/ inline ECSService& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the target Amazon ECS service.
*/ inline ECSService& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the target Amazon ECS service.
*/ inline ECSService& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline ECSService& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline ECSService& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *The name of the cluster that the Amazon ECS service is associated with.
*/ inline ECSService& WithClusterName(const char* value) { SetClusterName(value); return *this;} private: Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws