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-apigatewayv2/include/aws/apigatewayv2/model/DeleteModelRequest.h

128 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
#include <aws/apigatewayv2/ApiGatewayV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ApiGatewayV2
{
namespace Model
{
/**
*/
class AWS_APIGATEWAYV2_API DeleteModelRequest : public ApiGatewayV2Request
{
public:
DeleteModelRequest();
// 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 "DeleteModel"; }
Aws::String SerializePayload() const override;
/**
* <p>The API identifier.</p>
*/
inline const Aws::String& GetApiId() const{ return m_apiId; }
/**
* <p>The API identifier.</p>
*/
inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
/**
* <p>The API identifier.</p>
*/
inline DeleteModelRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
/**
* <p>The API identifier.</p>
*/
inline DeleteModelRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
/**
* <p>The API identifier.</p>
*/
inline DeleteModelRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
/**
* <p>The model ID.</p>
*/
inline const Aws::String& GetModelId() const{ return m_modelId; }
/**
* <p>The model ID.</p>
*/
inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
/**
* <p>The model ID.</p>
*/
inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
/**
* <p>The model ID.</p>
*/
inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
/**
* <p>The model ID.</p>
*/
inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
/**
* <p>The model ID.</p>
*/
inline DeleteModelRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
/**
* <p>The model ID.</p>
*/
inline DeleteModelRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
/**
* <p>The model ID.</p>
*/
inline DeleteModelRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
private:
Aws::String m_apiId;
bool m_apiIdHasBeenSet;
Aws::String m_modelId;
bool m_modelIdHasBeenSet;
};
} // namespace Model
} // namespace ApiGatewayV2
} // namespace Aws