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>
52 inline void SetAmznClientToken(
const char* value) { m_amznClientTokenHasBeenSet =
true; m_amznClientToken.assign(value); }
79 inline void SetFunctionDefinitionId(
const char* value) { m_functionDefinitionIdHasBeenSet =
true; m_functionDefinitionId.assign(value); }
101 bool m_amznClientTokenHasBeenSet =
false;
104 bool m_defaultConfigHasBeenSet =
false;
107 bool m_functionDefinitionIdHasBeenSet =
false;
110 bool m_functionsHasBeenSet =
false;
void SetDefaultConfig(const FunctionDefaultConfig &value)
CreateFunctionDefinitionVersionRequest & WithAmznClientToken(const Aws::String &value)
CreateFunctionDefinitionVersionRequest & WithFunctions(Aws::Vector< Function > &&value)
const FunctionDefaultConfig & GetDefaultConfig() const
void SetFunctions(Aws::Vector< Function > &&value)
CreateFunctionDefinitionVersionRequest & WithAmznClientToken(const char *value)
CreateFunctionDefinitionVersionRequest & AddFunctions(const Function &value)
void SetFunctionDefinitionId(const char *value)
bool FunctionsHasBeenSet() const
const Aws::String & GetFunctionDefinitionId() const
AWS_GREENGRASS_API CreateFunctionDefinitionVersionRequest()
CreateFunctionDefinitionVersionRequest & WithDefaultConfig(const FunctionDefaultConfig &value)
const Aws::Vector< Function > & GetFunctions() const
virtual const char * GetServiceRequestName() const override
void SetAmznClientToken(const char *value)
CreateFunctionDefinitionVersionRequest & WithFunctionDefinitionId(const char *value)
bool DefaultConfigHasBeenSet() const
void SetFunctions(const Aws::Vector< Function > &value)
CreateFunctionDefinitionVersionRequest & WithFunctionDefinitionId(const Aws::String &value)
void SetAmznClientToken(Aws::String &&value)
CreateFunctionDefinitionVersionRequest & WithFunctionDefinitionId(Aws::String &&value)
void SetFunctionDefinitionId(const Aws::String &value)
CreateFunctionDefinitionVersionRequest & WithDefaultConfig(FunctionDefaultConfig &&value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
const Aws::String & GetAmznClientToken() const
bool AmznClientTokenHasBeenSet() const
CreateFunctionDefinitionVersionRequest & WithFunctions(const Aws::Vector< Function > &value)
bool FunctionDefinitionIdHasBeenSet() const
void SetFunctionDefinitionId(Aws::String &&value)
CreateFunctionDefinitionVersionRequest & WithAmznClientToken(Aws::String &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDefaultConfig(FunctionDefaultConfig &&value)
void SetAmznClientToken(const Aws::String &value)
CreateFunctionDefinitionVersionRequest & AddFunctions(Function &&value)
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