7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/ServiceManagedEc2AutoScalingConfiguration.h>
10#include <aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h>
11#include <aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.h>
12#include <aws/deadline/model/VpcConfiguration.h>
45 template <
typename InstanceCapabilitiesT = ServiceManagedEc2InstanceCapabilities>
47 m_instanceCapabilitiesHasBeenSet =
true;
48 m_instanceCapabilities = std::forward<InstanceCapabilitiesT>(value);
50 template <
typename InstanceCapabilitiesT = ServiceManagedEc2InstanceCapabilities>
63 template <
typename InstanceMarketOptionsT = ServiceManagedEc2InstanceMarketOptions>
65 m_instanceMarketOptionsHasBeenSet =
true;
66 m_instanceMarketOptions = std::forward<InstanceMarketOptionsT>(value);
68 template <
typename InstanceMarketOptionsT = ServiceManagedEc2InstanceMarketOptions>
81 template <
typename VpcConfigurationT = VpcConfiguration>
83 m_vpcConfigurationHasBeenSet =
true;
84 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
86 template <
typename VpcConfigurationT = VpcConfiguration>
99 template <
typename StorageProfileIdT = Aws::String>
101 m_storageProfileIdHasBeenSet =
true;
102 m_storageProfileId = std::forward<StorageProfileIdT>(value);
104 template <
typename StorageProfileIdT = Aws::String>
118 template <
typename AutoScalingConfigurationT = ServiceManagedEc2AutoScalingConfiguration>
120 m_autoScalingConfigurationHasBeenSet =
true;
121 m_autoScalingConfiguration = std::forward<AutoScalingConfigurationT>(value);
123 template <
typename AutoScalingConfigurationT = ServiceManagedEc2AutoScalingConfiguration>
139 bool m_instanceCapabilitiesHasBeenSet =
false;
140 bool m_instanceMarketOptionsHasBeenSet =
false;
141 bool m_vpcConfigurationHasBeenSet =
false;
142 bool m_storageProfileIdHasBeenSet =
false;
143 bool m_autoScalingConfigurationHasBeenSet =
false;
ServiceManagedEc2FleetConfiguration & WithVpcConfiguration(VpcConfigurationT &&value)
ServiceManagedEc2FleetConfiguration & WithInstanceCapabilities(InstanceCapabilitiesT &&value)
ServiceManagedEc2FleetConfiguration & WithStorageProfileId(StorageProfileIdT &&value)
bool VpcConfigurationHasBeenSet() const
bool InstanceCapabilitiesHasBeenSet() const
AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration()=default
void SetVpcConfiguration(VpcConfigurationT &&value)
ServiceManagedEc2FleetConfiguration & WithAutoScalingConfiguration(AutoScalingConfigurationT &&value)
void SetAutoScalingConfiguration(AutoScalingConfigurationT &&value)
bool AutoScalingConfigurationHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcConfiguration & GetVpcConfiguration() const
const ServiceManagedEc2AutoScalingConfiguration & GetAutoScalingConfiguration() const
bool StorageProfileIdHasBeenSet() const
bool InstanceMarketOptionsHasBeenSet() const
void SetStorageProfileId(StorageProfileIdT &&value)
void SetInstanceMarketOptions(InstanceMarketOptionsT &&value)
void SetInstanceCapabilities(InstanceCapabilitiesT &&value)
AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStorageProfileId() const
const ServiceManagedEc2InstanceMarketOptions & GetInstanceMarketOptions() const
const ServiceManagedEc2InstanceCapabilities & GetInstanceCapabilities() const
ServiceManagedEc2FleetConfiguration & WithInstanceMarketOptions(InstanceMarketOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue