7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
16namespace ServiceDiscovery
47 inline void SetServiceId(
const char* value) { m_serviceIdHasBeenSet =
true; m_serviceId.assign(value); }
79 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
99 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
193 bool m_serviceIdHasBeenSet =
false;
196 bool m_instanceIdHasBeenSet =
false;
199 bool m_creatorRequestIdHasBeenSet =
false;
202 bool m_attributesHasBeenSet =
false;
RegisterInstanceRequest & WithInstanceId(const char *value)
void SetServiceId(const Aws::String &value)
bool AttributesHasBeenSet() const
void SetCreatorRequestId(Aws::String &&value)
const Aws::String & GetServiceId() const
bool ServiceIdHasBeenSet() const
void SetInstanceId(const char *value)
RegisterInstanceRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RegisterInstanceRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
const Aws::String & GetCreatorRequestId() const
RegisterInstanceRequest & WithInstanceId(const Aws::String &value)
RegisterInstanceRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetCreatorRequestId(const char *value)
bool InstanceIdHasBeenSet() const
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RegisterInstanceRequest & WithCreatorRequestId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
RegisterInstanceRequest & AddAttributes(const char *key, Aws::String &&value)
void SetCreatorRequestId(const Aws::String &value)
RegisterInstanceRequest & WithInstanceId(Aws::String &&value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
void SetServiceId(Aws::String &&value)
RegisterInstanceRequest & WithServiceId(const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SERVICEDISCOVERY_API RegisterInstanceRequest()
RegisterInstanceRequest & WithServiceId(const char *value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
RegisterInstanceRequest & WithCreatorRequestId(const char *value)
RegisterInstanceRequest & AddAttributes(const char *key, const char *value)
RegisterInstanceRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
RegisterInstanceRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
const Aws::String & GetInstanceId() const
RegisterInstanceRequest & WithServiceId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
RegisterInstanceRequest & AddAttributes(Aws::String &&key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetServiceId(const char *value)
bool CreatorRequestIdHasBeenSet() const
RegisterInstanceRequest & WithCreatorRequestId(const Aws::String &value)
RegisterInstanceRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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