7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appmesh/model/IpPreference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/appmesh/model/AwsCloudMapInstanceAttribute.h>
84 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
98 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
106 bool m_attributesHasBeenSet =
false;
109 bool m_ipPreferenceHasBeenSet =
false;
112 bool m_namespaceNameHasBeenSet =
false;
115 bool m_serviceNameHasBeenSet =
false;
AwsCloudMapServiceDiscovery & WithNamespaceName(Aws::String &&value)
const Aws::Vector< AwsCloudMapInstanceAttribute > & GetAttributes() const
void SetAttributes(const Aws::Vector< AwsCloudMapInstanceAttribute > &value)
void SetNamespaceName(const Aws::String &value)
void SetServiceName(const char *value)
const IpPreference & GetIpPreference() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudMapServiceDiscovery & WithIpPreference(const IpPreference &value)
void SetServiceName(Aws::String &&value)
AWS_APPMESH_API AwsCloudMapServiceDiscovery()
void SetNamespaceName(Aws::String &&value)
AWS_APPMESH_API AwsCloudMapServiceDiscovery(Aws::Utils::Json::JsonView jsonValue)
AwsCloudMapServiceDiscovery & WithAttributes(Aws::Vector< AwsCloudMapInstanceAttribute > &&value)
AwsCloudMapServiceDiscovery & WithNamespaceName(const char *value)
const Aws::String & GetNamespaceName() const
AwsCloudMapServiceDiscovery & WithServiceName(const Aws::String &value)
void SetNamespaceName(const char *value)
AwsCloudMapServiceDiscovery & WithServiceName(const char *value)
void SetServiceName(const Aws::String &value)
AwsCloudMapServiceDiscovery & WithIpPreference(IpPreference &&value)
AwsCloudMapServiceDiscovery & AddAttributes(AwsCloudMapInstanceAttribute &&value)
bool IpPreferenceHasBeenSet() const
AwsCloudMapServiceDiscovery & WithAttributes(const Aws::Vector< AwsCloudMapInstanceAttribute > &value)
void SetAttributes(Aws::Vector< AwsCloudMapInstanceAttribute > &&value)
AwsCloudMapServiceDiscovery & AddAttributes(const AwsCloudMapInstanceAttribute &value)
void SetIpPreference(IpPreference &&value)
bool AttributesHasBeenSet() const
AwsCloudMapServiceDiscovery & WithServiceName(Aws::String &&value)
void SetIpPreference(const IpPreference &value)
bool NamespaceNameHasBeenSet() const
AwsCloudMapServiceDiscovery & WithNamespaceName(const Aws::String &value)
bool ServiceNameHasBeenSet() const
AWS_APPMESH_API AwsCloudMapServiceDiscovery & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue