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"; }
45 template<
typename Endpo
intNameT = Aws::String>
46 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
47 template<
typename Endpo
intNameT = Aws::String>
57 template<
typename DesiredWeightsAndCapacitiesT = Aws::Vector<DesiredWeightAndCapacity>>
58 void SetDesiredWeightsAndCapacities(DesiredWeightsAndCapacitiesT&& value) { m_desiredWeightsAndCapacitiesHasBeenSet =
true; m_desiredWeightsAndCapacities = std::forward<DesiredWeightsAndCapacitiesT>(value); }
59 template<
typename DesiredWeightsAndCapacitiesT = Aws::Vector<DesiredWeightAndCapacity>>
61 template<
typename DesiredWeightsAndCapacitiesT = DesiredWeightAndCapacity>
67 bool m_endpointNameHasBeenSet =
false;
70 bool m_desiredWeightsAndCapacitiesHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEndpointWeightsAndCapacitiesRequest & AddDesiredWeightsAndCapacities(DesiredWeightsAndCapacitiesT &&value)
virtual const char * GetServiceRequestName() const override
void SetDesiredWeightsAndCapacities(DesiredWeightsAndCapacitiesT &&value)
UpdateEndpointWeightsAndCapacitiesRequest & WithEndpointName(EndpointNameT &&value)
const Aws::Vector< DesiredWeightAndCapacity > & GetDesiredWeightsAndCapacities() const
UpdateEndpointWeightsAndCapacitiesRequest & WithDesiredWeightsAndCapacities(DesiredWeightsAndCapacitiesT &&value)
bool DesiredWeightsAndCapacitiesHasBeenSet() const
AWS_SAGEMAKER_API UpdateEndpointWeightsAndCapacitiesRequest()=default
bool EndpointNameHasBeenSet() const
void SetEndpointName(EndpointNameT &&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