/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request a new export of a RestApi for a particular Stage.See
* Also:
AWS
* API Reference
The string identifier of the associated RestApi.
*/ inline const Aws::String& GetRestApiId() const{ return m_restApiId; } /** *The string identifier of the associated RestApi.
*/ inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; } /** *The string identifier of the associated RestApi.
*/ inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; } /** *The string identifier of the associated RestApi.
*/ inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); } /** *The string identifier of the associated RestApi.
*/ inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); } /** *The string identifier of the associated RestApi.
*/ inline GetExportRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;} /** *The string identifier of the associated RestApi.
*/ inline GetExportRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;} /** *The string identifier of the associated RestApi.
*/ inline GetExportRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;} /** *The name of the Stage that will be exported.
*/ inline const Aws::String& GetStageName() const{ return m_stageName; } /** *The name of the Stage that will be exported.
*/ inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; } /** *The name of the Stage that will be exported.
*/ inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; } /** *The name of the Stage that will be exported.
*/ inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); } /** *The name of the Stage that will be exported.
*/ inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); } /** *The name of the Stage that will be exported.
*/ inline GetExportRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;} /** *The name of the Stage that will be exported.
*/ inline GetExportRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;} /** *The name of the Stage that will be exported.
*/ inline GetExportRequest& WithStageName(const char* value) { SetStageName(value); return *this;} /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline const Aws::String& GetExportType() const{ return m_exportType; } /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; } /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline void SetExportType(const Aws::String& value) { m_exportTypeHasBeenSet = true; m_exportType = value; } /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline void SetExportType(Aws::String&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::move(value); } /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline void SetExportType(const char* value) { m_exportTypeHasBeenSet = true; m_exportType.assign(value); } /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline GetExportRequest& WithExportType(const Aws::String& value) { SetExportType(value); return *this;} /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline GetExportRequest& WithExportType(Aws::String&& value) { SetExportType(std::move(value)); return *this;} /** *The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and * 'swagger' for Swagger/OpenAPI 2.0.
*/ inline GetExportRequest& WithExportType(const char* value) { SetExportType(value); return *this;} /** *A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
A key-value map of query string parameters that specify properties of the
* export, depending on the requested exportType
. For
* exportType
oas30
and swagger
, any
* combination of the following parameters are supported:
* extensions='integrations'
or extensions='apigateway'
* will export the API with x-amazon-apigateway-integration extensions.
* extensions='authorizers'
will export the API with
* x-amazon-apigateway-authorizer extensions. postman
will export the
* API with Postman extensions, allowing for import to the Postman tool
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.
The content-type of the export, for example application/json
.
* Currently application/json
and application/yaml
are
* supported for exportType
ofoas30
and
* swagger
. This should be specified in the Accept
header
* for direct API requests.