7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/AwsCloudMapInstanceAttribute.h>
9#include <aws/appmesh/model/IpPreference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename AttributesT = Aws::Vector<AwsCloudMapInstanceAttribute>>
50 m_attributesHasBeenSet =
true;
51 m_attributes = std::forward<AttributesT>(value);
53 template <
typename AttributesT = Aws::Vector<AwsCloudMapInstanceAttribute>>
58 template <
typename AttributesT = AwsCloudMapInstanceAttribute>
60 m_attributesHasBeenSet =
true;
61 m_attributes.emplace_back(std::forward<AttributesT>(value));
75 m_ipPreferenceHasBeenSet =
true;
76 m_ipPreference = value;
90 template <
typename NamespaceNameT = Aws::String>
92 m_namespaceNameHasBeenSet =
true;
93 m_namespaceName = std::forward<NamespaceNameT>(value);
95 template <
typename NamespaceNameT = Aws::String>
108 template <
typename ServiceNameT = Aws::String>
110 m_serviceNameHasBeenSet =
true;
111 m_serviceName = std::forward<ServiceNameT>(value);
113 template <
typename ServiceNameT = Aws::String>
127 bool m_attributesHasBeenSet =
false;
128 bool m_ipPreferenceHasBeenSet =
false;
129 bool m_namespaceNameHasBeenSet =
false;
130 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