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>
45 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 bool m_nameHasBeenSet =
false;
85 bool m_functionConfigHasBeenSet =
false;
88 bool m_functionCodeHasBeenSet =
false;
void SetFunctionCode(const Aws::Utils::CryptoBuffer &value)
CreateFunction2020_05_31Request & WithFunctionCode(const Aws::Utils::CryptoBuffer &value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
CreateFunction2020_05_31Request & WithFunctionConfig(FunctionConfig &&value)
CreateFunction2020_05_31Request & WithFunctionCode(Aws::Utils::CryptoBuffer &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
AWS_CLOUDFRONT_API CreateFunction2020_05_31Request()
void SetFunctionConfig(const FunctionConfig &value)
const Aws::Utils::CryptoBuffer & GetFunctionCode() const
void SetFunctionCode(Aws::Utils::CryptoBuffer &&value)
bool FunctionCodeHasBeenSet() const
bool FunctionConfigHasBeenSet() const
void SetName(Aws::String &&value)
CreateFunction2020_05_31Request & WithName(Aws::String &&value)
CreateFunction2020_05_31Request & WithName(const char *value)
void SetName(const Aws::String &value)
CreateFunction2020_05_31Request & WithName(const Aws::String &value)
const FunctionConfig & GetFunctionConfig() const
CreateFunction2020_05_31Request & WithFunctionConfig(const FunctionConfig &value)
void SetFunctionConfig(FunctionConfig &&value)
void SetName(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String