AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SimulationMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/SimulationStatus.h>
11#include <aws/simspaceweaver/model/SimulationTargetStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SimSpaceWeaver {
23namespace Model {
24
31 public:
32 AWS_SIMSPACEWEAVER_API SimulationMetadata() = default;
33 AWS_SIMSPACEWEAVER_API SimulationMetadata(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SIMSPACEWEAVER_API SimulationMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template <typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) {
49 m_arnHasBeenSet = true;
50 m_arn = std::forward<ArnT>(value);
51 }
52 template <typename ArnT = Aws::String>
53 SimulationMetadata& WithArn(ArnT&& value) {
54 SetArn(std::forward<ArnT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
65 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
66 template <typename CreationTimeT = Aws::Utils::DateTime>
67 void SetCreationTime(CreationTimeT&& value) {
68 m_creationTimeHasBeenSet = true;
69 m_creationTime = std::forward<CreationTimeT>(value);
70 }
71 template <typename CreationTimeT = Aws::Utils::DateTime>
72 SimulationMetadata& WithCreationTime(CreationTimeT&& value) {
73 SetCreationTime(std::forward<CreationTimeT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template <typename NameT = Aws::String>
85 void SetName(NameT&& value) {
86 m_nameHasBeenSet = true;
87 m_name = std::forward<NameT>(value);
88 }
89 template <typename NameT = Aws::String>
90 SimulationMetadata& WithName(NameT&& value) {
91 SetName(std::forward<NameT>(value));
92 return *this;
93 }
95
97
100 inline SimulationStatus GetStatus() const { return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(SimulationStatus value) {
103 m_statusHasBeenSet = true;
104 m_status = value;
105 }
107 SetStatus(value);
108 return *this;
109 }
111
113
116 inline SimulationTargetStatus GetTargetStatus() const { return m_targetStatus; }
117 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
119 m_targetStatusHasBeenSet = true;
120 m_targetStatus = value;
121 }
123 SetTargetStatus(value);
124 return *this;
125 }
127 private:
128 Aws::String m_arn;
129
130 Aws::Utils::DateTime m_creationTime{};
131
132 Aws::String m_name;
133
135
137 bool m_arnHasBeenSet = false;
138 bool m_creationTimeHasBeenSet = false;
139 bool m_nameHasBeenSet = false;
140 bool m_statusHasBeenSet = false;
141 bool m_targetStatusHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace SimSpaceWeaver
146} // namespace Aws
AWS_SIMSPACEWEAVER_API SimulationMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
SimulationMetadata & WithName(NameT &&value)
AWS_SIMSPACEWEAVER_API SimulationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SimulationMetadata & WithArn(ArnT &&value)
SimulationMetadata & WithStatus(SimulationStatus value)
AWS_SIMSPACEWEAVER_API SimulationMetadata()=default
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
SimulationMetadata & WithCreationTime(CreationTimeT &&value)
SimulationMetadata & WithTargetStatus(SimulationTargetStatus value)
void SetTargetStatus(SimulationTargetStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue