7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrass/GreengrassRequest.h>
10#include <aws/greengrass/Greengrass_EXPORTS.h>
11#include <aws/greengrass/model/Function.h>
12#include <aws/greengrass/model/FunctionDefaultConfig.h>
46 template <
typename AmznClientTokenT = Aws::String>
48 m_amznClientTokenHasBeenSet =
true;
49 m_amznClientToken = std::forward<AmznClientTokenT>(value);
51 template <
typename AmznClientTokenT = Aws::String>
65 template <
typename DefaultConfigT = FunctionDefaultConfig>
67 m_defaultConfigHasBeenSet =
true;
68 m_defaultConfig = std::forward<DefaultConfigT>(value);
70 template <
typename DefaultConfigT = FunctionDefaultConfig>
83 template <
typename FunctionDefinitionIdT = Aws::String>
85 m_functionDefinitionIdHasBeenSet =
true;
86 m_functionDefinitionId = std::forward<FunctionDefinitionIdT>(value);
88 template <
typename FunctionDefinitionIdT = Aws::String>
101 template <
typename FunctionsT = Aws::Vector<Function>>
103 m_functionsHasBeenSet =
true;
104 m_functions = std::forward<FunctionsT>(value);
106 template <
typename FunctionsT = Aws::Vector<Function>>
111 template <
typename FunctionsT = Function>
113 m_functionsHasBeenSet =
true;
114 m_functions.emplace_back(std::forward<FunctionsT>(value));
126 bool m_amznClientTokenHasBeenSet =
false;
127 bool m_defaultConfigHasBeenSet =
false;
128 bool m_functionDefinitionIdHasBeenSet =
false;
129 bool m_functionsHasBeenSet =
false;
CreateFunctionDefinitionVersionRequest & WithFunctionDefinitionId(FunctionDefinitionIdT &&value)
const FunctionDefaultConfig & GetDefaultConfig() const
bool FunctionsHasBeenSet() const
const Aws::String & GetFunctionDefinitionId() const
const Aws::Vector< Function > & GetFunctions() const
void SetDefaultConfig(DefaultConfigT &&value)
virtual const char * GetServiceRequestName() const override
void SetFunctions(FunctionsT &&value)
CreateFunctionDefinitionVersionRequest & WithDefaultConfig(DefaultConfigT &&value)
bool DefaultConfigHasBeenSet() const
CreateFunctionDefinitionVersionRequest & AddFunctions(FunctionsT &&value)
CreateFunctionDefinitionVersionRequest & WithFunctions(FunctionsT &&value)
CreateFunctionDefinitionVersionRequest & WithAmznClientToken(AmznClientTokenT &&value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
const Aws::String & GetAmznClientToken() const
void SetAmznClientToken(AmznClientTokenT &&value)
bool AmznClientTokenHasBeenSet() const
AWS_GREENGRASS_API CreateFunctionDefinitionVersionRequest()=default
bool FunctionDefinitionIdHasBeenSet() const
void SetFunctionDefinitionId(FunctionDefinitionIdT &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector