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
63 template<
typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
65 template<
typename IdT = Aws::String>
81 template<
typename CreatorRequestIdT = Aws::String>
82 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
83 template<
typename CreatorRequestIdT = Aws::String>
150 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
151 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
152 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
154 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
156 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
162 bool m_idHasBeenSet =
false;
165 bool m_creatorRequestIdHasBeenSet =
false;
168 bool m_attributesHasBeenSet =
false;
bool CreatorRequestIdHasBeenSet() const
bool AttributesHasBeenSet() const
Instance & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
Instance & WithCreatorRequestId(CreatorRequestIdT &&value)
Instance & WithAttributes(AttributesT &&value)
const Aws::String & GetId() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool IdHasBeenSet() const
const Aws::String & GetCreatorRequestId() const
void SetAttributes(AttributesT &&value)
Instance & WithId(IdT &&value)
AWS_SERVICEDISCOVERY_API Instance()=default
void SetCreatorRequestId(CreatorRequestIdT &&value)
AWS_SERVICEDISCOVERY_API Instance(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
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