7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/DesiredWeightAndCapacity.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateEndpointWeightsAndCapacities"; }
47 inline void SetEndpointName(
const char* value) { m_endpointNameHasBeenSet =
true; m_endpointName.assign(value); }
69 bool m_endpointNameHasBeenSet =
false;
72 bool m_desiredWeightsAndCapacitiesHasBeenSet =
false;
void SetDesiredWeightsAndCapacities(const Aws::Vector< DesiredWeightAndCapacity > &value)
UpdateEndpointWeightsAndCapacitiesRequest & WithDesiredWeightsAndCapacities(const Aws::Vector< DesiredWeightAndCapacity > &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEndpointWeightsAndCapacitiesRequest & WithEndpointName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetEndpointName(const char *value)
void SetEndpointName(Aws::String &&value)
UpdateEndpointWeightsAndCapacitiesRequest & WithEndpointName(const char *value)
AWS_SAGEMAKER_API UpdateEndpointWeightsAndCapacitiesRequest()
const Aws::Vector< DesiredWeightAndCapacity > & GetDesiredWeightsAndCapacities() const
UpdateEndpointWeightsAndCapacitiesRequest & AddDesiredWeightsAndCapacities(const DesiredWeightAndCapacity &value)
UpdateEndpointWeightsAndCapacitiesRequest & WithDesiredWeightsAndCapacities(Aws::Vector< DesiredWeightAndCapacity > &&value)
void SetEndpointName(const Aws::String &value)
bool DesiredWeightsAndCapacitiesHasBeenSet() const
UpdateEndpointWeightsAndCapacitiesRequest & AddDesiredWeightsAndCapacities(DesiredWeightAndCapacity &&value)
bool EndpointNameHasBeenSet() const
void SetDesiredWeightsAndCapacities(Aws::Vector< DesiredWeightAndCapacity > &&value)
UpdateEndpointWeightsAndCapacitiesRequest & WithEndpointName(Aws::String &&value)
const Aws::String & GetEndpointName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector