/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains information about a specified
* namespace.See Also:
AWS
* API Reference
The ID of a namespace.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of a namespace.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of a namespace.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of a namespace.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of a namespace.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of a namespace.
*/ inline Namespace& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of a namespace.
*/ inline Namespace& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of a namespace.
*/ inline Namespace& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline Namespace& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline Namespace& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when * you create it.
*/ inline Namespace& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The name of the namespace, such as example.com.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The type of the namespace. The methods for discovering instances depends on * the value that you specify:
Instances can be
* discovered only programmatically, using the Cloud Map
* DiscoverInstances API.
Instances can be discovered using public DNS queries and using the
* DiscoverInstances API.
Instances can be discovered using DNS queries in VPCs and using the
* DiscoverInstances API.
The description that you specify for the namespace when you create it.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description that you specify for the namespace when you create it.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description that you specify for the namespace when you create it.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description that you specify for the namespace when you create it.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description that you specify for the namespace when you create it.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description that you specify for the namespace when you create it.
*/ inline Namespace& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description that you specify for the namespace when you create it.
*/ inline Namespace& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description that you specify for the namespace when you create it.
*/ inline Namespace& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The number of services that are associated with the namespace.
*/ inline int GetServiceCount() const{ return m_serviceCount; } /** *The number of services that are associated with the namespace.
*/ inline bool ServiceCountHasBeenSet() const { return m_serviceCountHasBeenSet; } /** *The number of services that are associated with the namespace.
*/ inline void SetServiceCount(int value) { m_serviceCountHasBeenSet = true; m_serviceCount = value; } /** *The number of services that are associated with the namespace.
*/ inline Namespace& WithServiceCount(int value) { SetServiceCount(value); return *this;} /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline const NamespaceProperties& GetProperties() const{ return m_properties; } /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline void SetProperties(const NamespaceProperties& value) { m_propertiesHasBeenSet = true; m_properties = value; } /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline void SetProperties(NamespaceProperties&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); } /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline Namespace& WithProperties(const NamespaceProperties& value) { SetProperties(value); return *this;} /** *A complex type that contains information that's specific to the type of the * namespace.
*/ inline Namespace& WithProperties(NamespaceProperties&& value) { SetProperties(std::move(value)); return *this;} /** *The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
The date that the namespace was created, in Unix date/time format and
* Coordinated Universal Time (UTC). The value of CreateDate is
* accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; } /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; } /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; } /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); } /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); } /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline Namespace& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;} /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline Namespace& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;} /** *A unique string that identifies the request and that allows failed requests * to be retried without the risk of running an operation twice.
*/ inline Namespace& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; NamespaceType m_type; bool m_typeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; int m_serviceCount; bool m_serviceCountHasBeenSet = false; NamespaceProperties m_properties; bool m_propertiesHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws