98 lines
3.0 KiB
C
98 lines
3.0 KiB
C
|
|
/**
|
|||
|
|
* 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/core/utils/memory/stl/AWSString.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 the ID for the Route 53 hosted zone that AWS
|
|||
|
|
* Cloud Map creates when you create a namespace.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SERVICEDISCOVERY_API DnsProperties
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DnsProperties();
|
|||
|
|
DnsProperties(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
DnsProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline DnsProperties& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline DnsProperties& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID for the Route 53 hosted zone that AWS Cloud Map creates when you
|
|||
|
|
* create a namespace.</p>
|
|||
|
|
*/
|
|||
|
|
inline DnsProperties& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_hostedZoneId;
|
|||
|
|
bool m_hostedZoneIdHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ServiceDiscovery
|
|||
|
|
} // namespace Aws
|