7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/CapacityReservationRequest.h>
9#include <aws/batch/model/InstanceRequirementsRequest.h>
10#include <aws/batch/model/ManagedInstancesLocalStorageConfiguration.h>
11#include <aws/batch/model/ManagedInstancesNetworkConfiguration.h>
12#include <aws/batch/model/ManagedInstancesStorageConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
49 template <
typename Ec2InstanceProfileArnT = Aws::String>
51 m_ec2InstanceProfileArnHasBeenSet =
true;
52 m_ec2InstanceProfileArn = std::forward<Ec2InstanceProfileArnT>(value);
54 template <
typename Ec2InstanceProfileArnT = Aws::String>
67 template <
typename NetworkConfigurationT = ManagedInstancesNetworkConfiguration>
69 m_networkConfigurationHasBeenSet =
true;
70 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
72 template <
typename NetworkConfigurationT = ManagedInstancesNetworkConfiguration>
85 template <
typename InstanceRequirementsT = InstanceRequirementsRequest>
87 m_instanceRequirementsHasBeenSet =
true;
88 m_instanceRequirements = std::forward<InstanceRequirementsT>(value);
90 template <
typename InstanceRequirementsT = InstanceRequirementsRequest>
103 template <
typename StorageConfigurationT = ManagedInstancesStorageConfiguration>
105 m_storageConfigurationHasBeenSet =
true;
106 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
108 template <
typename StorageConfigurationT = ManagedInstancesStorageConfiguration>
122 template <
typename MonitoringT = Aws::String>
124 m_monitoringHasBeenSet =
true;
125 m_monitoring = std::forward<MonitoringT>(value);
127 template <
typename MonitoringT = Aws::String>
140 template <
typename CapacityReservationsT = CapacityReservationRequest>
142 m_capacityReservationsHasBeenSet =
true;
143 m_capacityReservations = std::forward<CapacityReservationsT>(value);
145 template <
typename CapacityReservationsT = CapacityReservationRequest>
160 m_instanceMetadataTagsPropagationHasBeenSet =
true;
161 m_instanceMetadataTagsPropagation = value;
175 template <
typename LocalStorageConfigurationT = ManagedInstancesLocalStorageConfiguration>
177 m_localStorageConfigurationHasBeenSet =
true;
178 m_localStorageConfiguration = std::forward<LocalStorageConfigurationT>(value);
180 template <
typename LocalStorageConfigurationT = ManagedInstancesLocalStorageConfiguration>
199 bool m_instanceMetadataTagsPropagation{
false};
201 ManagedInstancesLocalStorageConfiguration m_localStorageConfiguration;
202 bool m_ec2InstanceProfileArnHasBeenSet =
false;
203 bool m_networkConfigurationHasBeenSet =
false;
204 bool m_instanceRequirementsHasBeenSet =
false;
205 bool m_storageConfigurationHasBeenSet =
false;
206 bool m_monitoringHasBeenSet =
false;
207 bool m_capacityReservationsHasBeenSet =
false;
208 bool m_instanceMetadataTagsPropagationHasBeenSet =
false;
209 bool m_localStorageConfigurationHasBeenSet =
false;
InstanceLaunchTemplateUpdate & WithMonitoring(MonitoringT &&value)
const ManagedInstancesStorageConfiguration & GetStorageConfiguration() const
void SetStorageConfiguration(StorageConfigurationT &&value)
AWS_BATCH_API InstanceLaunchTemplateUpdate(Aws::Utils::Json::JsonView jsonValue)
bool GetInstanceMetadataTagsPropagation() const
bool MonitoringHasBeenSet() const
void SetEc2InstanceProfileArn(Ec2InstanceProfileArnT &&value)
const InstanceRequirementsRequest & GetInstanceRequirements() const
InstanceLaunchTemplateUpdate & WithStorageConfiguration(StorageConfigurationT &&value)
const CapacityReservationRequest & GetCapacityReservations() const
bool StorageConfigurationHasBeenSet() const
void SetMonitoring(MonitoringT &&value)
InstanceLaunchTemplateUpdate & WithEc2InstanceProfileArn(Ec2InstanceProfileArnT &&value)
bool InstanceRequirementsHasBeenSet() const
AWS_BATCH_API InstanceLaunchTemplateUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const ManagedInstancesNetworkConfiguration & GetNetworkConfiguration() const
const Aws::String & GetMonitoring() const
InstanceLaunchTemplateUpdate & WithLocalStorageConfiguration(LocalStorageConfigurationT &&value)
bool InstanceMetadataTagsPropagationHasBeenSet() const
InstanceLaunchTemplateUpdate & WithInstanceRequirements(InstanceRequirementsT &&value)
const ManagedInstancesLocalStorageConfiguration & GetLocalStorageConfiguration() const
bool NetworkConfigurationHasBeenSet() const
bool CapacityReservationsHasBeenSet() const
bool LocalStorageConfigurationHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceMetadataTagsPropagation(bool value)
void SetInstanceRequirements(InstanceRequirementsT &&value)
AWS_BATCH_API InstanceLaunchTemplateUpdate()=default
bool Ec2InstanceProfileArnHasBeenSet() const
void SetCapacityReservations(CapacityReservationsT &&value)
InstanceLaunchTemplateUpdate & WithNetworkConfiguration(NetworkConfigurationT &&value)
InstanceLaunchTemplateUpdate & WithInstanceMetadataTagsPropagation(bool value)
InstanceLaunchTemplateUpdate & WithCapacityReservations(CapacityReservationsT &&value)
void SetLocalStorageConfiguration(LocalStorageConfigurationT &&value)
const Aws::String & GetEc2InstanceProfileArn() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue