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/servicediscovery/model/ServiceChange.h>
15namespace ServiceDiscovery
45 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
46 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 bool m_idHasBeenSet =
false;
69 bool m_serviceHasBeenSet =
false;
UpdateServiceRequest & WithId(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
UpdateServiceRequest & WithService(ServiceChange &&value)
bool IdHasBeenSet() const
void SetService(const ServiceChange &value)
void SetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const ServiceChange & GetService() const
const Aws::String & GetId() const
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceRequest & WithId(Aws::String &&value)
void SetId(const char *value)
UpdateServiceRequest & WithService(const ServiceChange &value)
void SetId(Aws::String &&value)
AWS_SERVICEDISCOVERY_API UpdateServiceRequest()
void SetService(ServiceChange &&value)
bool ServiceHasBeenSet() const
UpdateServiceRequest & WithId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String