7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda-web/LambdaWebRequest.h>
10#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
11#include <aws/lambda-web/model/AuthType.h>
12#include <aws/lambda-web/model/AutoDeploymentMode.h>
13#include <aws/lambda-web/model/EndpointType.h>
14#include <aws/lambda-web/model/RevisionWeight.h>
15#include <aws/lambda-web/model/ScalingConfig.h>
16#include <aws/lambda-web/model/ThrottleConfig.h>
50 template <
typename FunctionNameT = Aws::String>
52 m_functionNameHasBeenSet =
true;
53 m_functionName = std::forward<FunctionNameT>(value);
55 template <
typename FunctionNameT = Aws::String>
71 template <
typename Endpo
intNameT = Aws::String>
73 m_endpointNameHasBeenSet =
true;
74 m_endpointName = std::forward<EndpointNameT>(value);
76 template <
typename Endpo
intNameT = Aws::String>
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
109 m_endpointTypeHasBeenSet =
true;
110 m_endpointType = value;
125 m_authTypeHasBeenSet =
true;
144 m_autoDeploymentModeHasBeenSet =
true;
145 m_autoDeploymentMode = value;
161 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
163 m_revisionWeightsHasBeenSet =
true;
164 m_revisionWeights = std::forward<RevisionWeightsT>(value);
166 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
171 template <
typename RevisionWeightsT = RevisionWeight>
173 m_revisionWeightsHasBeenSet =
true;
174 m_revisionWeights.emplace_back(std::forward<RevisionWeightsT>(value));
190 template <
typename RegionsT = Aws::Vector<Aws::String>>
192 m_regionsHasBeenSet =
true;
193 m_regions = std::forward<RegionsT>(value);
195 template <
typename RegionsT = Aws::Vector<Aws::String>>
200 template <
typename RegionsT = Aws::String>
202 m_regionsHasBeenSet =
true;
203 m_regions.emplace_back(std::forward<RegionsT>(value));
215 template <
typename ScalingConfigT = ScalingConfig>
217 m_scalingConfigHasBeenSet =
true;
218 m_scalingConfig = std::forward<ScalingConfigT>(value);
220 template <
typename ScalingConfigT = ScalingConfig>
235 template <
typename ThrottleConfigT = ThrottleConfig>
237 m_throttleConfigHasBeenSet =
true;
238 m_throttleConfig = std::forward<ThrottleConfigT>(value);
240 template <
typename ThrottleConfigT = ThrottleConfig>
263 ScalingConfig m_scalingConfig;
265 ThrottleConfig m_throttleConfig;
266 bool m_functionNameHasBeenSet =
false;
267 bool m_endpointNameHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_endpointTypeHasBeenSet =
false;
270 bool m_authTypeHasBeenSet =
false;
271 bool m_autoDeploymentModeHasBeenSet =
false;
272 bool m_revisionWeightsHasBeenSet =
false;
273 bool m_regionsHasBeenSet =
false;
274 bool m_scalingConfigHasBeenSet =
false;
275 bool m_throttleConfigHasBeenSet =
false;
void SetEndpointName(EndpointNameT &&value)
void SetFunctionName(FunctionNameT &&value)
bool DescriptionHasBeenSet() const
EndpointType GetEndpointType() const
CreateWebFunctionEndpointRequest & WithRegions(RegionsT &&value)
bool EndpointNameHasBeenSet() const
void SetThrottleConfig(ThrottleConfigT &&value)
void SetDescription(DescriptionT &&value)
CreateWebFunctionEndpointRequest & WithFunctionName(FunctionNameT &&value)
bool RegionsHasBeenSet() const
CreateWebFunctionEndpointRequest & WithThrottleConfig(ThrottleConfigT &&value)
CreateWebFunctionEndpointRequest & WithEndpointType(EndpointType value)
const Aws::Vector< Aws::String > & GetRegions() const
CreateWebFunctionEndpointRequest & WithAutoDeploymentMode(AutoDeploymentMode value)
CreateWebFunctionEndpointRequest & WithRevisionWeights(RevisionWeightsT &&value)
CreateWebFunctionEndpointRequest & AddRegions(RegionsT &&value)
CreateWebFunctionEndpointRequest & WithEndpointName(EndpointNameT &&value)
void SetAutoDeploymentMode(AutoDeploymentMode value)
const ScalingConfig & GetScalingConfig() const
const Aws::String & GetFunctionName() const
CreateWebFunctionEndpointRequest & WithAuthType(AuthType value)
void SetRegions(RegionsT &&value)
bool ScalingConfigHasBeenSet() const
AWS_LAMBDAWEB_API Aws::String SerializePayload() const override
const ThrottleConfig & GetThrottleConfig() const
bool FunctionNameHasBeenSet() const
void SetEndpointType(EndpointType value)
bool EndpointTypeHasBeenSet() const
CreateWebFunctionEndpointRequest & WithScalingConfig(ScalingConfigT &&value)
void SetScalingConfig(ScalingConfigT &&value)
AuthType GetAuthType() const
const Aws::String & GetEndpointName() const
bool AuthTypeHasBeenSet() const
bool RevisionWeightsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetAuthType(AuthType value)
const Aws::Vector< RevisionWeight > & GetRevisionWeights() const
AWS_LAMBDAWEB_API CreateWebFunctionEndpointRequest()=default
const Aws::String & GetDescription() const
CreateWebFunctionEndpointRequest & WithDescription(DescriptionT &&value)
CreateWebFunctionEndpointRequest & AddRevisionWeights(RevisionWeightsT &&value)
AutoDeploymentMode GetAutoDeploymentMode() const
bool ThrottleConfigHasBeenSet() const
void SetRevisionWeights(RevisionWeightsT &&value)
bool AutoDeploymentModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector