1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h> 8 #include <aws/servicediscovery/model/PrivateDnsPropertiesMutableChange.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace ServiceDiscovery 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>Updated properties for the private DNS namespace.</p><p><h3>See Also:</h3> 28 * <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/PrivateDnsNamespacePropertiesChange">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_SERVICEDISCOVERY_API PrivateDnsNamespacePropertiesChange 33 { 34 public: 35 PrivateDnsNamespacePropertiesChange(); 36 PrivateDnsNamespacePropertiesChange(Aws::Utils::Json::JsonView jsonValue); 37 PrivateDnsNamespacePropertiesChange& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>Updated DNS properties for the private DNS namespace.</p> 43 */ GetDnsProperties()44 inline const PrivateDnsPropertiesMutableChange& GetDnsProperties() const{ return m_dnsProperties; } 45 46 /** 47 * <p>Updated DNS properties for the private DNS namespace.</p> 48 */ DnsPropertiesHasBeenSet()49 inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; } 50 51 /** 52 * <p>Updated DNS properties for the private DNS namespace.</p> 53 */ SetDnsProperties(const PrivateDnsPropertiesMutableChange & value)54 inline void SetDnsProperties(const PrivateDnsPropertiesMutableChange& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; } 55 56 /** 57 * <p>Updated DNS properties for the private DNS namespace.</p> 58 */ SetDnsProperties(PrivateDnsPropertiesMutableChange && value)59 inline void SetDnsProperties(PrivateDnsPropertiesMutableChange&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); } 60 61 /** 62 * <p>Updated DNS properties for the private DNS namespace.</p> 63 */ WithDnsProperties(const PrivateDnsPropertiesMutableChange & value)64 inline PrivateDnsNamespacePropertiesChange& WithDnsProperties(const PrivateDnsPropertiesMutableChange& value) { SetDnsProperties(value); return *this;} 65 66 /** 67 * <p>Updated DNS properties for the private DNS namespace.</p> 68 */ WithDnsProperties(PrivateDnsPropertiesMutableChange && value)69 inline PrivateDnsNamespacePropertiesChange& WithDnsProperties(PrivateDnsPropertiesMutableChange&& value) { SetDnsProperties(std::move(value)); return *this;} 70 71 private: 72 73 PrivateDnsPropertiesMutableChange m_dnsProperties; 74 bool m_dnsPropertiesHasBeenSet; 75 }; 76 77 } // namespace Model 78 } // namespace ServiceDiscovery 79 } // namespace Aws 80