7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ComputeConfiguration.h>
9#include <aws/codebuild/model/ComputeType.h>
10#include <aws/codebuild/model/EnvironmentType.h>
11#include <aws/codebuild/model/FleetOverflowBehavior.h>
12#include <aws/codebuild/model/FleetStatus.h>
13#include <aws/codebuild/model/ProxyConfiguration.h>
14#include <aws/codebuild/model/ScalingConfigurationOutput.h>
15#include <aws/codebuild/model/Tag.h>
16#include <aws/codebuild/model/VpcConfig.h>
17#include <aws/core/utils/DateTime.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
41 AWS_CODEBUILD_API
Fleet() =
default;
52 template <
typename ArnT = Aws::String>
54 m_arnHasBeenSet =
true;
55 m_arn = std::forward<ArnT>(value);
57 template <
typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
70 template <
typename NameT = Aws::String>
72 m_nameHasBeenSet =
true;
73 m_name = std::forward<NameT>(value);
75 template <
typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
88 template <
typename IdT = Aws::String>
90 m_idHasBeenSet =
true;
91 m_id = std::forward<IdT>(value);
93 template <
typename IdT = Aws::String>
95 SetId(std::forward<IdT>(value));
106 template <
typename CreatedT = Aws::Utils::DateTime>
108 m_createdHasBeenSet =
true;
109 m_created = std::forward<CreatedT>(value);
111 template <
typename CreatedT = Aws::Utils::DateTime>
124 template <
typename LastModifiedT = Aws::Utils::DateTime>
126 m_lastModifiedHasBeenSet =
true;
127 m_lastModified = std::forward<LastModifiedT>(value);
129 template <
typename LastModifiedT = Aws::Utils::DateTime>
142 template <
typename StatusT = FleetStatus>
144 m_statusHasBeenSet =
true;
145 m_status = std::forward<StatusT>(value);
147 template <
typename StatusT = FleetStatus>
162 m_baseCapacityHasBeenSet =
true;
163 m_baseCapacity = value;
216 m_environmentTypeHasBeenSet =
true;
217 m_environmentType = value;
283 m_computeTypeHasBeenSet =
true;
284 m_computeType = value;
300 template <
typename ComputeConfigurationT = ComputeConfiguration>
302 m_computeConfigurationHasBeenSet =
true;
303 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
305 template <
typename ComputeConfigurationT = ComputeConfiguration>
318 template <
typename ScalingConfigurationT = ScalingConfigurationOutput>
320 m_scalingConfigurationHasBeenSet =
true;
321 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
323 template <
typename ScalingConfigurationT = ScalingConfigurationOutput>
346 m_overflowBehaviorHasBeenSet =
true;
347 m_overflowBehavior = value;
359 template <
typename VpcConfigT = VpcConfig>
361 m_vpcConfigHasBeenSet =
true;
362 m_vpcConfig = std::forward<VpcConfigT>(value);
364 template <
typename VpcConfigT = VpcConfig>
377 template <
typename ProxyConfigurationT = ProxyConfiguration>
379 m_proxyConfigurationHasBeenSet =
true;
380 m_proxyConfiguration = std::forward<ProxyConfigurationT>(value);
382 template <
typename ProxyConfigurationT = ProxyConfiguration>
395 template <
typename ImageIdT = Aws::String>
397 m_imageIdHasBeenSet =
true;
398 m_imageId = std::forward<ImageIdT>(value);
400 template <
typename ImageIdT = Aws::String>
417 template <
typename FleetServiceRoleT = Aws::String>
419 m_fleetServiceRoleHasBeenSet =
true;
420 m_fleetServiceRole = std::forward<FleetServiceRoleT>(value);
422 template <
typename FleetServiceRoleT = Aws::String>
437 template <
typename TagsT = Aws::Vector<Tag>>
439 m_tagsHasBeenSet =
true;
440 m_tags = std::forward<TagsT>(value);
442 template <
typename TagsT = Aws::Vector<Tag>>
444 SetTags(std::forward<TagsT>(value));
447 template <
typename TagsT = Tag>
449 m_tagsHasBeenSet =
true;
450 m_tags.emplace_back(std::forward<TagsT>(value));
465 FleetStatus m_status;
467 int m_baseCapacity{0};
473 ComputeConfiguration m_computeConfiguration;
475 ScalingConfigurationOutput m_scalingConfiguration;
479 VpcConfig m_vpcConfig;
481 ProxyConfiguration m_proxyConfiguration;
488 bool m_arnHasBeenSet =
false;
489 bool m_nameHasBeenSet =
false;
490 bool m_idHasBeenSet =
false;
491 bool m_createdHasBeenSet =
false;
492 bool m_lastModifiedHasBeenSet =
false;
493 bool m_statusHasBeenSet =
false;
494 bool m_baseCapacityHasBeenSet =
false;
495 bool m_environmentTypeHasBeenSet =
false;
496 bool m_computeTypeHasBeenSet =
false;
497 bool m_computeConfigurationHasBeenSet =
false;
498 bool m_scalingConfigurationHasBeenSet =
false;
499 bool m_overflowBehaviorHasBeenSet =
false;
500 bool m_vpcConfigHasBeenSet =
false;
501 bool m_proxyConfigurationHasBeenSet =
false;
502 bool m_imageIdHasBeenSet =
false;
503 bool m_fleetServiceRoleHasBeenSet =
false;
504 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