This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

121 lines
4.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
#include <aws/servicediscovery/model/DnsProperties.h>
#include <aws/servicediscovery/model/HttpProperties.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceDiscovery
{
namespace Model
{
/**
* <p>A complex type that contains information that is specific to the namespace
* type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceProperties">AWS
* API Reference</a></p>
*/
class AWS_SERVICEDISCOVERY_API NamespaceProperties
{
public:
NamespaceProperties();
NamespaceProperties(Aws::Utils::Json::JsonView jsonValue);
NamespaceProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline const DnsProperties& GetDnsProperties() const{ return m_dnsProperties; }
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline void SetDnsProperties(const DnsProperties& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; }
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline void SetDnsProperties(DnsProperties&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); }
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline NamespaceProperties& WithDnsProperties(const DnsProperties& value) { SetDnsProperties(value); return *this;}
/**
* <p>A complex type that contains the ID for the Route 53 hosted zone that AWS
* Cloud Map creates when you create a namespace.</p>
*/
inline NamespaceProperties& WithDnsProperties(DnsProperties&& value) { SetDnsProperties(std::move(value)); return *this;}
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline const HttpProperties& GetHttpProperties() const{ return m_httpProperties; }
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline bool HttpPropertiesHasBeenSet() const { return m_httpPropertiesHasBeenSet; }
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline void SetHttpProperties(const HttpProperties& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = value; }
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline void SetHttpProperties(HttpProperties&& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = std::move(value); }
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline NamespaceProperties& WithHttpProperties(const HttpProperties& value) { SetHttpProperties(value); return *this;}
/**
* <p>A complex type that contains the name of an HTTP namespace.</p>
*/
inline NamespaceProperties& WithHttpProperties(HttpProperties&& value) { SetHttpProperties(std::move(value)); return *this;}
private:
DnsProperties m_dnsProperties;
bool m_dnsPropertiesHasBeenSet;
HttpProperties m_httpProperties;
bool m_httpPropertiesHasBeenSet;
};
} // namespace Model
} // namespace ServiceDiscovery
} // namespace Aws