AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SimulationMetadata.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/simspaceweaver/model/SimulationStatus.h>
11#include <aws/simspaceweaver/model/SimulationTargetStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SimSpaceWeaver
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SIMSPACEWEAVER_API SimulationMetadata() = default;
38 AWS_SIMSPACEWEAVER_API SimulationMetadata(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SIMSPACEWEAVER_API SimulationMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetArn() const { return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 SimulationMetadata& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
68 template<typename CreationTimeT = Aws::Utils::DateTime>
69 SimulationMetadata& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template<typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
80 template<typename NameT = Aws::String>
81 SimulationMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
83
85
88 inline SimulationStatus GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(SimulationStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 inline SimulationMetadata& WithStatus(SimulationStatus value) { SetStatus(value); return *this;}
93
95
98 inline SimulationTargetStatus GetTargetStatus() const { return m_targetStatus; }
99 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
100 inline void SetTargetStatus(SimulationTargetStatus value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
103 private:
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 Aws::Utils::DateTime m_creationTime{};
109 bool m_creationTimeHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
115 bool m_statusHasBeenSet = false;
116
118 bool m_targetStatusHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SimSpaceWeaver
123} // 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