This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-comprehend/include/aws/comprehend/model/UpdateEndpointRequest.h

118 lines
4.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/comprehend/Comprehend_EXPORTS.h>
#include <aws/comprehend/ComprehendRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Comprehend
{
namespace Model
{
/**
*/
class AWS_COMPREHEND_API UpdateEndpointRequest : public ComprehendRequest
{
public:
UpdateEndpointRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateEndpoint"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline UpdateEndpointRequest& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline UpdateEndpointRequest& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
*/
inline UpdateEndpointRequest& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
/**
* <p> The desired number of inference units to be used by the model using this
* endpoint. Each inference unit represents of a throughput of 100 characters per
* second.</p>
*/
inline int GetDesiredInferenceUnits() const{ return m_desiredInferenceUnits; }
/**
* <p> The desired number of inference units to be used by the model using this
* endpoint. Each inference unit represents of a throughput of 100 characters per
* second.</p>
*/
inline bool DesiredInferenceUnitsHasBeenSet() const { return m_desiredInferenceUnitsHasBeenSet; }
/**
* <p> The desired number of inference units to be used by the model using this
* endpoint. Each inference unit represents of a throughput of 100 characters per
* second.</p>
*/
inline void SetDesiredInferenceUnits(int value) { m_desiredInferenceUnitsHasBeenSet = true; m_desiredInferenceUnits = value; }
/**
* <p> The desired number of inference units to be used by the model using this
* endpoint. Each inference unit represents of a throughput of 100 characters per
* second.</p>
*/
inline UpdateEndpointRequest& WithDesiredInferenceUnits(int value) { SetDesiredInferenceUnits(value); return *this;}
private:
Aws::String m_endpointArn;
bool m_endpointArnHasBeenSet;
int m_desiredInferenceUnits;
bool m_desiredInferenceUnitsHasBeenSet;
};
} // namespace Model
} // namespace Comprehend
} // namespace Aws