AWS SDK for C++  1.9.45
AWS SDK for C++
TargetTrackingConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace GameLift
20 {
21 namespace Model
22 {
23 
37  {
38  public:
43 
44 
49  inline double GetTargetValue() const{ return m_targetValue; }
50 
55  inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
56 
61  inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; }
62 
67  inline TargetTrackingConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;}
68 
69  private:
70 
71  double m_targetValue;
72  bool m_targetValueHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace GameLift
77 } // namespace Aws
Aws::GameLift::Model::TargetTrackingConfiguration
Definition: TargetTrackingConfiguration.h:37
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::TargetTrackingConfiguration::TargetTrackingConfiguration
TargetTrackingConfiguration()
Aws::GameLift::Model::TargetTrackingConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::TargetTrackingConfiguration::TargetValueHasBeenSet
bool TargetValueHasBeenSet() const
Definition: TargetTrackingConfiguration.h:55
Aws::GameLift::Model::TargetTrackingConfiguration::SetTargetValue
void SetTargetValue(double value)
Definition: TargetTrackingConfiguration.h:61
GameLift_EXPORTS.h
Aws::GameLift::Model::TargetTrackingConfiguration::operator=
TargetTrackingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::TargetTrackingConfiguration::GetTargetValue
double GetTargetValue() const
Definition: TargetTrackingConfiguration.h:49
Aws::GameLift::Model::TargetTrackingConfiguration::TargetTrackingConfiguration
TargetTrackingConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::TargetTrackingConfiguration::WithTargetValue
TargetTrackingConfiguration & WithTargetValue(double value)
Definition: TargetTrackingConfiguration.h:67
Aws
Definition: AccessManagementClient.h:15