AWS SDK for C++  1.9.104
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 
41  {
42  public:
47 
48 
56  inline double GetTargetValue() const{ return m_targetValue; }
57 
65  inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
66 
74  inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; }
75 
83  inline TargetConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;}
84 
85  private:
86 
87  double m_targetValue;
88  bool m_targetValueHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace GameLift
93 } // namespace Aws
Aws::GameLift::Model::TargetConfiguration::operator=
TargetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::TargetConfiguration::SetTargetValue
void SetTargetValue(double value)
Definition: TargetConfiguration.h:74
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::TargetConfiguration::GetTargetValue
double GetTargetValue() const
Definition: TargetConfiguration.h:56
GameLift_EXPORTS.h
Aws::GameLift::Model::TargetConfiguration::TargetValueHasBeenSet
bool TargetValueHasBeenSet() const
Definition: TargetConfiguration.h:65
Aws::GameLift::Model::TargetConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::TargetConfiguration::WithTargetValue
TargetConfiguration & WithTargetValue(double value)
Definition: TargetConfiguration.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::TargetConfiguration
Definition: TargetConfiguration.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::TargetConfiguration::TargetConfiguration
TargetConfiguration()
Aws::GameLift::Model::TargetConfiguration::TargetConfiguration
TargetConfiguration(Aws::Utils::Json::JsonView jsonValue)