7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
10#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
15namespace ServiceDiscovery {
42 template <
typename ServiceIdT = Aws::String>
44 m_serviceIdHasBeenSet =
true;
45 m_serviceId = std::forward<ServiceIdT>(value);
47 template <
typename ServiceIdT = Aws::String>
60 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
62 m_attributesHasBeenSet =
true;
63 m_attributes = std::forward<AttributesT>(value);
65 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
70 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
72 m_attributesHasBeenSet =
true;
73 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
81 bool m_serviceIdHasBeenSet =
false;
82 bool m_attributesHasBeenSet =
false;
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ServiceIdHasBeenSet() const
void SetServiceId(ServiceIdT &&value)
bool AttributesHasBeenSet() const
const Aws::String & GetServiceId() const
virtual const char * GetServiceRequestName() const override
UpdateServiceAttributesRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_SERVICEDISCOVERY_API UpdateServiceAttributesRequest()=default
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
UpdateServiceAttributesRequest & WithServiceId(ServiceIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetAttributes(AttributesT &&value)
UpdateServiceAttributesRequest & WithAttributes(AttributesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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