7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/codebuild/model/ComputeConfiguration.h>
10#include <aws/codebuild/model/ComputeType.h>
11#include <aws/codebuild/model/EnvironmentType.h>
12#include <aws/codebuild/model/FleetOverflowBehavior.h>
13#include <aws/codebuild/model/ProxyConfiguration.h>
14#include <aws/codebuild/model/ScalingConfigurationInput.h>
15#include <aws/codebuild/model/Tag.h>
16#include <aws/codebuild/model/VpcConfig.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
68 m_baseCapacityHasBeenSet =
true;
69 m_baseCapacity = value;
122 m_environmentTypeHasBeenSet =
true;
123 m_environmentType = value;
189 m_computeTypeHasBeenSet =
true;
190 m_computeType = value;
206 template <
typename ComputeConfigurationT = ComputeConfiguration>
208 m_computeConfigurationHasBeenSet =
true;
209 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
211 template <
typename ComputeConfigurationT = ComputeConfiguration>
224 template <
typename ScalingConfigurationT = ScalingConfigurationInput>
226 m_scalingConfigurationHasBeenSet =
true;
227 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
229 template <
typename ScalingConfigurationT = ScalingConfigurationInput>
252 m_overflowBehaviorHasBeenSet =
true;
253 m_overflowBehavior = value;
265 template <
typename VpcConfigT = VpcConfig>
267 m_vpcConfigHasBeenSet =
true;
268 m_vpcConfig = std::forward<VpcConfigT>(value);
270 template <
typename VpcConfigT = VpcConfig>
283 template <
typename ProxyConfigurationT = ProxyConfiguration>
285 m_proxyConfigurationHasBeenSet =
true;
286 m_proxyConfiguration = std::forward<ProxyConfigurationT>(value);
288 template <
typename ProxyConfigurationT = ProxyConfiguration>
301 template <
typename ImageIdT = Aws::String>
303 m_imageIdHasBeenSet =
true;
304 m_imageId = std::forward<ImageIdT>(value);
306 template <
typename ImageIdT = Aws::String>
323 template <
typename FleetServiceRoleT = Aws::String>
325 m_fleetServiceRoleHasBeenSet =
true;
326 m_fleetServiceRole = std::forward<FleetServiceRoleT>(value);
328 template <
typename FleetServiceRoleT = Aws::String>
343 template <
typename TagsT = Aws::Vector<Tag>>
345 m_tagsHasBeenSet =
true;
346 m_tags = std::forward<TagsT>(value);
348 template <
typename TagsT = Aws::Vector<Tag>>
350 SetTags(std::forward<TagsT>(value));
353 template <
typename TagsT = Tag>
355 m_tagsHasBeenSet =
true;
356 m_tags.emplace_back(std::forward<TagsT>(value));
362 bool m_nameHasBeenSet =
false;
364 int m_baseCapacity{0};
365 bool m_baseCapacityHasBeenSet =
false;
368 bool m_environmentTypeHasBeenSet =
false;
371 bool m_computeTypeHasBeenSet =
false;
373 ComputeConfiguration m_computeConfiguration;
374 bool m_computeConfigurationHasBeenSet =
false;
376 ScalingConfigurationInput m_scalingConfiguration;
377 bool m_scalingConfigurationHasBeenSet =
false;
380 bool m_overflowBehaviorHasBeenSet =
false;
382 VpcConfig m_vpcConfig;
383 bool m_vpcConfigHasBeenSet =
false;
385 ProxyConfiguration m_proxyConfiguration;
386 bool m_proxyConfigurationHasBeenSet =
false;
389 bool m_imageIdHasBeenSet =
false;
392 bool m_fleetServiceRoleHasBeenSet =
false;
395 bool m_tagsHasBeenSet =
false;
const ProxyConfiguration & GetProxyConfiguration() const
CreateFleetRequest & WithFleetServiceRole(FleetServiceRoleT &&value)
void SetComputeType(ComputeType value)
CreateFleetRequest & WithEnvironmentType(EnvironmentType value)
void SetVpcConfig(VpcConfigT &&value)
const VpcConfig & GetVpcConfig() const
void SetComputeConfiguration(ComputeConfigurationT &&value)
CreateFleetRequest & WithOverflowBehavior(FleetOverflowBehavior value)
void SetBaseCapacity(int value)
bool BaseCapacityHasBeenSet() const
void SetFleetServiceRole(FleetServiceRoleT &&value)
bool ImageIdHasBeenSet() const
bool ComputeConfigurationHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool ScalingConfigurationHasBeenSet() const
CreateFleetRequest & WithName(NameT &&value)
CreateFleetRequest & WithScalingConfiguration(ScalingConfigurationT &&value)
CreateFleetRequest & WithVpcConfig(VpcConfigT &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
CreateFleetRequest & WithTags(TagsT &&value)
void SetImageId(ImageIdT &&value)
const Aws::String & GetImageId() const
const Aws::Vector< Tag > & GetTags() const
bool FleetServiceRoleHasBeenSet() const
void SetProxyConfiguration(ProxyConfigurationT &&value)
bool OverflowBehaviorHasBeenSet() const
EnvironmentType GetEnvironmentType() const
const Aws::String & GetName() const
bool TagsHasBeenSet() const
bool ProxyConfigurationHasBeenSet() const
const ScalingConfigurationInput & GetScalingConfiguration() const
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(NameT &&value)
void SetOverflowBehavior(FleetOverflowBehavior value)
AWS_CODEBUILD_API CreateFleetRequest()=default
CreateFleetRequest & WithComputeConfiguration(ComputeConfigurationT &&value)
bool EnvironmentTypeHasBeenSet() const
CreateFleetRequest & AddTags(TagsT &&value)
CreateFleetRequest & WithBaseCapacity(int value)
bool NameHasBeenSet() const
const ComputeConfiguration & GetComputeConfiguration() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
const Aws::String & GetFleetServiceRole() const
CreateFleetRequest & WithImageId(ImageIdT &&value)
int GetBaseCapacity() const
CreateFleetRequest & WithComputeType(ComputeType value)
bool ComputeTypeHasBeenSet() const
void SetEnvironmentType(EnvironmentType value)
FleetOverflowBehavior GetOverflowBehavior() const
void SetScalingConfiguration(ScalingConfigurationT &&value)
CreateFleetRequest & WithProxyConfiguration(ProxyConfigurationT &&value)
ComputeType GetComputeType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector