/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains changes to an existing service.See
* Also:
AWS
* API Reference
A description for the service.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the service.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the service.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the service.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the service.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the service.
*/ inline ServiceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the service.
*/ inline ServiceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the service.
*/ inline ServiceChange& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline const DnsConfigChange& GetDnsConfig() const{ return m_dnsConfig; } /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline bool DnsConfigHasBeenSet() const { return m_dnsConfigHasBeenSet; } /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline void SetDnsConfig(const DnsConfigChange& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = value; } /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline void SetDnsConfig(DnsConfigChange&& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = std::move(value); } /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline ServiceChange& WithDnsConfig(const DnsConfigChange& value) { SetDnsConfig(value); return *this;} /** *A complex type that contains information about the Route 53 DNS records that * you want AWS Cloud Map to create when you register an instance.
*/ inline ServiceChange& WithDnsConfig(DnsConfigChange&& value) { SetDnsConfig(std::move(value)); return *this;} inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; } inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; } inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; } inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); } inline ServiceChange& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;} inline ServiceChange& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet; DnsConfigChange m_dnsConfig; bool m_dnsConfigHasBeenSet; HealthCheckConfig m_healthCheckConfig; bool m_healthCheckConfigHasBeenSet; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws