/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the Cloud Map service discovery information for
* your virtual node. Cloud Map is not available in the eu-south-1
* Region.See Also:
AWS
* API Reference
A string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline const Aws::VectorA string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *A string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline void SetAttributes(const Aws::VectorA string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline void SetAttributes(Aws::VectorA string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline AwsCloudMapServiceDiscovery& WithAttributes(const Aws::VectorA string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline AwsCloudMapServiceDiscovery& WithAttributes(Aws::VectorA string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline AwsCloudMapServiceDiscovery& AddAttributes(const AwsCloudMapInstanceAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *A string map that contains attributes with values that you can use to filter * instances by any custom attribute that you specified when you registered the * instance. Only instances that match all of the specified key/value pairs will be * returned.
*/ inline AwsCloudMapServiceDiscovery& AddAttributes(AwsCloudMapInstanceAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline const IpPreference& GetIpPreference() const{ return m_ipPreference; } /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline bool IpPreferenceHasBeenSet() const { return m_ipPreferenceHasBeenSet; } /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline void SetIpPreference(const IpPreference& value) { m_ipPreferenceHasBeenSet = true; m_ipPreference = value; } /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline void SetIpPreference(IpPreference&& value) { m_ipPreferenceHasBeenSet = true; m_ipPreference = std::move(value); } /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline AwsCloudMapServiceDiscovery& WithIpPreference(const IpPreference& value) { SetIpPreference(value); return *this;} /** *The preferred IP version that this virtual node uses. Setting the IP * preference on the virtual node only overrides the IP preference set for the mesh * on this specific node.
*/ inline AwsCloudMapServiceDiscovery& WithIpPreference(IpPreference&& value) { SetIpPreference(std::move(value)); return *this;} /** *The name of the Cloud Map namespace to use.
*/ inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; } /** *The name of the Cloud Map namespace to use.
*/ inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; } /** *The name of the Cloud Map namespace to use.
*/ inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; } /** *The name of the Cloud Map namespace to use.
*/ inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); } /** *The name of the Cloud Map namespace to use.
*/ inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); } /** *The name of the Cloud Map namespace to use.
*/ inline AwsCloudMapServiceDiscovery& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;} /** *The name of the Cloud Map namespace to use.
*/ inline AwsCloudMapServiceDiscovery& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;} /** *The name of the Cloud Map namespace to use.
*/ inline AwsCloudMapServiceDiscovery& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;} /** *The name of the Cloud Map service to use.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the Cloud Map service to use.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the Cloud Map service to use.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the Cloud Map service to use.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the Cloud Map service to use.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the Cloud Map service to use.
*/ inline AwsCloudMapServiceDiscovery& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the Cloud Map service to use.
*/ inline AwsCloudMapServiceDiscovery& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the Cloud Map service to use.
*/ inline AwsCloudMapServiceDiscovery& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::Vector