7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/InstanceRequirementsRequest.h>
10#include <aws/ecs/model/ManagedInstancesMonitoringOptions.h>
11#include <aws/ecs/model/ManagedInstancesNetworkConfiguration.h>
12#include <aws/ecs/model/ManagedInstancesStorageConfiguration.h>
55 template <
typename Ec2InstanceProfileArnT = Aws::String>
57 m_ec2InstanceProfileArnHasBeenSet =
true;
58 m_ec2InstanceProfileArn = std::forward<Ec2InstanceProfileArnT>(value);
60 template <
typename Ec2InstanceProfileArnT = Aws::String>
75 template <
typename NetworkConfigurationT = ManagedInstancesNetworkConfiguration>
77 m_networkConfigurationHasBeenSet =
true;
78 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
80 template <
typename NetworkConfigurationT = ManagedInstancesNetworkConfiguration>
94 template <
typename StorageConfigurationT = ManagedInstancesStorageConfiguration>
96 m_storageConfigurationHasBeenSet =
true;
97 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
99 template <
typename StorageConfigurationT = ManagedInstancesStorageConfiguration>
121 m_monitoringHasBeenSet =
true;
122 m_monitoring = value;
138 template <
typename InstanceRequirementsT = InstanceRequirementsRequest>
140 m_instanceRequirementsHasBeenSet =
true;
141 m_instanceRequirements = std::forward<InstanceRequirementsT>(value);
143 template <
typename InstanceRequirementsT = InstanceRequirementsRequest>
158 InstanceRequirementsRequest m_instanceRequirements;
159 bool m_ec2InstanceProfileArnHasBeenSet =
false;
160 bool m_networkConfigurationHasBeenSet =
false;
161 bool m_storageConfigurationHasBeenSet =
false;
162 bool m_monitoringHasBeenSet =
false;
163 bool m_instanceRequirementsHasBeenSet =
false;
InstanceLaunchTemplateUpdate & WithNetworkConfiguration(NetworkConfigurationT &&value)
const InstanceRequirementsRequest & GetInstanceRequirements() const
void SetInstanceRequirements(InstanceRequirementsT &&value)
bool StorageConfigurationHasBeenSet() const
void SetMonitoring(ManagedInstancesMonitoringOptions value)
InstanceLaunchTemplateUpdate & WithMonitoring(ManagedInstancesMonitoringOptions value)
const ManagedInstancesNetworkConfiguration & GetNetworkConfiguration() const
ManagedInstancesMonitoringOptions GetMonitoring() const
const ManagedInstancesStorageConfiguration & GetStorageConfiguration() const
bool Ec2InstanceProfileArnHasBeenSet() const
bool MonitoringHasBeenSet() const
AWS_ECS_API InstanceLaunchTemplateUpdate(Aws::Utils::Json::JsonView jsonValue)
InstanceLaunchTemplateUpdate & WithInstanceRequirements(InstanceRequirementsT &&value)
const Aws::String & GetEc2InstanceProfileArn() const
void SetStorageConfiguration(StorageConfigurationT &&value)
InstanceLaunchTemplateUpdate & WithEc2InstanceProfileArn(Ec2InstanceProfileArnT &&value)
bool NetworkConfigurationHasBeenSet() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API InstanceLaunchTemplateUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceLaunchTemplateUpdate & WithStorageConfiguration(StorageConfigurationT &&value)
void SetEc2InstanceProfileArn(Ec2InstanceProfileArnT &&value)
AWS_ECS_API InstanceLaunchTemplateUpdate()=default
bool InstanceRequirementsHasBeenSet() const
ManagedInstancesMonitoringOptions
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue