AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::ServiceDiscovery::Model::DiscoverInstancesRequest Class Reference

#include <DiscoverInstancesRequest.h>

+ Inheritance diagram for Aws::ServiceDiscovery::Model::DiscoverInstancesRequest:

Public Member Functions

 DiscoverInstancesRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetNamespaceName () const
 
bool NamespaceNameHasBeenSet () const
 
void SetNamespaceName (const Aws::String &value)
 
void SetNamespaceName (Aws::String &&value)
 
void SetNamespaceName (const char *value)
 
DiscoverInstancesRequestWithNamespaceName (const Aws::String &value)
 
DiscoverInstancesRequestWithNamespaceName (Aws::String &&value)
 
DiscoverInstancesRequestWithNamespaceName (const char *value)
 
const Aws::StringGetServiceName () const
 
bool ServiceNameHasBeenSet () const
 
void SetServiceName (const Aws::String &value)
 
void SetServiceName (Aws::String &&value)
 
void SetServiceName (const char *value)
 
DiscoverInstancesRequestWithServiceName (const Aws::String &value)
 
DiscoverInstancesRequestWithServiceName (Aws::String &&value)
 
DiscoverInstancesRequestWithServiceName (const char *value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
DiscoverInstancesRequestWithMaxResults (int value)
 
const Aws::Map< Aws::String, Aws::String > & GetQueryParameters () const
 
bool QueryParametersHasBeenSet () const
 
void SetQueryParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetQueryParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DiscoverInstancesRequestWithQueryParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
DiscoverInstancesRequestWithQueryParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DiscoverInstancesRequestAddQueryParameters (const Aws::String &key, const Aws::String &value)
 
DiscoverInstancesRequestAddQueryParameters (Aws::String &&key, const Aws::String &value)
 
DiscoverInstancesRequestAddQueryParameters (const Aws::String &key, Aws::String &&value)
 
DiscoverInstancesRequestAddQueryParameters (Aws::String &&key, Aws::String &&value)
 
DiscoverInstancesRequestAddQueryParameters (const char *key, Aws::String &&value)
 
DiscoverInstancesRequestAddQueryParameters (Aws::String &&key, const char *value)
 
DiscoverInstancesRequestAddQueryParameters (const char *key, const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetOptionalParameters () const
 
bool OptionalParametersHasBeenSet () const
 
void SetOptionalParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetOptionalParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DiscoverInstancesRequestWithOptionalParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
DiscoverInstancesRequestWithOptionalParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
DiscoverInstancesRequestAddOptionalParameters (const Aws::String &key, const Aws::String &value)
 
DiscoverInstancesRequestAddOptionalParameters (Aws::String &&key, const Aws::String &value)
 
DiscoverInstancesRequestAddOptionalParameters (const Aws::String &key, Aws::String &&value)
 
DiscoverInstancesRequestAddOptionalParameters (Aws::String &&key, Aws::String &&value)
 
DiscoverInstancesRequestAddOptionalParameters (const char *key, Aws::String &&value)
 
DiscoverInstancesRequestAddOptionalParameters (Aws::String &&key, const char *value)
 
DiscoverInstancesRequestAddOptionalParameters (const char *key, const char *value)
 
const HealthStatusFilterGetHealthStatus () const
 
bool HealthStatusHasBeenSet () const
 
void SetHealthStatus (const HealthStatusFilter &value)
 
void SetHealthStatus (HealthStatusFilter &&value)
 
DiscoverInstancesRequestWithHealthStatus (const HealthStatusFilter &value)
 
DiscoverInstancesRequestWithHealthStatus (HealthStatusFilter &&value)
 
- Public Member Functions inherited from Aws::ServiceDiscovery::ServiceDiscoveryRequest
virtual ~ServiceDiscoveryRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file DiscoverInstancesRequest.h.

Constructor & Destructor Documentation

◆ DiscoverInstancesRequest()

Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::DiscoverInstancesRequest ( )

Member Function Documentation

◆ AddOptionalParameters() [1/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 364 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [2/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( Aws::String &&  key,
const Aws::String value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 344 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [3/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( Aws::String &&  key,
const char *  value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 384 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [4/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( const Aws::String key,
Aws::String &&  value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 354 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [5/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( const Aws::String key,
const Aws::String value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 334 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [6/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( const char *  key,
Aws::String &&  value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 374 of file DiscoverInstancesRequest.h.

◆ AddOptionalParameters() [7/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddOptionalParameters ( const char *  key,
const char *  value 
)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 394 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [1/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 242 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [2/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( Aws::String &&  key,
const Aws::String value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 228 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [3/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( Aws::String &&  key,
const char *  value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 256 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [4/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( const Aws::String key,
Aws::String &&  value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 235 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [5/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( const Aws::String key,
const Aws::String value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 221 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [6/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( const char *  key,
Aws::String &&  value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 249 of file DiscoverInstancesRequest.h.

◆ AddQueryParameters() [7/7]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::AddQueryParameters ( const char *  key,
const char *  value 
)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 263 of file DiscoverInstancesRequest.h.

◆ GetHealthStatus()

const HealthStatusFilter& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetHealthStatus ( ) const
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 407 of file DiscoverInstancesRequest.h.

◆ GetMaxResults()

int Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetMaxResults ( ) const
inline

The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

Definition at line 150 of file DiscoverInstancesRequest.h.

◆ GetNamespaceName()

const Aws::String& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetNamespaceName ( ) const
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 44 of file DiscoverInstancesRequest.h.

◆ GetOptionalParameters()

const Aws::Map<Aws::String, Aws::String>& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetOptionalParameters ( ) const
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 274 of file DiscoverInstancesRequest.h.

◆ GetQueryParameters()

const Aws::Map<Aws::String, Aws::String>& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetQueryParameters ( ) const
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 179 of file DiscoverInstancesRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceName()

const Aws::String& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetServiceName ( ) const
inline

The name of the service that you specified when you registered the instance.

Definition at line 100 of file DiscoverInstancesRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file DiscoverInstancesRequest.h.

◆ HealthStatusHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::HealthStatusHasBeenSet ( ) const
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 419 of file DiscoverInstancesRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::MaxResultsHasBeenSet ( ) const
inline

The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

Definition at line 157 of file DiscoverInstancesRequest.h.

◆ NamespaceNameHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::NamespaceNameHasBeenSet ( ) const
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 51 of file DiscoverInstancesRequest.h.

◆ OptionalParametersHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::OptionalParametersHasBeenSet ( ) const
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 284 of file DiscoverInstancesRequest.h.

◆ QueryParametersHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::QueryParametersHasBeenSet ( ) const
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 186 of file DiscoverInstancesRequest.h.

◆ SerializePayload()

Aws::String Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceNameHasBeenSet()

bool Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::ServiceNameHasBeenSet ( ) const
inline

The name of the service that you specified when you registered the instance.

Definition at line 106 of file DiscoverInstancesRequest.h.

◆ SetHealthStatus() [1/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetHealthStatus ( const HealthStatusFilter value)
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 431 of file DiscoverInstancesRequest.h.

◆ SetHealthStatus() [2/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetHealthStatus ( HealthStatusFilter &&  value)
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 443 of file DiscoverInstancesRequest.h.

◆ SetMaxResults()

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetMaxResults ( int  value)
inline

The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

Definition at line 164 of file DiscoverInstancesRequest.h.

◆ SetNamespaceName() [1/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetNamespaceName ( Aws::String &&  value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 65 of file DiscoverInstancesRequest.h.

◆ SetNamespaceName() [2/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetNamespaceName ( const Aws::String value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 58 of file DiscoverInstancesRequest.h.

◆ SetNamespaceName() [3/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetNamespaceName ( const char *  value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 72 of file DiscoverInstancesRequest.h.

◆ SetOptionalParameters() [1/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetOptionalParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 304 of file DiscoverInstancesRequest.h.

◆ SetOptionalParameters() [2/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetOptionalParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 294 of file DiscoverInstancesRequest.h.

◆ SetQueryParameters() [1/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetQueryParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 200 of file DiscoverInstancesRequest.h.

◆ SetQueryParameters() [2/2]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetQueryParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 193 of file DiscoverInstancesRequest.h.

◆ SetServiceName() [1/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetServiceName ( Aws::String &&  value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 118 of file DiscoverInstancesRequest.h.

◆ SetServiceName() [2/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetServiceName ( const Aws::String value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 112 of file DiscoverInstancesRequest.h.

◆ SetServiceName() [3/3]

void Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::SetServiceName ( const char *  value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 124 of file DiscoverInstancesRequest.h.

◆ WithHealthStatus() [1/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithHealthStatus ( const HealthStatusFilter value)
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 455 of file DiscoverInstancesRequest.h.

◆ WithHealthStatus() [2/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithHealthStatus ( HealthStatusFilter &&  value)
inline

The health status of the instances that you want to discover. This parameter is ignored for services that don't have a health check configured, and all instances are returned.

HEALTHY

Returns healthy instances.

UNHEALTHY

Returns unhealthy instances.

ALL

Returns all instances.

HEALTHY_OR_ELSE_ALL

Returns healthy instances, unless none are reporting a healthy state. In that case, return all instances. This is also called failing open.

Definition at line 467 of file DiscoverInstancesRequest.h.

◆ WithMaxResults()

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithMaxResults ( int  value)
inline

The maximum number of instances that you want Cloud Map to return in the response to a DiscoverInstances request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

Definition at line 171 of file DiscoverInstancesRequest.h.

◆ WithNamespaceName() [1/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithNamespaceName ( Aws::String &&  value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 86 of file DiscoverInstancesRequest.h.

◆ WithNamespaceName() [2/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithNamespaceName ( const Aws::String value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 79 of file DiscoverInstancesRequest.h.

◆ WithNamespaceName() [3/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithNamespaceName ( const char *  value)
inline

The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.

Definition at line 93 of file DiscoverInstancesRequest.h.

◆ WithOptionalParameters() [1/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithOptionalParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 324 of file DiscoverInstancesRequest.h.

◆ WithOptionalParameters() [2/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithOptionalParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters parameter and this parameter, all of these instances are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the QueryParameters parameter are returned.

Definition at line 314 of file DiscoverInstancesRequest.h.

◆ WithQueryParameters() [1/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithQueryParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 214 of file DiscoverInstancesRequest.h.

◆ WithQueryParameters() [2/2]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithQueryParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Filters to scope the results based on custom attributes for the instance (for example, {version=v1, az=1a}). Only instances that match all the specified key-value pairs are returned.

Definition at line 207 of file DiscoverInstancesRequest.h.

◆ WithServiceName() [1/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithServiceName ( Aws::String &&  value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 136 of file DiscoverInstancesRequest.h.

◆ WithServiceName() [2/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithServiceName ( const Aws::String value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 130 of file DiscoverInstancesRequest.h.

◆ WithServiceName() [3/3]

DiscoverInstancesRequest& Aws::ServiceDiscovery::Model::DiscoverInstancesRequest::WithServiceName ( const char *  value)
inline

The name of the service that you specified when you registered the instance.

Definition at line 142 of file DiscoverInstancesRequest.h.


The documentation for this class was generated from the following file: