AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
55 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
56 inline SimulationMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
57 inline SimulationMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
58 inline SimulationMetadata& WithArn(const char* value) { SetArn(value); return *this;}
60
62
66 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
67 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
68 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
69 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
70 inline SimulationMetadata& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
71 inline SimulationMetadata& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline SimulationMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline SimulationMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline SimulationMetadata& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const SimulationStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const SimulationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(SimulationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline SimulationMetadata& WithStatus(const SimulationStatus& value) { SetStatus(value); return *this;}
97 inline SimulationMetadata& WithStatus(SimulationStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const SimulationTargetStatus& GetTargetStatus() const{ return m_targetStatus; }
105 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
106 inline void SetTargetStatus(const SimulationTargetStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
107 inline void SetTargetStatus(SimulationTargetStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); }
108 inline SimulationMetadata& WithTargetStatus(const SimulationTargetStatus& value) { SetTargetStatus(value); return *this;}
109 inline SimulationMetadata& WithTargetStatus(SimulationTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::Utils::DateTime m_creationTime;
117 bool m_creationTimeHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 SimulationStatus m_status;
123 bool m_statusHasBeenSet = false;
124
125 SimulationTargetStatus m_targetStatus;
126 bool m_targetStatusHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace SimSpaceWeaver
131} // namespace Aws
AWS_SIMSPACEWEAVER_API SimulationMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetTargetStatus(const SimulationTargetStatus &value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SIMSPACEWEAVER_API SimulationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SimulationMetadata & WithName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
SimulationMetadata & WithArn(Aws::String &&value)
void SetTargetStatus(SimulationTargetStatus &&value)
SimulationMetadata & WithTargetStatus(SimulationTargetStatus &&value)
SimulationMetadata & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetStatus(const SimulationStatus &value)
SimulationMetadata & WithStatus(const SimulationStatus &value)
SimulationMetadata & WithCreationTime(Aws::Utils::DateTime &&value)
SimulationMetadata & WithName(Aws::String &&value)
SimulationMetadata & WithStatus(SimulationStatus &&value)
SimulationMetadata & WithArn(const Aws::String &value)
SimulationMetadata & WithArn(const char *value)
SimulationMetadata & WithName(const char *value)
const SimulationTargetStatus & GetTargetStatus() const
SimulationMetadata & WithTargetStatus(const SimulationTargetStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue