7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/Array.h>
10#include <aws/greengrassv2/model/LambdaFunctionRecipeSource.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/UUID.h>
48 template<
typename InlineRecipeT = Aws::Utils::ByteBuffer>
49 void SetInlineRecipe(InlineRecipeT&& value) { m_inlineRecipeHasBeenSet =
true; m_inlineRecipe = std::forward<InlineRecipeT>(value); }
50 template<
typename InlineRecipeT = Aws::Utils::ByteBuffer>
61 template<
typename LambdaFunctionT = LambdaFunctionRecipeSource>
62 void SetLambdaFunction(LambdaFunctionT&& value) { m_lambdaFunctionHasBeenSet =
true; m_lambdaFunction = std::forward<LambdaFunctionT>(value); }
63 template<
typename LambdaFunctionT = LambdaFunctionRecipeSource>
76 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
78 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
82 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
98 template<
typename ClientTokenT = Aws::String>
99 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
100 template<
typename ClientTokenT = Aws::String>
106 bool m_inlineRecipeHasBeenSet =
false;
108 LambdaFunctionRecipeSource m_lambdaFunction;
109 bool m_lambdaFunctionHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
115 bool m_clientTokenHasBeenSet =
true;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
AWS_GREENGRASSV2_API CreateComponentVersionRequest()=default
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
CreateComponentVersionRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetClientToken() const
CreateComponentVersionRequest & WithClientToken(ClientTokenT &&value)
bool InlineRecipeHasBeenSet() const
const LambdaFunctionRecipeSource & GetLambdaFunction() const
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
void SetLambdaFunction(LambdaFunctionT &&value)
CreateComponentVersionRequest & WithInlineRecipe(InlineRecipeT &&value)
void SetInlineRecipe(InlineRecipeT &&value)
const Aws::Utils::ByteBuffer & GetInlineRecipe() const
bool LambdaFunctionHasBeenSet() const
CreateComponentVersionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateComponentVersionRequest & WithLambdaFunction(LambdaFunctionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String