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>
65 template<
typename ResourceOwnerT = Aws::String>
66 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
67 template<
typename ResourceOwnerT = Aws::String>
80 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
81 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
82 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
84 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
86 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
92 bool m_serviceArnHasBeenSet =
false;
95 bool m_resourceOwnerHasBeenSet =
false;
98 bool m_attributesHasBeenSet =
false;
bool AttributesHasBeenSet() const
bool ServiceArnHasBeenSet() const
AWS_SERVICEDISCOVERY_API ServiceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceOwner() const
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)
bool ResourceOwnerHasBeenSet() const
ServiceAttributes & WithResourceOwner(ResourceOwnerT &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceOwner(ResourceOwnerT &&value)
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