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/ScalingConfigurationOutput.h>
14#include <aws/codebuild/model/FleetOverflowBehavior.h>
15#include <aws/codebuild/model/VpcConfig.h>
16#include <aws/codebuild/model/ProxyConfiguration.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/codebuild/model/Tag.h>
58 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
59 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
86 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
87 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
136 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
279 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
297 inline void SetFleetServiceRole(
const char* value) { m_fleetServiceRoleHasBeenSet =
true; m_fleetServiceRole.assign(value); }
315 inline Fleet&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
316 inline Fleet&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
321 bool m_arnHasBeenSet =
false;
324 bool m_nameHasBeenSet =
false;
327 bool m_idHasBeenSet =
false;
330 bool m_createdHasBeenSet =
false;
333 bool m_lastModifiedHasBeenSet =
false;
336 bool m_statusHasBeenSet =
false;
339 bool m_baseCapacityHasBeenSet =
false;
342 bool m_environmentTypeHasBeenSet =
false;
345 bool m_computeTypeHasBeenSet =
false;
348 bool m_scalingConfigurationHasBeenSet =
false;
351 bool m_overflowBehaviorHasBeenSet =
false;
354 bool m_vpcConfigHasBeenSet =
false;
357 bool m_proxyConfigurationHasBeenSet =
false;
360 bool m_imageIdHasBeenSet =
false;
363 bool m_fleetServiceRoleHasBeenSet =
false;
366 bool m_tagsHasBeenSet =
false;
void SetImageId(Aws::String &&value)
void SetFleetServiceRole(const char *value)
const ProxyConfiguration & GetProxyConfiguration() const
const Aws::Utils::DateTime & GetLastModified() const
bool ImageIdHasBeenSet() const
void SetBaseCapacity(int value)
const Aws::String & GetFleetServiceRole() const
bool TagsHasBeenSet() const
void SetArn(Aws::String &&value)
bool OverflowBehaviorHasBeenSet() const
const Aws::String & GetId() const
bool ProxyConfigurationHasBeenSet() const
void SetVpcConfig(VpcConfig &&value)
Fleet & WithStatus(const FleetStatus &value)
void SetLastModified(Aws::Utils::DateTime &&value)
AWS_CODEBUILD_API Fleet()
const EnvironmentType & GetEnvironmentType() const
Fleet & WithImageId(const char *value)
Fleet & AddTags(Tag &&value)
Fleet & WithOverflowBehavior(FleetOverflowBehavior &&value)
Fleet & WithFleetServiceRole(Aws::String &&value)
void SetOverflowBehavior(FleetOverflowBehavior &&value)
void SetTags(Aws::Vector< Tag > &&value)
bool StatusHasBeenSet() const
void SetFleetServiceRole(const Aws::String &value)
bool CreatedHasBeenSet() const
Fleet & WithScalingConfiguration(ScalingConfigurationOutput &&value)
Fleet & WithLastModified(Aws::Utils::DateTime &&value)
bool IdHasBeenSet() const
void SetName(const Aws::String &value)
Fleet & WithScalingConfiguration(const ScalingConfigurationOutput &value)
void SetScalingConfiguration(const ScalingConfigurationOutput &value)
void SetId(Aws::String &&value)
bool LastModifiedHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
Fleet & WithArn(const char *value)
Fleet & WithEnvironmentType(EnvironmentType &&value)
AWS_CODEBUILD_API Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
const FleetOverflowBehavior & GetOverflowBehavior() const
Fleet & WithEnvironmentType(const EnvironmentType &value)
Fleet & WithFleetServiceRole(const Aws::String &value)
Fleet & WithName(const char *value)
Fleet & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
Fleet & WithVpcConfig(const VpcConfig &value)
int GetBaseCapacity() const
void SetImageId(const Aws::String &value)
void SetEnvironmentType(EnvironmentType &&value)
const VpcConfig & GetVpcConfig() const
AWS_CODEBUILD_API Fleet(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
void SetName(const char *value)
Fleet & WithProxyConfiguration(const ProxyConfiguration &value)
Fleet & WithName(const Aws::String &value)
Fleet & WithCreated(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
bool BaseCapacityHasBeenSet() const
void SetComputeType(const ComputeType &value)
void SetVpcConfig(const VpcConfig &value)
void SetComputeType(ComputeType &&value)
void SetStatus(FleetStatus &&value)
bool ScalingConfigurationHasBeenSet() const
void SetEnvironmentType(const EnvironmentType &value)
const Aws::String & GetImageId() const
Fleet & WithImageId(const Aws::String &value)
Fleet & WithProxyConfiguration(ProxyConfiguration &&value)
Fleet & WithId(const Aws::String &value)
Fleet & WithId(const char *value)
Fleet & WithTags(Aws::Vector< Tag > &&value)
void SetProxyConfiguration(ProxyConfiguration &&value)
Fleet & AddTags(const Tag &value)
Fleet & WithId(Aws::String &&value)
Fleet & WithOverflowBehavior(const FleetOverflowBehavior &value)
Fleet & WithLastModified(const Aws::Utils::DateTime &value)
void SetProxyConfiguration(const ProxyConfiguration &value)
void SetOverflowBehavior(const FleetOverflowBehavior &value)
Fleet & WithName(Aws::String &&value)
const ComputeType & GetComputeType() const
Fleet & WithFleetServiceRole(const char *value)
void SetName(Aws::String &&value)
const FleetStatus & GetStatus() const
bool VpcConfigHasBeenSet() const
Fleet & WithBaseCapacity(int value)
Fleet & WithVpcConfig(VpcConfig &&value)
void SetCreated(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
bool EnvironmentTypeHasBeenSet() const
bool ComputeTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const ScalingConfigurationOutput & GetScalingConfiguration() const
void SetId(const char *value)
Fleet & WithCreated(Aws::Utils::DateTime &&value)
void SetImageId(const char *value)
Fleet & WithComputeType(ComputeType &&value)
bool FleetServiceRoleHasBeenSet() const
Fleet & WithComputeType(const ComputeType &value)
void SetFleetServiceRole(Aws::String &&value)
Fleet & WithTags(const Aws::Vector< Tag > &value)
Fleet & WithStatus(FleetStatus &&value)
void SetArn(const char *value)
void SetCreated(const Aws::Utils::DateTime &value)
void SetLastModified(const Aws::Utils::DateTime &value)
Fleet & WithArn(const Aws::String &value)
const Aws::String & GetName() const
void SetStatus(const FleetStatus &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetScalingConfiguration(ScalingConfigurationOutput &&value)
const Aws::Utils::DateTime & GetCreated() const
Fleet & WithImageId(Aws::String &&value)
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