7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudfront/model/FunctionConfig.h>
11#include <aws/core/utils/Array.h>
43 template<
typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
45 template<
typename NameT = Aws::String>
56 template<
typename FunctionConfigT = FunctionConfig>
57 void SetFunctionConfig(FunctionConfigT&& value) { m_functionConfigHasBeenSet =
true; m_functionConfig = std::forward<FunctionConfigT>(value); }
58 template<
typename FunctionConfigT = FunctionConfig>
72 template<
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
73 void SetFunctionCode(FunctionCodeT&& value) { m_functionCodeHasBeenSet =
true; m_functionCode = std::forward<FunctionCodeT>(value); }
74 template<
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
80 bool m_nameHasBeenSet =
false;
83 bool m_functionConfigHasBeenSet =
false;
86 bool m_functionCodeHasBeenSet =
false;
void SetFunctionCode(FunctionCodeT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
const Aws::Utils::CryptoBuffer & GetFunctionCode() const
bool FunctionCodeHasBeenSet() const
bool FunctionConfigHasBeenSet() const
CreateFunction2020_05_31Request & WithFunctionConfig(FunctionConfigT &&value)
void SetFunctionConfig(FunctionConfigT &&value)
AWS_CLOUDFRONT_API CreateFunction2020_05_31Request()=default
CreateFunction2020_05_31Request & WithName(NameT &&value)
const FunctionConfig & GetFunctionConfig() const
CreateFunction2020_05_31Request & WithFunctionCode(FunctionCodeT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String