AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimulationClock.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/simspaceweaver/model/ClockStatus.h>
9#include <aws/simspaceweaver/model/ClockTargetStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SimSpaceWeaver
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SIMSPACEWEAVER_API SimulationClock();
36 AWS_SIMSPACEWEAVER_API SimulationClock(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SIMSPACEWEAVER_API SimulationClock& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ClockStatus& GetStatus() const{ return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(const ClockStatus& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(ClockStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline SimulationClock& WithStatus(const ClockStatus& value) { SetStatus(value); return *this;}
50 inline SimulationClock& WithStatus(ClockStatus&& value) { SetStatus(std::move(value)); return *this;}
52
54
57 inline const ClockTargetStatus& GetTargetStatus() const{ return m_targetStatus; }
58 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
59 inline void SetTargetStatus(const ClockTargetStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
60 inline void SetTargetStatus(ClockTargetStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); }
61 inline SimulationClock& WithTargetStatus(const ClockTargetStatus& value) { SetTargetStatus(value); return *this;}
62 inline SimulationClock& WithTargetStatus(ClockTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;}
64 private:
65
66 ClockStatus m_status;
67 bool m_statusHasBeenSet = false;
68
69 ClockTargetStatus m_targetStatus;
70 bool m_targetStatusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SimSpaceWeaver
75} // namespace Aws
SimulationClock & WithStatus(ClockStatus &&value)
SimulationClock & WithTargetStatus(ClockTargetStatus &&value)
SimulationClock & WithStatus(const ClockStatus &value)
AWS_SIMSPACEWEAVER_API SimulationClock(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetStatus(const ClockTargetStatus &value)
const ClockTargetStatus & GetTargetStatus() const
AWS_SIMSPACEWEAVER_API SimulationClock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetStatus(ClockTargetStatus &&value)
SimulationClock & WithTargetStatus(const ClockTargetStatus &value)
void SetStatus(const ClockStatus &value)
AWS_SIMSPACEWEAVER_API SimulationClock()
Aws::Utils::Json::JsonValue JsonValue