7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/greengrassv2/GreengrassV2Request.h>
12#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
13#include <aws/greengrassv2/model/LambdaFunctionRecipeSource.h>
18namespace GreengrassV2 {
44 template <
typename InlineRecipeT = Aws::Utils::ByteBuffer>
46 m_inlineRecipeHasBeenSet =
true;
47 m_inlineRecipe = std::forward<InlineRecipeT>(value);
49 template <
typename InlineRecipeT = Aws::Utils::ByteBuffer>
63 template <
typename LambdaFunctionT = LambdaFunctionRecipeSource>
65 m_lambdaFunctionHasBeenSet =
true;
66 m_lambdaFunction = std::forward<LambdaFunctionT>(value);
68 template <
typename LambdaFunctionT = LambdaFunctionRecipeSource>
84 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 m_tagsHasBeenSet =
true;
87 m_tags = std::forward<TagsT>(value);
89 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 SetTags(std::forward<TagsT>(value));
94 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
96 m_tagsHasBeenSet =
true;
97 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
114 template <
typename ClientTokenT = Aws::String>
116 m_clientTokenHasBeenSet =
true;
117 m_clientToken = std::forward<ClientTokenT>(value);
119 template <
typename ClientTokenT = Aws::String>
128 LambdaFunctionRecipeSource m_lambdaFunction;
133 bool m_inlineRecipeHasBeenSet =
false;
134 bool m_lambdaFunctionHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
false;
136 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