/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Creates a new RouteResponse resource to represent a route
* response.See Also:
AWS
* API Reference
The API identifier.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The API identifier.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The API identifier.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The API identifier.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The API identifier.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The API identifier.
*/ inline CreateRouteResponseRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The API identifier.
*/ inline CreateRouteResponseRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The API identifier.
*/ inline CreateRouteResponseRequest& WithApiId(const char* value) { SetApiId(value); return *this;} /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline const Aws::String& GetModelSelectionExpression() const{ return m_modelSelectionExpression; } /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline bool ModelSelectionExpressionHasBeenSet() const { return m_modelSelectionExpressionHasBeenSet; } /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline void SetModelSelectionExpression(const Aws::String& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = value; } /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline void SetModelSelectionExpression(Aws::String&& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = std::move(value); } /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline void SetModelSelectionExpression(const char* value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression.assign(value); } /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline CreateRouteResponseRequest& WithModelSelectionExpression(const Aws::String& value) { SetModelSelectionExpression(value); return *this;} /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline CreateRouteResponseRequest& WithModelSelectionExpression(Aws::String&& value) { SetModelSelectionExpression(std::move(value)); return *this;} /** *The model selection expression for the route response. Supported only for * WebSocket APIs.
*/ inline CreateRouteResponseRequest& WithModelSelectionExpression(const char* value) { SetModelSelectionExpression(value); return *this;} /** *The response models for the route response.
*/ inline const Aws::MapThe response models for the route response.
*/ inline bool ResponseModelsHasBeenSet() const { return m_responseModelsHasBeenSet; } /** *The response models for the route response.
*/ inline void SetResponseModels(const Aws::MapThe response models for the route response.
*/ inline void SetResponseModels(Aws::MapThe response models for the route response.
*/ inline CreateRouteResponseRequest& WithResponseModels(const Aws::MapThe response models for the route response.
*/ inline CreateRouteResponseRequest& WithResponseModels(Aws::MapThe response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), std::move(value)); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(const char* key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(Aws::String&& key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; } /** *The response models for the route response.
*/ inline CreateRouteResponseRequest& AddResponseModels(const char* key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; } /** *The route response parameters.
*/ inline const Aws::MapThe route response parameters.
*/ inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; } /** *The route response parameters.
*/ inline void SetResponseParameters(const Aws::MapThe route response parameters.
*/ inline void SetResponseParameters(Aws::MapThe route response parameters.
*/ inline CreateRouteResponseRequest& WithResponseParameters(const Aws::MapThe route response parameters.
*/ inline CreateRouteResponseRequest& WithResponseParameters(Aws::MapThe route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(const Aws::String& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; } /** *The route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(Aws::String&& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; } /** *The route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(const Aws::String& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; } /** *The route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(Aws::String&& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; } /** *The route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(const char* key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; } /** *The route response parameters.
*/ inline CreateRouteResponseRequest& AddResponseParameters(const char* key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; } /** *The route ID.
*/ inline const Aws::String& GetRouteId() const{ return m_routeId; } /** *The route ID.
*/ inline bool RouteIdHasBeenSet() const { return m_routeIdHasBeenSet; } /** *The route ID.
*/ inline void SetRouteId(const Aws::String& value) { m_routeIdHasBeenSet = true; m_routeId = value; } /** *The route ID.
*/ inline void SetRouteId(Aws::String&& value) { m_routeIdHasBeenSet = true; m_routeId = std::move(value); } /** *The route ID.
*/ inline void SetRouteId(const char* value) { m_routeIdHasBeenSet = true; m_routeId.assign(value); } /** *The route ID.
*/ inline CreateRouteResponseRequest& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;} /** *The route ID.
*/ inline CreateRouteResponseRequest& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;} /** *The route ID.
*/ inline CreateRouteResponseRequest& WithRouteId(const char* value) { SetRouteId(value); return *this;} /** *The route response key.
*/ inline const Aws::String& GetRouteResponseKey() const{ return m_routeResponseKey; } /** *The route response key.
*/ inline bool RouteResponseKeyHasBeenSet() const { return m_routeResponseKeyHasBeenSet; } /** *The route response key.
*/ inline void SetRouteResponseKey(const Aws::String& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = value; } /** *The route response key.
*/ inline void SetRouteResponseKey(Aws::String&& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = std::move(value); } /** *The route response key.
*/ inline void SetRouteResponseKey(const char* value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey.assign(value); } /** *The route response key.
*/ inline CreateRouteResponseRequest& WithRouteResponseKey(const Aws::String& value) { SetRouteResponseKey(value); return *this;} /** *The route response key.
*/ inline CreateRouteResponseRequest& WithRouteResponseKey(Aws::String&& value) { SetRouteResponseKey(std::move(value)); return *this;} /** *The route response key.
*/ inline CreateRouteResponseRequest& WithRouteResponseKey(const char* value) { SetRouteResponseKey(value); return *this;} private: Aws::String m_apiId; bool m_apiIdHasBeenSet = false; Aws::String m_modelSelectionExpression; bool m_modelSelectionExpressionHasBeenSet = false; Aws::Map