AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LiveSimulationState.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/simspaceweaver/model/SimulationClock.h>
10#include <aws/simspaceweaver/model/Domain.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SimSpaceWeaver
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SIMSPACEWEAVER_API LiveSimulationState() = default;
38 AWS_SIMSPACEWEAVER_API LiveSimulationState(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SIMSPACEWEAVER_API LiveSimulationState& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SimulationClock>& GetClocks() const { return m_clocks; }
49 inline bool ClocksHasBeenSet() const { return m_clocksHasBeenSet; }
50 template<typename ClocksT = Aws::Vector<SimulationClock>>
51 void SetClocks(ClocksT&& value) { m_clocksHasBeenSet = true; m_clocks = std::forward<ClocksT>(value); }
52 template<typename ClocksT = Aws::Vector<SimulationClock>>
53 LiveSimulationState& WithClocks(ClocksT&& value) { SetClocks(std::forward<ClocksT>(value)); return *this;}
54 template<typename ClocksT = SimulationClock>
55 LiveSimulationState& AddClocks(ClocksT&& value) { m_clocksHasBeenSet = true; m_clocks.emplace_back(std::forward<ClocksT>(value)); return *this; }
57
59
65 inline const Aws::Vector<Domain>& GetDomains() const { return m_domains; }
66 inline bool DomainsHasBeenSet() const { return m_domainsHasBeenSet; }
67 template<typename DomainsT = Aws::Vector<Domain>>
68 void SetDomains(DomainsT&& value) { m_domainsHasBeenSet = true; m_domains = std::forward<DomainsT>(value); }
69 template<typename DomainsT = Aws::Vector<Domain>>
70 LiveSimulationState& WithDomains(DomainsT&& value) { SetDomains(std::forward<DomainsT>(value)); return *this;}
71 template<typename DomainsT = Domain>
72 LiveSimulationState& AddDomains(DomainsT&& value) { m_domainsHasBeenSet = true; m_domains.emplace_back(std::forward<DomainsT>(value)); return *this; }
74 private:
75
77 bool m_clocksHasBeenSet = false;
78
79 Aws::Vector<Domain> m_domains;
80 bool m_domainsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SimSpaceWeaver
85} // namespace Aws
const Aws::Vector< Domain > & GetDomains() const
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
LiveSimulationState & WithDomains(DomainsT &&value)
LiveSimulationState & AddClocks(ClocksT &&value)
LiveSimulationState & WithClocks(ClocksT &&value)
AWS_SIMSPACEWEAVER_API LiveSimulationState & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SimulationClock > & GetClocks() const
AWS_SIMSPACEWEAVER_API LiveSimulationState()=default
LiveSimulationState & AddDomains(DomainsT &&value)
AWS_SIMSPACEWEAVER_API LiveSimulationState(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue