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 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
58 template<
typename IfMatchT = Aws::String>
59 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
60 template<
typename IfMatchT = Aws::String>
70 template<
typename FunctionConfigT = FunctionConfig>
71 void SetFunctionConfig(FunctionConfigT&& value) { m_functionConfigHasBeenSet =
true; m_functionConfig = std::forward<FunctionConfigT>(value); }
72 template<
typename FunctionConfigT = FunctionConfig>
86 template<
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
87 void SetFunctionCode(FunctionCodeT&& value) { m_functionCodeHasBeenSet =
true; m_functionCode = std::forward<FunctionCodeT>(value); }
88 template<
typename FunctionCodeT = Aws::Utils::CryptoBuffer>
94 bool m_nameHasBeenSet =
false;
97 bool m_ifMatchHasBeenSet =
false;
100 bool m_functionConfigHasBeenSet =
false;
103 bool m_functionCodeHasBeenSet =
false;
const FunctionConfig & GetFunctionConfig() const
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
void SetIfMatch(IfMatchT &&value)
void SetName(NameT &&value)
UpdateFunction2020_05_31Request & WithIfMatch(IfMatchT &&value)
virtual const char * GetServiceRequestName() const override
UpdateFunction2020_05_31Request & WithFunctionCode(FunctionCodeT &&value)
bool NameHasBeenSet() const
bool IfMatchHasBeenSet() const
AWS_CLOUDFRONT_API UpdateFunction2020_05_31Request()=default
const Aws::String & GetName() const
const Aws::Utils::CryptoBuffer & GetFunctionCode() const
void SetFunctionCode(FunctionCodeT &&value)
const Aws::String & GetIfMatch() const
UpdateFunction2020_05_31Request & WithName(NameT &&value)
bool FunctionConfigHasBeenSet() const
void SetFunctionConfig(FunctionConfigT &&value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFunction2020_05_31Request & WithFunctionConfig(FunctionConfigT &&value)
bool FunctionCodeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String