AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
TargetTrackingConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace GameLift {
17namespace Model {
18
31 public:
32 AWS_GAMELIFT_API TargetTrackingConfiguration() = default;
33 AWS_GAMELIFT_API TargetTrackingConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_GAMELIFT_API TargetTrackingConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
42 inline double GetTargetValue() const { return m_targetValue; }
43 inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
44 inline void SetTargetValue(double value) {
45 m_targetValueHasBeenSet = true;
46 m_targetValue = value;
47 }
49 SetTargetValue(value);
50 return *this;
51 }
53 private:
54 double m_targetValue{0.0};
55 bool m_targetValueHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace GameLift
60} // namespace Aws
AWS_GAMELIFT_API TargetTrackingConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API TargetTrackingConfiguration()=default
TargetTrackingConfiguration & WithTargetValue(double value)
AWS_GAMELIFT_API TargetTrackingConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const