7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lambda-microvms/LambdaMicrovmsRequest.h>
12#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
13#include <aws/lambda-microvms/model/Capability.h>
14#include <aws/lambda-microvms/model/CodeArtifact.h>
15#include <aws/lambda-microvms/model/CpuConfiguration.h>
16#include <aws/lambda-microvms/model/Hooks.h>
17#include <aws/lambda-microvms/model/Logging.h>
18#include <aws/lambda-microvms/model/Resources.h>
23namespace LambdaMicrovms {
47 template <
typename BaseImageArnT = Aws::String>
49 m_baseImageArnHasBeenSet =
true;
50 m_baseImageArn = std::forward<BaseImageArnT>(value);
52 template <
typename BaseImageArnT = Aws::String>
65 template <
typename BaseImageVersionT = Aws::String>
67 m_baseImageVersionHasBeenSet =
true;
68 m_baseImageVersion = std::forward<BaseImageVersionT>(value);
70 template <
typename BaseImageVersionT = Aws::String>
85 template <
typename BuildRoleArnT = Aws::String>
87 m_buildRoleArnHasBeenSet =
true;
88 m_buildRoleArn = std::forward<BuildRoleArnT>(value);
90 template <
typename BuildRoleArnT = Aws::String>
103 template <
typename DescriptionT = Aws::String>
105 m_descriptionHasBeenSet =
true;
106 m_description = std::forward<DescriptionT>(value);
108 template <
typename DescriptionT = Aws::String>
122 template <
typename CodeArtifactT = CodeArtifact>
124 m_codeArtifactHasBeenSet =
true;
125 m_codeArtifact = std::forward<CodeArtifactT>(value);
127 template <
typename CodeArtifactT = CodeArtifact>
142 template <
typename LoggingT = Logging>
144 m_loggingHasBeenSet =
true;
145 m_logging = std::forward<LoggingT>(value);
147 template <
typename LoggingT = Logging>
161 template <
typename EgressNetworkConnectorsT = Aws::Vector<Aws::String>>
163 m_egressNetworkConnectorsHasBeenSet =
true;
164 m_egressNetworkConnectors = std::forward<EgressNetworkConnectorsT>(value);
166 template <
typename EgressNetworkConnectorsT = Aws::Vector<Aws::String>>
171 template <
typename EgressNetworkConnectorsT = Aws::String>
173 m_egressNetworkConnectorsHasBeenSet =
true;
174 m_egressNetworkConnectors.emplace_back(std::forward<EgressNetworkConnectorsT>(value));
185 template <
typename CpuConfigurationsT = Aws::Vector<CpuConfiguration>>
187 m_cpuConfigurationsHasBeenSet =
true;
188 m_cpuConfigurations = std::forward<CpuConfigurationsT>(value);
190 template <
typename CpuConfigurationsT = Aws::Vector<CpuConfiguration>>
195 template <
typename CpuConfigurationsT = CpuConfiguration>
197 m_cpuConfigurationsHasBeenSet =
true;
198 m_cpuConfigurations.emplace_back(std::forward<CpuConfigurationsT>(value));
209 template <
typename ResourcesT = Aws::Vector<Resources>>
211 m_resourcesHasBeenSet =
true;
212 m_resources = std::forward<ResourcesT>(value);
214 template <
typename ResourcesT = Aws::Vector<Resources>>
219 template <
typename ResourcesT = Resources>
221 m_resourcesHasBeenSet =
true;
222 m_resources.emplace_back(std::forward<ResourcesT>(value));
233 template <
typename AdditionalOsCapabilitiesT = Aws::Vector<Capability>>
235 m_additionalOsCapabilitiesHasBeenSet =
true;
236 m_additionalOsCapabilities = std::forward<AdditionalOsCapabilitiesT>(value);
238 template <
typename AdditionalOsCapabilitiesT = Aws::Vector<Capability>>
244 m_additionalOsCapabilitiesHasBeenSet =
true;
245 m_additionalOsCapabilities.push_back(value);
254 template <
typename HooksT = Hooks>
256 m_hooksHasBeenSet =
true;
257 m_hooks = std::forward<HooksT>(value);
259 template <
typename HooksT = Hooks>
261 SetHooks(std::forward<HooksT>(value));
272 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
274 m_environmentVariablesHasBeenSet =
true;
275 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
277 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
282 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
284 m_environmentVariablesHasBeenSet =
true;
285 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
296 template <
typename NameT = Aws::String>
298 m_nameHasBeenSet =
true;
299 m_name = std::forward<NameT>(value);
301 template <
typename NameT = Aws::String>
303 SetName(std::forward<NameT>(value));
316 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
318 m_tagsHasBeenSet =
true;
319 m_tags = std::forward<TagsT>(value);
321 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
323 SetTags(std::forward<TagsT>(value));
326 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
328 m_tagsHasBeenSet =
true;
329 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
343 template <
typename ClientTokenT = Aws::String>
345 m_clientTokenHasBeenSet =
true;
346 m_clientToken = std::forward<ClientTokenT>(value);
348 template <
typename ClientTokenT = Aws::String>
384 bool m_baseImageArnHasBeenSet =
false;
385 bool m_baseImageVersionHasBeenSet =
false;
386 bool m_buildRoleArnHasBeenSet =
false;
387 bool m_descriptionHasBeenSet =
false;
388 bool m_codeArtifactHasBeenSet =
false;
389 bool m_loggingHasBeenSet =
false;
390 bool m_egressNetworkConnectorsHasBeenSet =
false;
391 bool m_cpuConfigurationsHasBeenSet =
false;
392 bool m_resourcesHasBeenSet =
false;
393 bool m_additionalOsCapabilitiesHasBeenSet =
false;
394 bool m_hooksHasBeenSet =
false;
395 bool m_environmentVariablesHasBeenSet =
false;
396 bool m_nameHasBeenSet =
false;
397 bool m_tagsHasBeenSet =
false;
398 bool m_clientTokenHasBeenSet =
true;
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
CreateMicrovmImageRequest & AddEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
bool HooksHasBeenSet() const
CreateMicrovmImageRequest & AddResources(ResourcesT &&value)
bool CodeArtifactHasBeenSet() const
AWS_LAMBDAMICROVMS_API CreateMicrovmImageRequest()=default
CreateMicrovmImageRequest & WithAdditionalOsCapabilities(AdditionalOsCapabilitiesT &&value)
CreateMicrovmImageRequest & WithHooks(HooksT &&value)
const Aws::String & GetDescription() const
bool CpuConfigurationsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< Aws::String > & GetEgressNetworkConnectors() const
void SetAdditionalOsCapabilities(AdditionalOsCapabilitiesT &&value)
CreateMicrovmImageRequest & AddCpuConfigurations(CpuConfigurationsT &&value)
virtual const char * GetServiceRequestName() const override
bool EgressNetworkConnectorsHasBeenSet() const
bool AdditionalOsCapabilitiesHasBeenSet() const
void SetName(NameT &&value)
CreateMicrovmImageRequest & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
CreateMicrovmImageRequest & WithTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateMicrovmImageRequest & WithEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
void SetCodeArtifact(CodeArtifactT &&value)
CreateMicrovmImageRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< Resources > & GetResources() const
bool ClientTokenHasBeenSet() const
const Aws::Vector< Capability > & GetAdditionalOsCapabilities() const
CreateMicrovmImageRequest & WithCpuConfigurations(CpuConfigurationsT &&value)
CreateMicrovmImageRequest & WithResources(ResourcesT &&value)
bool EnvironmentVariablesHasBeenSet() const
const Aws::String & GetBaseImageArn() const
bool NameHasBeenSet() const
const Aws::String & GetBaseImageVersion() const
void SetEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
CreateMicrovmImageRequest & WithBaseImageArn(BaseImageArnT &&value)
void SetResources(ResourcesT &&value)
bool ResourcesHasBeenSet() const
void SetLogging(LoggingT &&value)
const Aws::String & GetName() const
void SetHooks(HooksT &&value)
bool BaseImageArnHasBeenSet() const
AWS_LAMBDAMICROVMS_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
void SetTags(TagsT &&value)
CreateMicrovmImageRequest & WithLogging(LoggingT &&value)
void SetBuildRoleArn(BuildRoleArnT &&value)
CreateMicrovmImageRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
CreateMicrovmImageRequest & WithClientToken(ClientTokenT &&value)
const Aws::Vector< CpuConfiguration > & GetCpuConfigurations() const
bool LoggingHasBeenSet() const
void SetBaseImageVersion(BaseImageVersionT &&value)
bool BuildRoleArnHasBeenSet() const
CreateMicrovmImageRequest & WithCodeArtifact(CodeArtifactT &&value)
CreateMicrovmImageRequest & WithBaseImageVersion(BaseImageVersionT &&value)
const Logging & GetLogging() const
const CodeArtifact & GetCodeArtifact() const
CreateMicrovmImageRequest & WithDescription(DescriptionT &&value)
CreateMicrovmImageRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
bool BaseImageVersionHasBeenSet() const
CreateMicrovmImageRequest & WithBuildRoleArn(BuildRoleArnT &&value)
void SetCpuConfigurations(CpuConfigurationsT &&value)
bool TagsHasBeenSet() const
const Hooks & GetHooks() const
const Aws::String & GetClientToken() const
const Aws::String & GetBuildRoleArn() const
void SetBaseImageArn(BaseImageArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
CreateMicrovmImageRequest & AddAdditionalOsCapabilities(Capability 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
std::vector< T, Aws::Allocator< T > > Vector