7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace ServiceDiscovery
48 template<
typename ServiceArnT = Aws::String>
49 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet =
true; m_serviceArn = std::forward<ServiceArnT>(value); }
50 template<
typename ServiceArnT = Aws::String>
63 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
64 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
65 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
67 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
69 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
75 bool m_serviceArnHasBeenSet =
false;
78 bool m_attributesHasBeenSet =
false;
bool AttributesHasBeenSet() const
bool ServiceArnHasBeenSet() const
AWS_SERVICEDISCOVERY_API ServiceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceAttributes & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
ServiceAttributes & WithServiceArn(ServiceArnT &&value)
const Aws::String & GetServiceArn() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_SERVICEDISCOVERY_API ServiceAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetServiceArn(ServiceArnT &&value)
void SetAttributes(AttributesT &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceAttributes & WithAttributes(AttributesT &&value)
AWS_SERVICEDISCOVERY_API ServiceAttributes()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue