7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/FunctionConfiguration.h>
47 template<
typename FunctionArnT = Aws::String>
48 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet =
true; m_functionArn = std::forward<FunctionArnT>(value); }
49 template<
typename FunctionArnT = Aws::String>
59 template<
typename FunctionConfigurationT = FunctionConfiguration>
60 void SetFunctionConfiguration(FunctionConfigurationT&& value) { m_functionConfigurationHasBeenSet =
true; m_functionConfiguration = std::forward<FunctionConfigurationT>(value); }
61 template<
typename FunctionConfigurationT = FunctionConfiguration>
73 template<
typename IdT = Aws::String>
74 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
75 template<
typename IdT = Aws::String>
81 bool m_functionArnHasBeenSet =
false;
84 bool m_functionConfigurationHasBeenSet =
false;
87 bool m_idHasBeenSet =
false;
void SetFunctionConfiguration(FunctionConfigurationT &&value)
Function & WithFunctionArn(FunctionArnT &&value)
bool IdHasBeenSet() const
AWS_GREENGRASS_API Function & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API Function()=default
Function & WithFunctionConfiguration(FunctionConfigurationT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
bool FunctionArnHasBeenSet() const
const Aws::String & GetFunctionArn() const
void SetFunctionArn(FunctionArnT &&value)
bool FunctionConfigurationHasBeenSet() const
Function & WithId(IdT &&value)
const FunctionConfiguration & GetFunctionConfiguration() const
const Aws::String & GetId() const
AWS_GREENGRASS_API Function(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue