7#include <aws/cloudfront/CloudFrontRequest.h>
8#include <aws/cloudfront/CloudFront_EXPORTS.h>
9#include <aws/cloudfront/model/FunctionConfig.h>
10#include <aws/cloudfront/model/Tags.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
59 template <
typename FunctionConfigT = FunctionConfig>
61 m_functionConfigHasBeenSet =
true;
62 m_functionConfig = std::forward<FunctionConfigT>(value);
64 template <
typename FunctionConfigT = FunctionConfig>
81 template <
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
83 m_functionCodeHasBeenSet =
true;
84 m_functionCode = std::forward<FunctionCodeT>(value);
86 template <
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
97 template <
typename TagsT = Tags>
99 m_tagsHasBeenSet =
true;
100 m_tags = std::forward<TagsT>(value);
102 template <
typename TagsT = Tags>
104 SetTags(std::forward<TagsT>(value));
116 bool m_nameHasBeenSet =
false;
117 bool m_functionConfigHasBeenSet =
false;
118 bool m_functionCodeHasBeenSet =
false;
119 bool m_tagsHasBeenSet =
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)
CreateFunction2020_05_31Request & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
const Tags & GetTags() const
void SetTags(TagsT &&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