7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/Function.h>
10#include <aws/greengrass/model/FunctionDefaultConfig.h>
43 template <
typename DefaultConfigT = FunctionDefaultConfig>
45 m_defaultConfigHasBeenSet =
true;
46 m_defaultConfig = std::forward<DefaultConfigT>(value);
48 template <
typename DefaultConfigT = FunctionDefaultConfig>
61 template <
typename FunctionsT = Aws::Vector<Function>>
63 m_functionsHasBeenSet =
true;
64 m_functions = std::forward<FunctionsT>(value);
66 template <
typename FunctionsT = Aws::Vector<Function>>
71 template <
typename FunctionsT = Function>
73 m_functionsHasBeenSet =
true;
74 m_functions.emplace_back(std::forward<FunctionsT>(value));
82 bool m_defaultConfigHasBeenSet =
false;
83 bool m_functionsHasBeenSet =
false;
FunctionDefinitionVersion & WithDefaultConfig(DefaultConfigT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API FunctionDefinitionVersion(Aws::Utils::Json::JsonView jsonValue)
bool DefaultConfigHasBeenSet() const
bool FunctionsHasBeenSet() const
FunctionDefinitionVersion & AddFunctions(FunctionsT &&value)
const FunctionDefaultConfig & GetDefaultConfig() const
AWS_GREENGRASS_API FunctionDefinitionVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFunctions(FunctionsT &&value)
FunctionDefinitionVersion & WithFunctions(FunctionsT &&value)
const Aws::Vector< Function > & GetFunctions() const
AWS_GREENGRASS_API FunctionDefinitionVersion()=default
void SetDefaultConfig(DefaultConfigT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue