AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TargetConfiguration.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GameLift {
17namespace Model {
18
30 public:
31 AWS_GAMELIFT_API TargetConfiguration() = default;
34 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline double GetTargetValue() const { return m_targetValue; }
45 inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
46 inline void SetTargetValue(double value) {
47 m_targetValueHasBeenSet = true;
48 m_targetValue = value;
49 }
50 inline TargetConfiguration& WithTargetValue(double value) {
51 SetTargetValue(value);
52 return *this;
53 }
55 private:
56 double m_targetValue{0.0};
57 bool m_targetValueHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace GameLift
62} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API TargetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API TargetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API TargetConfiguration()=default
TargetConfiguration & WithTargetValue(double value)
Aws::Utils::Json::JsonValue JsonValue