AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClocks(const Aws::Vector<SimulationClock>& value) { m_clocksHasBeenSet = true; m_clocks = value; }
51 inline void SetClocks(Aws::Vector<SimulationClock>&& value) { m_clocksHasBeenSet = true; m_clocks = std::move(value); }
52 inline LiveSimulationState& WithClocks(const Aws::Vector<SimulationClock>& value) { SetClocks(value); return *this;}
53 inline LiveSimulationState& WithClocks(Aws::Vector<SimulationClock>&& value) { SetClocks(std::move(value)); return *this;}
54 inline LiveSimulationState& AddClocks(const SimulationClock& value) { m_clocksHasBeenSet = true; m_clocks.push_back(value); return *this; }
55 inline LiveSimulationState& AddClocks(SimulationClock&& value) { m_clocksHasBeenSet = true; m_clocks.push_back(std::move(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 inline void SetDomains(const Aws::Vector<Domain>& value) { m_domainsHasBeenSet = true; m_domains = value; }
68 inline void SetDomains(Aws::Vector<Domain>&& value) { m_domainsHasBeenSet = true; m_domains = std::move(value); }
69 inline LiveSimulationState& WithDomains(const Aws::Vector<Domain>& value) { SetDomains(value); return *this;}
70 inline LiveSimulationState& WithDomains(Aws::Vector<Domain>&& value) { SetDomains(std::move(value)); return *this;}
71 inline LiveSimulationState& AddDomains(const Domain& value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
72 inline LiveSimulationState& AddDomains(Domain&& value) { m_domainsHasBeenSet = true; m_domains.push_back(std::move(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(Aws::Vector< Domain > &&value)
void SetClocks(Aws::Vector< SimulationClock > &&value)
void SetDomains(Aws::Vector< Domain > &&value)
LiveSimulationState & WithClocks(const Aws::Vector< SimulationClock > &value)
LiveSimulationState & AddClocks(const SimulationClock &value)
AWS_SIMSPACEWEAVER_API LiveSimulationState & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SimulationClock > & GetClocks() const
LiveSimulationState & AddDomains(const Domain &value)
LiveSimulationState & WithDomains(const Aws::Vector< Domain > &value)
LiveSimulationState & AddClocks(SimulationClock &&value)
void SetDomains(const Aws::Vector< Domain > &value)
LiveSimulationState & AddDomains(Domain &&value)
LiveSimulationState & WithClocks(Aws::Vector< SimulationClock > &&value)
AWS_SIMSPACEWEAVER_API LiveSimulationState(Aws::Utils::Json::JsonView jsonValue)
void SetClocks(const Aws::Vector< SimulationClock > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue