7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codebuild/model/FleetStatus.h>
11#include <aws/codebuild/model/EnvironmentType.h>
12#include <aws/codebuild/model/ComputeType.h>
13#include <aws/codebuild/model/ComputeConfiguration.h>
14#include <aws/codebuild/model/ScalingConfigurationOutput.h>
15#include <aws/codebuild/model/FleetOverflowBehavior.h>
16#include <aws/codebuild/model/VpcConfig.h>
17#include <aws/codebuild/model/ProxyConfiguration.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/codebuild/model/Tag.h>
46 AWS_CODEBUILD_API
Fleet() =
default;
58 template<
typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
60 template<
typename ArnT = Aws::String>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
82 template<
typename IdT = Aws::String>
83 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
84 template<
typename IdT = Aws::String>
94 template<
typename CreatedT = Aws::Utils::DateTime>
95 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
96 template<
typename CreatedT = Aws::Utils::DateTime>
106 template<
typename LastModifiedT = Aws::Utils::DateTime>
107 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
108 template<
typename LastModifiedT = Aws::Utils::DateTime>
118 template<
typename StatusT = FleetStatus>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
120 template<
typename StatusT = FleetStatus>
131 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
252 template<
typename ComputeConfigurationT = ComputeConfiguration>
253 void SetComputeConfiguration(ComputeConfigurationT&& value) { m_computeConfigurationHasBeenSet =
true; m_computeConfiguration = std::forward<ComputeConfigurationT>(value); }
254 template<
typename ComputeConfigurationT = ComputeConfiguration>
264 template<
typename ScalingConfigurationT = ScalingConfigurationOutput>
265 void SetScalingConfiguration(ScalingConfigurationT&& value) { m_scalingConfigurationHasBeenSet =
true; m_scalingConfiguration = std::forward<ScalingConfigurationT>(value); }
266 template<
typename ScalingConfigurationT = ScalingConfigurationOutput>
293 template<
typename VpcConfigT = VpcConfig>
294 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
295 template<
typename VpcConfigT = VpcConfig>
305 template<
typename ProxyConfigurationT = ProxyConfiguration>
306 void SetProxyConfiguration(ProxyConfigurationT&& value) { m_proxyConfigurationHasBeenSet =
true; m_proxyConfiguration = std::forward<ProxyConfigurationT>(value); }
307 template<
typename ProxyConfigurationT = ProxyConfiguration>
317 template<
typename ImageIdT = Aws::String>
318 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
319 template<
typename ImageIdT = Aws::String>
333 template<
typename FleetServiceRoleT = Aws::String>
334 void SetFleetServiceRole(FleetServiceRoleT&& value) { m_fleetServiceRoleHasBeenSet =
true; m_fleetServiceRole = std::forward<FleetServiceRoleT>(value); }
335 template<
typename FleetServiceRoleT = Aws::String>
347 template<
typename TagsT = Aws::Vector<Tag>>
348 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
349 template<
typename TagsT = Aws::Vector<Tag>>
351 template<
typename TagsT = Tag>
352 Fleet&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
357 bool m_arnHasBeenSet =
false;
360 bool m_nameHasBeenSet =
false;
363 bool m_idHasBeenSet =
false;
366 bool m_createdHasBeenSet =
false;
369 bool m_lastModifiedHasBeenSet =
false;
371 FleetStatus m_status;
372 bool m_statusHasBeenSet =
false;
374 int m_baseCapacity{0};
375 bool m_baseCapacityHasBeenSet =
false;
378 bool m_environmentTypeHasBeenSet =
false;
381 bool m_computeTypeHasBeenSet =
false;
383 ComputeConfiguration m_computeConfiguration;
384 bool m_computeConfigurationHasBeenSet =
false;
386 ScalingConfigurationOutput m_scalingConfiguration;
387 bool m_scalingConfigurationHasBeenSet =
false;
390 bool m_overflowBehaviorHasBeenSet =
false;
392 VpcConfig m_vpcConfig;
393 bool m_vpcConfigHasBeenSet =
false;
395 ProxyConfiguration m_proxyConfiguration;
396 bool m_proxyConfigurationHasBeenSet =
false;
399 bool m_imageIdHasBeenSet =
false;
402 bool m_fleetServiceRoleHasBeenSet =
false;
405 bool m_tagsHasBeenSet =
false;
const ProxyConfiguration & GetProxyConfiguration() const
const Aws::Utils::DateTime & GetLastModified() const
bool ImageIdHasBeenSet() const
void SetBaseCapacity(int value)
Fleet & WithComputeType(ComputeType value)
const Aws::String & GetFleetServiceRole() const
bool TagsHasBeenSet() const
bool OverflowBehaviorHasBeenSet() const
Fleet & WithLastModified(LastModifiedT &&value)
const Aws::String & GetId() const
bool ProxyConfigurationHasBeenSet() const
Fleet & WithCreated(CreatedT &&value)
AWS_CODEBUILD_API Fleet()=default
EnvironmentType GetEnvironmentType() const
bool StatusHasBeenSet() const
bool CreatedHasBeenSet() const
void SetScalingConfiguration(ScalingConfigurationT &&value)
bool IdHasBeenSet() const
Fleet & WithVpcConfig(VpcConfigT &&value)
bool LastModifiedHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImageId(ImageIdT &&value)
Fleet & WithName(NameT &&value)
ComputeType GetComputeType() const
AWS_CODEBUILD_API Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetOverflowBehavior GetOverflowBehavior() const
Fleet & WithProxyConfiguration(ProxyConfigurationT &&value)
void SetOverflowBehavior(FleetOverflowBehavior value)
Fleet & WithComputeConfiguration(ComputeConfigurationT &&value)
void SetProxyConfiguration(ProxyConfigurationT &&value)
void SetCreated(CreatedT &&value)
const Aws::String & GetArn() const
int GetBaseCapacity() const
Fleet & WithScalingConfiguration(ScalingConfigurationT &&value)
Fleet & WithStatus(StatusT &&value)
void SetVpcConfig(VpcConfigT &&value)
const VpcConfig & GetVpcConfig() const
void SetTags(TagsT &&value)
AWS_CODEBUILD_API Fleet(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentType(EnvironmentType value)
void SetArn(ArnT &&value)
bool BaseCapacityHasBeenSet() const
Fleet & WithImageId(ImageIdT &&value)
void SetStatus(StatusT &&value)
bool ScalingConfigurationHasBeenSet() const
const Aws::String & GetImageId() const
void SetComputeType(ComputeType value)
Fleet & WithEnvironmentType(EnvironmentType value)
void SetLastModified(LastModifiedT &&value)
Fleet & WithArn(ArnT &&value)
const FleetStatus & GetStatus() const
bool VpcConfigHasBeenSet() const
Fleet & AddTags(TagsT &&value)
Fleet & WithBaseCapacity(int value)
Fleet & WithOverflowBehavior(FleetOverflowBehavior value)
bool ArnHasBeenSet() const
Fleet & WithTags(TagsT &&value)
bool EnvironmentTypeHasBeenSet() const
bool ComputeTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const ScalingConfigurationOutput & GetScalingConfiguration() const
Fleet & WithId(IdT &&value)
bool ComputeConfigurationHasBeenSet() const
void SetComputeConfiguration(ComputeConfigurationT &&value)
bool FleetServiceRoleHasBeenSet() const
void SetFleetServiceRole(FleetServiceRoleT &&value)
Fleet & WithFleetServiceRole(FleetServiceRoleT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
const ComputeConfiguration & GetComputeConfiguration() const
const Aws::Utils::DateTime & GetCreated() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue