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>
54 template<
typename AttributesT = Aws::Vector<AwsCloudMapInstanceAttribute>>
55 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
56 template<
typename AttributesT = Aws::Vector<AwsCloudMapInstanceAttribute>>
58 template<
typename AttributesT = AwsCloudMapInstanceAttribute>
80 template<
typename NamespaceNameT = Aws::String>
81 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
82 template<
typename NamespaceNameT = Aws::String>
92 template<
typename ServiceNameT = Aws::String>
93 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
94 template<
typename ServiceNameT = Aws::String>
100 bool m_attributesHasBeenSet =
false;
103 bool m_ipPreferenceHasBeenSet =
false;
106 bool m_namespaceNameHasBeenSet =
false;
109 bool m_serviceNameHasBeenSet =
false;
void SetNamespaceName(NamespaceNameT &&value)
const Aws::Vector< AwsCloudMapInstanceAttribute > & GetAttributes() const
AwsCloudMapServiceDiscovery & WithServiceName(ServiceNameT &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudMapServiceDiscovery & WithIpPreference(IpPreference value)
void SetIpPreference(IpPreference value)
AWS_APPMESH_API AwsCloudMapServiceDiscovery(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(ServiceNameT &&value)
AwsCloudMapServiceDiscovery & WithNamespaceName(NamespaceNameT &&value)
const Aws::String & GetNamespaceName() const
IpPreference GetIpPreference() const
AWS_APPMESH_API AwsCloudMapServiceDiscovery()=default
AwsCloudMapServiceDiscovery & AddAttributes(AttributesT &&value)
bool IpPreferenceHasBeenSet() const
bool AttributesHasBeenSet() const
bool NamespaceNameHasBeenSet() const
bool ServiceNameHasBeenSet() const
AWS_APPMESH_API AwsCloudMapServiceDiscovery & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AttributesT &&value)
AwsCloudMapServiceDiscovery & WithAttributes(AttributesT &&value)
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