7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrass/model/FunctionDefaultConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/greengrass/model/Function.h>
50 template<
typename AmznClientTokenT = Aws::String>
51 void SetAmznClientToken(AmznClientTokenT&& value) { m_amznClientTokenHasBeenSet =
true; m_amznClientToken = std::forward<AmznClientTokenT>(value); }
52 template<
typename AmznClientTokenT = Aws::String>
63 template<
typename DefaultConfigT = FunctionDefaultConfig>
64 void SetDefaultConfig(DefaultConfigT&& value) { m_defaultConfigHasBeenSet =
true; m_defaultConfig = std::forward<DefaultConfigT>(value); }
65 template<
typename DefaultConfigT = FunctionDefaultConfig>
75 template<
typename FunctionDefinitionIdT = Aws::String>
76 void SetFunctionDefinitionId(FunctionDefinitionIdT&& value) { m_functionDefinitionIdHasBeenSet =
true; m_functionDefinitionId = std::forward<FunctionDefinitionIdT>(value); }
77 template<
typename FunctionDefinitionIdT = Aws::String>
87 template<
typename FunctionsT = Aws::Vector<Function>>
88 void SetFunctions(FunctionsT&& value) { m_functionsHasBeenSet =
true; m_functions = std::forward<FunctionsT>(value); }
89 template<
typename FunctionsT = Aws::Vector<Function>>
91 template<
typename FunctionsT = Function>
97 bool m_amznClientTokenHasBeenSet =
false;
100 bool m_defaultConfigHasBeenSet =
false;
103 bool m_functionDefinitionIdHasBeenSet =
false;
106 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