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
64 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
65 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
85 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
164 inline Instance&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
169 bool m_idHasBeenSet =
false;
172 bool m_creatorRequestIdHasBeenSet =
false;
175 bool m_attributesHasBeenSet =
false;
Instance & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool CreatorRequestIdHasBeenSet() const
void SetCreatorRequestId(const Aws::String &value)
Instance & AddAttributes(Aws::String &&key, Aws::String &&value)
bool AttributesHasBeenSet() const
AWS_SERVICEDISCOVERY_API Instance()
Instance & WithCreatorRequestId(const Aws::String &value)
Instance & AddAttributes(const char *key, Aws::String &&value)
void SetCreatorRequestId(const char *value)
Instance & AddAttributes(Aws::String &&key, const Aws::String &value)
Instance & AddAttributes(const Aws::String &key, Aws::String &&value)
Instance & WithCreatorRequestId(const char *value)
Instance & AddAttributes(const char *key, const char *value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
Instance & AddAttributes(Aws::String &&key, const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Instance & WithId(const Aws::String &value)
const Aws::String & GetId() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool IdHasBeenSet() const
Instance & WithId(const char *value)
const Aws::String & GetCreatorRequestId() const
void SetId(const Aws::String &value)
Instance & AddAttributes(const Aws::String &key, const Aws::String &value)
Instance & WithCreatorRequestId(Aws::String &&value)
AWS_SERVICEDISCOVERY_API Instance(Aws::Utils::Json::JsonView jsonValue)
Instance & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SERVICEDISCOVERY_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
Instance & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
void SetCreatorRequestId(Aws::String &&value)
void SetId(const char *value)
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