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
49 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
50 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
99 inline InstanceSummary&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
104 bool m_idHasBeenSet =
false;
107 bool m_attributesHasBeenSet =
false;
InstanceSummary & AddAttributes(const Aws::String &key, Aws::String &&value)
const Aws::String & GetId() const
AWS_SERVICEDISCOVERY_API InstanceSummary()
InstanceSummary & WithId(const char *value)
bool IdHasBeenSet() const
InstanceSummary & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
InstanceSummary & WithId(Aws::String &&value)
InstanceSummary & AddAttributes(const char *key, Aws::String &&value)
InstanceSummary & AddAttributes(Aws::String &&key, const char *value)
void SetId(const char *value)
void SetId(Aws::String &&value)
InstanceSummary & AddAttributes(const char *key, const char *value)
InstanceSummary & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
InstanceSummary & WithId(const Aws::String &value)
AWS_SERVICEDISCOVERY_API InstanceSummary(Aws::Utils::Json::JsonView jsonValue)
InstanceSummary & AddAttributes(Aws::String &&key, const Aws::String &value)
InstanceSummary & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
InstanceSummary & AddAttributes(const Aws::String &key, const Aws::String &value)
bool AttributesHasBeenSet() const
AWS_SERVICEDISCOVERY_API InstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
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