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 {
46 template <
typename BaseImageArnT = Aws::String>
48 m_baseImageArnHasBeenSet =
true;
49 m_baseImageArn = std::forward<BaseImageArnT>(value);
51 template <
typename BaseImageArnT = Aws::String>
64 template <
typename BaseImageVersionT = Aws::String>
66 m_baseImageVersionHasBeenSet =
true;
67 m_baseImageVersion = std::forward<BaseImageVersionT>(value);
69 template <
typename BaseImageVersionT = Aws::String>
82 template <
typename BuildRoleArnT = Aws::String>
84 m_buildRoleArnHasBeenSet =
true;
85 m_buildRoleArn = std::forward<BuildRoleArnT>(value);
87 template <
typename BuildRoleArnT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
119 template <
typename CodeArtifactT = CodeArtifact>
121 m_codeArtifactHasBeenSet =
true;
122 m_codeArtifact = std::forward<CodeArtifactT>(value);
124 template <
typename CodeArtifactT = CodeArtifact>
139 template <
typename LoggingT = Logging>
141 m_loggingHasBeenSet =
true;
142 m_logging = std::forward<LoggingT>(value);
144 template <
typename LoggingT = Logging>
158 template <
typename EgressNetworkConnectorsT = Aws::Vector<Aws::String>>
160 m_egressNetworkConnectorsHasBeenSet =
true;
161 m_egressNetworkConnectors = std::forward<EgressNetworkConnectorsT>(value);
163 template <
typename EgressNetworkConnectorsT = Aws::Vector<Aws::String>>
168 template <
typename EgressNetworkConnectorsT = Aws::String>
170 m_egressNetworkConnectorsHasBeenSet =
true;
171 m_egressNetworkConnectors.emplace_back(std::forward<EgressNetworkConnectorsT>(value));
182 template <
typename CpuConfigurationsT = Aws::Vector<CpuConfiguration>>
184 m_cpuConfigurationsHasBeenSet =
true;
185 m_cpuConfigurations = std::forward<CpuConfigurationsT>(value);
187 template <
typename CpuConfigurationsT = Aws::Vector<CpuConfiguration>>
192 template <
typename CpuConfigurationsT = CpuConfiguration>
194 m_cpuConfigurationsHasBeenSet =
true;
195 m_cpuConfigurations.emplace_back(std::forward<CpuConfigurationsT>(value));
206 template <
typename ResourcesT = Aws::Vector<Resources>>
208 m_resourcesHasBeenSet =
true;
209 m_resources = std::forward<ResourcesT>(value);
211 template <
typename ResourcesT = Aws::Vector<Resources>>
216 template <
typename ResourcesT = Resources>
218 m_resourcesHasBeenSet =
true;
219 m_resources.emplace_back(std::forward<ResourcesT>(value));
230 template <
typename AdditionalOsCapabilitiesT = Aws::Vector<Capability>>
232 m_additionalOsCapabilitiesHasBeenSet =
true;
233 m_additionalOsCapabilities = std::forward<AdditionalOsCapabilitiesT>(value);
235 template <
typename AdditionalOsCapabilitiesT = Aws::Vector<Capability>>
241 m_additionalOsCapabilitiesHasBeenSet =
true;
242 m_additionalOsCapabilities.push_back(value);
251 template <
typename HooksT = Hooks>
253 m_hooksHasBeenSet =
true;
254 m_hooks = std::forward<HooksT>(value);
256 template <
typename HooksT = Hooks>
258 SetHooks(std::forward<HooksT>(value));
269 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
271 m_environmentVariablesHasBeenSet =
true;
272 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
274 template <
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
279 template <
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
281 m_environmentVariablesHasBeenSet =
true;
282 m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
293 template <
typename ImageIdentifierT = Aws::String>
295 m_imageIdentifierHasBeenSet =
true;
296 m_imageIdentifier = std::forward<ImageIdentifierT>(value);
298 template <
typename ImageIdentifierT = Aws::String>
312 template <
typename ClientTokenT = Aws::String>
314 m_clientTokenHasBeenSet =
true;
315 m_clientToken = std::forward<ClientTokenT>(value);
317 template <
typename ClientTokenT = Aws::String>
351 bool m_baseImageArnHasBeenSet =
false;
352 bool m_baseImageVersionHasBeenSet =
false;
353 bool m_buildRoleArnHasBeenSet =
false;
354 bool m_descriptionHasBeenSet =
false;
355 bool m_codeArtifactHasBeenSet =
false;
356 bool m_loggingHasBeenSet =
false;
357 bool m_egressNetworkConnectorsHasBeenSet =
false;
358 bool m_cpuConfigurationsHasBeenSet =
false;
359 bool m_resourcesHasBeenSet =
false;
360 bool m_additionalOsCapabilitiesHasBeenSet =
false;
361 bool m_hooksHasBeenSet =
false;
362 bool m_environmentVariablesHasBeenSet =
false;
363 bool m_imageIdentifierHasBeenSet =
false;
364 bool m_clientTokenHasBeenSet =
true;
AWS_LAMBDAMICROVMS_API Aws::String SerializePayload() const override
UpdateMicrovmImageRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
const Aws::String & GetBaseImageArn() const
const Aws::Vector< Aws::String > & GetEgressNetworkConnectors() const
void SetCodeArtifact(CodeArtifactT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
UpdateMicrovmImageRequest & WithImageIdentifier(ImageIdentifierT &&value)
bool BaseImageArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool EgressNetworkConnectorsHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetBuildRoleArn() const
void SetLogging(LoggingT &&value)
const CodeArtifact & GetCodeArtifact() const
bool HooksHasBeenSet() const
const Logging & GetLogging() const
bool BuildRoleArnHasBeenSet() const
UpdateMicrovmImageRequest & WithAdditionalOsCapabilities(AdditionalOsCapabilitiesT &&value)
const Aws::String & GetBaseImageVersion() const
UpdateMicrovmImageRequest & WithBuildRoleArn(BuildRoleArnT &&value)
UpdateMicrovmImageRequest & AddEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
const Aws::String & GetImageIdentifier() const
void SetResources(ResourcesT &&value)
AWS_LAMBDAMICROVMS_API UpdateMicrovmImageRequest()=default
UpdateMicrovmImageRequest & AddAdditionalOsCapabilities(Capability value)
UpdateMicrovmImageRequest & AddCpuConfigurations(CpuConfigurationsT &&value)
UpdateMicrovmImageRequest & AddResources(ResourcesT &&value)
UpdateMicrovmImageRequest & WithEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
UpdateMicrovmImageRequest & WithLogging(LoggingT &&value)
UpdateMicrovmImageRequest & WithCpuConfigurations(CpuConfigurationsT &&value)
void SetClientToken(ClientTokenT &&value)
bool CpuConfigurationsHasBeenSet() const
UpdateMicrovmImageRequest & WithHooks(HooksT &&value)
UpdateMicrovmImageRequest & WithBaseImageArn(BaseImageArnT &&value)
const Aws::Vector< Resources > & GetResources() const
bool AdditionalOsCapabilitiesHasBeenSet() const
UpdateMicrovmImageRequest & WithBaseImageVersion(BaseImageVersionT &&value)
UpdateMicrovmImageRequest & WithResources(ResourcesT &&value)
bool LoggingHasBeenSet() const
bool CodeArtifactHasBeenSet() const
void SetCpuConfigurations(CpuConfigurationsT &&value)
UpdateMicrovmImageRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< CpuConfiguration > & GetCpuConfigurations() const
void SetBuildRoleArn(BuildRoleArnT &&value)
UpdateMicrovmImageRequest & WithClientToken(ClientTokenT &&value)
bool ResourcesHasBeenSet() const
void SetImageIdentifier(ImageIdentifierT &&value)
const Aws::String & GetDescription() const
UpdateMicrovmImageRequest & WithCodeArtifact(CodeArtifactT &&value)
void SetEgressNetworkConnectors(EgressNetworkConnectorsT &&value)
void SetHooks(HooksT &&value)
void SetAdditionalOsCapabilities(AdditionalOsCapabilitiesT &&value)
const Hooks & GetHooks() const
UpdateMicrovmImageRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Capability > & GetAdditionalOsCapabilities() const
bool EnvironmentVariablesHasBeenSet() const
bool ImageIdentifierHasBeenSet() const
bool BaseImageVersionHasBeenSet() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
void SetBaseImageArn(BaseImageArnT &&value)
void SetBaseImageVersion(BaseImageVersionT &&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