AWS SDK for C++  1.9.103
AWS SDK for C++
ScalingPolicy.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace GameLift
29 {
30 namespace Model
31 {
32 
46  {
47  public:
52 
53 
58  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
59 
64  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
65 
70  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
71 
76  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
77 
82  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
83 
88  inline ScalingPolicy& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
89 
94  inline ScalingPolicy& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
95 
100  inline ScalingPolicy& WithFleetId(const char* value) { SetFleetId(value); return *this;}
101 
102 
110  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
111 
119  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
120 
128  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
129 
137  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
138 
146  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
147 
155  inline ScalingPolicy& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
156 
164  inline ScalingPolicy& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
165 
173  inline ScalingPolicy& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
174 
175 
180  inline const Aws::String& GetName() const{ return m_name; }
181 
186  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
187 
192  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
193 
198  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
199 
204  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
205 
210  inline ScalingPolicy& WithName(const Aws::String& value) { SetName(value); return *this;}
211 
216  inline ScalingPolicy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
217 
222  inline ScalingPolicy& WithName(const char* value) { SetName(value); return *this;}
223 
224 
241  inline const ScalingStatusType& GetStatus() const{ return m_status; }
242 
259  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
260 
277  inline void SetStatus(const ScalingStatusType& value) { m_statusHasBeenSet = true; m_status = value; }
278 
295  inline void SetStatus(ScalingStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
296 
313  inline ScalingPolicy& WithStatus(const ScalingStatusType& value) { SetStatus(value); return *this;}
314 
331  inline ScalingPolicy& WithStatus(ScalingStatusType&& value) { SetStatus(std::move(value)); return *this;}
332 
333 
337  inline int GetScalingAdjustment() const{ return m_scalingAdjustment; }
338 
342  inline bool ScalingAdjustmentHasBeenSet() const { return m_scalingAdjustmentHasBeenSet; }
343 
347  inline void SetScalingAdjustment(int value) { m_scalingAdjustmentHasBeenSet = true; m_scalingAdjustment = value; }
348 
352  inline ScalingPolicy& WithScalingAdjustment(int value) { SetScalingAdjustment(value); return *this;}
353 
354 
365  inline const ScalingAdjustmentType& GetScalingAdjustmentType() const{ return m_scalingAdjustmentType; }
366 
377  inline bool ScalingAdjustmentTypeHasBeenSet() const { return m_scalingAdjustmentTypeHasBeenSet; }
378 
389  inline void SetScalingAdjustmentType(const ScalingAdjustmentType& value) { m_scalingAdjustmentTypeHasBeenSet = true; m_scalingAdjustmentType = value; }
390 
401  inline void SetScalingAdjustmentType(ScalingAdjustmentType&& value) { m_scalingAdjustmentTypeHasBeenSet = true; m_scalingAdjustmentType = std::move(value); }
402 
413  inline ScalingPolicy& WithScalingAdjustmentType(const ScalingAdjustmentType& value) { SetScalingAdjustmentType(value); return *this;}
414 
425  inline ScalingPolicy& WithScalingAdjustmentType(ScalingAdjustmentType&& value) { SetScalingAdjustmentType(std::move(value)); return *this;}
426 
427 
432  inline const ComparisonOperatorType& GetComparisonOperator() const{ return m_comparisonOperator; }
433 
438  inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
439 
444  inline void SetComparisonOperator(const ComparisonOperatorType& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
445 
450  inline void SetComparisonOperator(ComparisonOperatorType&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
451 
456  inline ScalingPolicy& WithComparisonOperator(const ComparisonOperatorType& value) { SetComparisonOperator(value); return *this;}
457 
462  inline ScalingPolicy& WithComparisonOperator(ComparisonOperatorType&& value) { SetComparisonOperator(std::move(value)); return *this;}
463 
464 
468  inline double GetThreshold() const{ return m_threshold; }
469 
473  inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
474 
478  inline void SetThreshold(double value) { m_thresholdHasBeenSet = true; m_threshold = value; }
479 
483  inline ScalingPolicy& WithThreshold(double value) { SetThreshold(value); return *this;}
484 
485 
490  inline int GetEvaluationPeriods() const{ return m_evaluationPeriods; }
491 
496  inline bool EvaluationPeriodsHasBeenSet() const { return m_evaluationPeriodsHasBeenSet; }
497 
502  inline void SetEvaluationPeriods(int value) { m_evaluationPeriodsHasBeenSet = true; m_evaluationPeriods = value; }
503 
508  inline ScalingPolicy& WithEvaluationPeriods(int value) { SetEvaluationPeriods(value); return *this;}
509 
510 
539  inline const MetricName& GetMetricName() const{ return m_metricName; }
540 
569  inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
570 
599  inline void SetMetricName(const MetricName& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
600 
629  inline void SetMetricName(MetricName&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
630 
659  inline ScalingPolicy& WithMetricName(const MetricName& value) { SetMetricName(value); return *this;}
660 
689  inline ScalingPolicy& WithMetricName(MetricName&& value) { SetMetricName(std::move(value)); return *this;}
690 
691 
700  inline const PolicyType& GetPolicyType() const{ return m_policyType; }
701 
710  inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
711 
720  inline void SetPolicyType(const PolicyType& value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
721 
730  inline void SetPolicyType(PolicyType&& value) { m_policyTypeHasBeenSet = true; m_policyType = std::move(value); }
731 
740  inline ScalingPolicy& WithPolicyType(const PolicyType& value) { SetPolicyType(value); return *this;}
741 
750  inline ScalingPolicy& WithPolicyType(PolicyType&& value) { SetPolicyType(std::move(value)); return *this;}
751 
752 
756  inline const TargetConfiguration& GetTargetConfiguration() const{ return m_targetConfiguration; }
757 
761  inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; }
762 
766  inline void SetTargetConfiguration(const TargetConfiguration& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = value; }
767 
771  inline void SetTargetConfiguration(TargetConfiguration&& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = std::move(value); }
772 
776  inline ScalingPolicy& WithTargetConfiguration(const TargetConfiguration& value) { SetTargetConfiguration(value); return *this;}
777 
781  inline ScalingPolicy& WithTargetConfiguration(TargetConfiguration&& value) { SetTargetConfiguration(std::move(value)); return *this;}
782 
783 
789  inline const LocationUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
790 
796  inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
797 
803  inline void SetUpdateStatus(const LocationUpdateStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
804 
810  inline void SetUpdateStatus(LocationUpdateStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
811 
817  inline ScalingPolicy& WithUpdateStatus(const LocationUpdateStatus& value) { SetUpdateStatus(value); return *this;}
818 
824  inline ScalingPolicy& WithUpdateStatus(LocationUpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
825 
826 
830  inline const Aws::String& GetLocation() const{ return m_location; }
831 
835  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
836 
840  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
841 
845  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
846 
850  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
851 
855  inline ScalingPolicy& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
856 
860  inline ScalingPolicy& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
861 
865  inline ScalingPolicy& WithLocation(const char* value) { SetLocation(value); return *this;}
866 
867  private:
868 
869  Aws::String m_fleetId;
870  bool m_fleetIdHasBeenSet;
871 
872  Aws::String m_fleetArn;
873  bool m_fleetArnHasBeenSet;
874 
875  Aws::String m_name;
876  bool m_nameHasBeenSet;
877 
878  ScalingStatusType m_status;
879  bool m_statusHasBeenSet;
880 
881  int m_scalingAdjustment;
882  bool m_scalingAdjustmentHasBeenSet;
883 
884  ScalingAdjustmentType m_scalingAdjustmentType;
885  bool m_scalingAdjustmentTypeHasBeenSet;
886 
887  ComparisonOperatorType m_comparisonOperator;
888  bool m_comparisonOperatorHasBeenSet;
889 
890  double m_threshold;
891  bool m_thresholdHasBeenSet;
892 
893  int m_evaluationPeriods;
894  bool m_evaluationPeriodsHasBeenSet;
895 
896  MetricName m_metricName;
897  bool m_metricNameHasBeenSet;
898 
899  PolicyType m_policyType;
900  bool m_policyTypeHasBeenSet;
901 
902  TargetConfiguration m_targetConfiguration;
903  bool m_targetConfigurationHasBeenSet;
904 
905  LocationUpdateStatus m_updateStatus;
906  bool m_updateStatusHasBeenSet;
907 
908  Aws::String m_location;
909  bool m_locationHasBeenSet;
910  };
911 
912 } // namespace Model
913 } // namespace GameLift
914 } // namespace Aws
Aws::GameLift::Model::MetricName
MetricName
Definition: MetricName.h:17
Aws::GameLift::Model::ScalingPolicy::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: ScalingPolicy.h:137
Aws::GameLift::Model::ScalingPolicy::ScalingPolicy
ScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::ScalingPolicy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::ScalingPolicy::SetPolicyType
void SetPolicyType(const PolicyType &value)
Definition: ScalingPolicy.h:720
Aws::GameLift::Model::ScalingPolicy::FleetArnHasBeenSet
bool FleetArnHasBeenSet() const
Definition: ScalingPolicy.h:119
TargetConfiguration.h
Aws::GameLift::Model::ScalingPolicy::SetPolicyType
void SetPolicyType(PolicyType &&value)
Definition: ScalingPolicy.h:730
Aws::GameLift::Model::ScalingPolicy::WithName
ScalingPolicy & WithName(const Aws::String &value)
Definition: ScalingPolicy.h:210
Aws::GameLift::Model::ScalingPolicy::WithFleetId
ScalingPolicy & WithFleetId(const Aws::String &value)
Definition: ScalingPolicy.h:88
Aws::GameLift::Model::ScalingPolicy::SetStatus
void SetStatus(ScalingStatusType &&value)
Definition: ScalingPolicy.h:295
Aws::GameLift::Model::ScalingPolicy::WithName
ScalingPolicy & WithName(Aws::String &&value)
Definition: ScalingPolicy.h:216
Aws::GameLift::Model::ScalingPolicy::SetScalingAdjustmentType
void SetScalingAdjustmentType(ScalingAdjustmentType &&value)
Definition: ScalingPolicy.h:401
Aws::GameLift::Model::ScalingPolicy::WithName
ScalingPolicy & WithName(const char *value)
Definition: ScalingPolicy.h:222
Aws::GameLift::Model::ScalingPolicy::SetLocation
void SetLocation(Aws::String &&value)
Definition: ScalingPolicy.h:845
Aws::GameLift::Model::ScalingPolicy::SetName
void SetName(const Aws::String &value)
Definition: ScalingPolicy.h:192
Aws::GameLift::Model::ScalingPolicy::GetStatus
const ScalingStatusType & GetStatus() const
Definition: ScalingPolicy.h:241
Aws::GameLift::Model::ScalingPolicy::SetScalingAdjustmentType
void SetScalingAdjustmentType(const ScalingAdjustmentType &value)
Definition: ScalingPolicy.h:389
MetricName.h
Aws::GameLift::Model::ScalingPolicy::WithFleetId
ScalingPolicy & WithFleetId(Aws::String &&value)
Definition: ScalingPolicy.h:94
Aws::GameLift::Model::ScalingPolicy::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: ScalingPolicy.h:64
Aws::GameLift::Model::ScalingPolicy::GetFleetId
const Aws::String & GetFleetId() const
Definition: ScalingPolicy.h:58
Aws::GameLift::Model::ScalingPolicy::WithComparisonOperator
ScalingPolicy & WithComparisonOperator(const ComparisonOperatorType &value)
Definition: ScalingPolicy.h:456
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ScalingPolicy::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: ScalingPolicy.h:835
Aws::GameLift::Model::ScalingPolicy::ScalingAdjustmentTypeHasBeenSet
bool ScalingAdjustmentTypeHasBeenSet() const
Definition: ScalingPolicy.h:377
Aws::GameLift::Model::ScalingPolicy::WithPolicyType
ScalingPolicy & WithPolicyType(PolicyType &&value)
Definition: ScalingPolicy.h:750
Aws::GameLift::Model::ScalingPolicy::WithMetricName
ScalingPolicy & WithMetricName(const MetricName &value)
Definition: ScalingPolicy.h:659
Aws::GameLift::Model::ScalingPolicy::SetLocation
void SetLocation(const Aws::String &value)
Definition: ScalingPolicy.h:840
Aws::GameLift::Model::ScalingPolicy::ComparisonOperatorHasBeenSet
bool ComparisonOperatorHasBeenSet() const
Definition: ScalingPolicy.h:438
Aws::GameLift::Model::ScalingPolicy::WithFleetArn
ScalingPolicy & WithFleetArn(const char *value)
Definition: ScalingPolicy.h:173
Aws::GameLift::Model::ScalingPolicy::SetComparisonOperator
void SetComparisonOperator(ComparisonOperatorType &&value)
Definition: ScalingPolicy.h:450
Aws::GameLift::Model::ScalingAdjustmentType
ScalingAdjustmentType
Definition: ScalingAdjustmentType.h:17
Aws::GameLift::Model::ScalingPolicy::EvaluationPeriodsHasBeenSet
bool EvaluationPeriodsHasBeenSet() const
Definition: ScalingPolicy.h:496
Aws::GameLift::Model::ScalingPolicy::SetEvaluationPeriods
void SetEvaluationPeriods(int value)
Definition: ScalingPolicy.h:502
Aws::GameLift::Model::ScalingPolicy::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: ScalingPolicy.h:70
Aws::GameLift::Model::ScalingPolicy::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: ScalingPolicy.h:128
Aws::GameLift::Model::ScalingPolicy::WithThreshold
ScalingPolicy & WithThreshold(double value)
Definition: ScalingPolicy.h:483
Aws::GameLift::Model::ScalingPolicy::SetThreshold
void SetThreshold(double value)
Definition: ScalingPolicy.h:478
Aws::GameLift::Model::ScalingPolicy::WithLocation
ScalingPolicy & WithLocation(const char *value)
Definition: ScalingPolicy.h:865
Aws::GameLift::Model::ScalingPolicy::operator=
ScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::ScalingPolicy::SetFleetArn
void SetFleetArn(const char *value)
Definition: ScalingPolicy.h:146
Aws::GameLift::Model::ScalingPolicy::WithEvaluationPeriods
ScalingPolicy & WithEvaluationPeriods(int value)
Definition: ScalingPolicy.h:508
GameLift_EXPORTS.h
Aws::GameLift::Model::LocationUpdateStatus
LocationUpdateStatus
Definition: LocationUpdateStatus.h:17
ScalingStatusType.h
Aws::GameLift::Model::ScalingPolicy::GetName
const Aws::String & GetName() const
Definition: ScalingPolicy.h:180
Aws::GameLift::Model::ScalingPolicy::GetLocation
const Aws::String & GetLocation() const
Definition: ScalingPolicy.h:830
Aws::GameLift::Model::ScalingPolicy::WithMetricName
ScalingPolicy & WithMetricName(MetricName &&value)
Definition: ScalingPolicy.h:689
Aws::GameLift::Model::ScalingPolicy::MetricNameHasBeenSet
bool MetricNameHasBeenSet() const
Definition: ScalingPolicy.h:569
Aws::GameLift::Model::ScalingPolicy::SetScalingAdjustment
void SetScalingAdjustment(int value)
Definition: ScalingPolicy.h:347
Aws::GameLift::Model::ScalingPolicy::WithStatus
ScalingPolicy & WithStatus(const ScalingStatusType &value)
Definition: ScalingPolicy.h:313
Aws::GameLift::Model::ScalingPolicy::WithFleetArn
ScalingPolicy & WithFleetArn(Aws::String &&value)
Definition: ScalingPolicy.h:164
Aws::GameLift::Model::ScalingPolicy::GetEvaluationPeriods
int GetEvaluationPeriods() const
Definition: ScalingPolicy.h:490
Aws::GameLift::Model::ScalingPolicy::WithScalingAdjustment
ScalingPolicy & WithScalingAdjustment(int value)
Definition: ScalingPolicy.h:352
Aws::GameLift::Model::ScalingPolicy::GetComparisonOperator
const ComparisonOperatorType & GetComparisonOperator() const
Definition: ScalingPolicy.h:432
Aws::GameLift::Model::ScalingPolicy::GetUpdateStatus
const LocationUpdateStatus & GetUpdateStatus() const
Definition: ScalingPolicy.h:789
Aws::GameLift::Model::ScalingPolicy::WithTargetConfiguration
ScalingPolicy & WithTargetConfiguration(TargetConfiguration &&value)
Definition: ScalingPolicy.h:781
Aws::GameLift::Model::PolicyType
PolicyType
Definition: PolicyType.h:17
Aws::GameLift::Model::ScalingPolicy::WithTargetConfiguration
ScalingPolicy & WithTargetConfiguration(const TargetConfiguration &value)
Definition: ScalingPolicy.h:776
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GameLift::Model::ScalingPolicy::WithLocation
ScalingPolicy & WithLocation(const Aws::String &value)
Definition: ScalingPolicy.h:855
AWSString.h
Aws::GameLift::Model::ScalingPolicy::WithFleetId
ScalingPolicy & WithFleetId(const char *value)
Definition: ScalingPolicy.h:100
Aws::GameLift::Model::ScalingPolicy::GetTargetConfiguration
const TargetConfiguration & GetTargetConfiguration() const
Definition: ScalingPolicy.h:756
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
ComparisonOperatorType.h
Aws::GameLift::Model::ScalingPolicy::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ScalingPolicy.h:259
Aws::GameLift::Model::ScalingPolicy::ScalingPolicy
ScalingPolicy()
Aws::GameLift::Model::ScalingPolicy::WithUpdateStatus
ScalingPolicy & WithUpdateStatus(const LocationUpdateStatus &value)
Definition: ScalingPolicy.h:817
Aws::GameLift::Model::ScalingPolicy::SetFleetId
void SetFleetId(const char *value)
Definition: ScalingPolicy.h:82
Aws::GameLift::Model::ScalingPolicy::TargetConfigurationHasBeenSet
bool TargetConfigurationHasBeenSet() const
Definition: ScalingPolicy.h:761
Aws::GameLift::Model::ScalingPolicy::SetLocation
void SetLocation(const char *value)
Definition: ScalingPolicy.h:850
Aws::GameLift::Model::ScalingPolicy::WithFleetArn
ScalingPolicy & WithFleetArn(const Aws::String &value)
Definition: ScalingPolicy.h:155
Aws::GameLift::Model::ScalingPolicy::WithUpdateStatus
ScalingPolicy & WithUpdateStatus(LocationUpdateStatus &&value)
Definition: ScalingPolicy.h:824
Aws::GameLift::Model::ScalingPolicy::SetStatus
void SetStatus(const ScalingStatusType &value)
Definition: ScalingPolicy.h:277
Aws::GameLift::Model::ScalingPolicy::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: ScalingPolicy.h:110
LocationUpdateStatus.h
Aws::GameLift::Model::ScalingPolicy::SetMetricName
void SetMetricName(const MetricName &value)
Definition: ScalingPolicy.h:599
Aws::GameLift::Model::ScalingPolicy::SetUpdateStatus
void SetUpdateStatus(const LocationUpdateStatus &value)
Definition: ScalingPolicy.h:803
Aws::GameLift::Model::ScalingPolicy::GetScalingAdjustmentType
const ScalingAdjustmentType & GetScalingAdjustmentType() const
Definition: ScalingPolicy.h:365
Aws::GameLift::Model::ScalingPolicy::GetThreshold
double GetThreshold() const
Definition: ScalingPolicy.h:468
Aws::GameLift::Model::ScalingPolicy::SetName
void SetName(Aws::String &&value)
Definition: ScalingPolicy.h:198
Aws::GameLift::Model::ScalingPolicy::SetMetricName
void SetMetricName(MetricName &&value)
Definition: ScalingPolicy.h:629
Aws::GameLift::Model::TargetConfiguration
Definition: TargetConfiguration.h:41
Aws::GameLift::Model::ScalingPolicy::SetTargetConfiguration
void SetTargetConfiguration(const TargetConfiguration &value)
Definition: ScalingPolicy.h:766
Aws::GameLift::Model::ScalingPolicy::SetUpdateStatus
void SetUpdateStatus(LocationUpdateStatus &&value)
Definition: ScalingPolicy.h:810
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ScalingPolicy::SetTargetConfiguration
void SetTargetConfiguration(TargetConfiguration &&value)
Definition: ScalingPolicy.h:771
Aws::GameLift::Model::ScalingPolicy::GetPolicyType
const PolicyType & GetPolicyType() const
Definition: ScalingPolicy.h:700
Aws::GameLift::Model::ScalingPolicy::ThresholdHasBeenSet
bool ThresholdHasBeenSet() const
Definition: ScalingPolicy.h:473
Aws::GameLift::Model::ScalingPolicy::WithStatus
ScalingPolicy & WithStatus(ScalingStatusType &&value)
Definition: ScalingPolicy.h:331
Aws::GameLift::Model::ScalingPolicy
Definition: ScalingPolicy.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ScalingPolicy::WithScalingAdjustmentType
ScalingPolicy & WithScalingAdjustmentType(ScalingAdjustmentType &&value)
Definition: ScalingPolicy.h:425
Aws::GameLift::Model::ScalingPolicy::GetMetricName
const MetricName & GetMetricName() const
Definition: ScalingPolicy.h:539
Aws::GameLift::Model::ScalingPolicy::PolicyTypeHasBeenSet
bool PolicyTypeHasBeenSet() const
Definition: ScalingPolicy.h:710
Aws::GameLift::Model::ScalingPolicy::SetName
void SetName(const char *value)
Definition: ScalingPolicy.h:204
Aws::GameLift::Model::ScalingPolicy::WithScalingAdjustmentType
ScalingPolicy & WithScalingAdjustmentType(const ScalingAdjustmentType &value)
Definition: ScalingPolicy.h:413
Aws::GameLift::Model::ScalingPolicy::GetScalingAdjustment
int GetScalingAdjustment() const
Definition: ScalingPolicy.h:337
Aws::GameLift::Model::ScalingPolicy::WithComparisonOperator
ScalingPolicy & WithComparisonOperator(ComparisonOperatorType &&value)
Definition: ScalingPolicy.h:462
Aws::GameLift::Model::ScalingPolicy::WithPolicyType
ScalingPolicy & WithPolicyType(const PolicyType &value)
Definition: ScalingPolicy.h:740
ScalingAdjustmentType.h
Aws::GameLift::Model::ScalingStatusType
ScalingStatusType
Definition: ScalingStatusType.h:17
PolicyType.h
Aws::GameLift::Model::ScalingPolicy::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ScalingPolicy.h:186
Aws::GameLift::Model::ScalingPolicy::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: ScalingPolicy.h:76
Aws::GameLift::Model::ComparisonOperatorType
ComparisonOperatorType
Definition: ComparisonOperatorType.h:17
Aws::GameLift::Model::ScalingPolicy::SetComparisonOperator
void SetComparisonOperator(const ComparisonOperatorType &value)
Definition: ScalingPolicy.h:444
Aws::GameLift::Model::ScalingPolicy::WithLocation
ScalingPolicy & WithLocation(Aws::String &&value)
Definition: ScalingPolicy.h:860
Aws::GameLift::Model::ScalingPolicy::UpdateStatusHasBeenSet
bool UpdateStatusHasBeenSet() const
Definition: ScalingPolicy.h:796
Aws::GameLift::Model::ScalingPolicy::ScalingAdjustmentHasBeenSet
bool ScalingAdjustmentHasBeenSet() const
Definition: ScalingPolicy.h:342