7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
20namespace ServiceDiscovery {
42 template <
typename ServiceArnT = Aws::String>
44 m_serviceArnHasBeenSet =
true;
45 m_serviceArn = std::forward<ServiceArnT>(value);
47 template <
typename ServiceArnT = Aws::String>
65 template <
typename ResourceOwnerT = Aws::String>
67 m_resourceOwnerHasBeenSet =
true;
68 m_resourceOwner = std::forward<ResourceOwnerT>(value);
70 template <
typename ResourceOwnerT = Aws::String>
86 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
88 m_attributesHasBeenSet =
true;
89 m_attributes = std::forward<AttributesT>(value);
91 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
96 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
98 m_attributesHasBeenSet =
true;
99 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
109 bool m_serviceArnHasBeenSet =
false;
110 bool m_resourceOwnerHasBeenSet =
false;
111 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