AWS SDK for C++  1.8.56
AWS SDK for C++
TargetConfiguration.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 
42  {
43  public:
46  TargetConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
47  Aws::Utils::Json::JsonValue Jsonize() const;
48 
49 
57  inline double GetTargetValue() const{ return m_targetValue; }
58 
66  inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
67 
75  inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; }
76 
84  inline TargetConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;}
85 
86  private:
87 
88  double m_targetValue;
89  bool m_targetValueHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace GameLift
94 } // namespace Aws
#define AWS_GAMELIFT_API
TargetConfiguration & WithTargetValue(double value)