AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/m2/model/EngineType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/m2/model/EnvironmentLifecycle.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 MainframeModernization
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary();
39 AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
49 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
50 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
51 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
52 inline EnvironmentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
53 inline EnvironmentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
55
57
60 inline const EngineType& GetEngineType() const{ return m_engineType; }
61 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
62 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
63 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
64 inline EnvironmentSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
65 inline EnvironmentSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
73 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
74 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
75 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
76 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
77 inline EnvironmentSummary& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
78 inline EnvironmentSummary& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
79 inline EnvironmentSummary& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
81
83
86 inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; }
87 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
88 inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; }
89 inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); }
90 inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); }
91 inline EnvironmentSummary& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;}
92 inline EnvironmentSummary& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;}
93 inline EnvironmentSummary& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;}
95
97
100 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
101 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
102 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
103 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
104 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
105 inline EnvironmentSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
106 inline EnvironmentSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
107 inline EnvironmentSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
109
111
114 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
115 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
116 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
117 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
118 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
119 inline EnvironmentSummary& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
120 inline EnvironmentSummary& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
121 inline EnvironmentSummary& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
123
125
128 inline const Aws::String& GetName() const{ return m_name; }
129 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
130 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
131 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
132 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
133 inline EnvironmentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
134 inline EnvironmentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
135 inline EnvironmentSummary& WithName(const char* value) { SetName(value); return *this;}
137
139
142 inline const EnvironmentLifecycle& GetStatus() const{ return m_status; }
143 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 inline void SetStatus(const EnvironmentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
145 inline void SetStatus(EnvironmentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
146 inline EnvironmentSummary& WithStatus(const EnvironmentLifecycle& value) { SetStatus(value); return *this;}
147 inline EnvironmentSummary& WithStatus(EnvironmentLifecycle&& value) { SetStatus(std::move(value)); return *this;}
149 private:
150
151 Aws::Utils::DateTime m_creationTime;
152 bool m_creationTimeHasBeenSet = false;
153
154 EngineType m_engineType;
155 bool m_engineTypeHasBeenSet = false;
156
157 Aws::String m_engineVersion;
158 bool m_engineVersionHasBeenSet = false;
159
160 Aws::String m_environmentArn;
161 bool m_environmentArnHasBeenSet = false;
162
163 Aws::String m_environmentId;
164 bool m_environmentIdHasBeenSet = false;
165
166 Aws::String m_instanceType;
167 bool m_instanceTypeHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 EnvironmentLifecycle m_status;
173 bool m_statusHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace MainframeModernization
178} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithEnvironmentId(const char *value)
EnvironmentSummary & WithEngineType(EngineType &&value)
EnvironmentSummary & WithName(const Aws::String &value)
EnvironmentSummary & WithName(const char *value)
EnvironmentSummary & WithEngineVersion(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentSummary & WithEnvironmentArn(Aws::String &&value)
EnvironmentSummary & WithInstanceType(const char *value)
EnvironmentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
EnvironmentSummary & WithStatus(const EnvironmentLifecycle &value)
EnvironmentSummary & WithInstanceType(Aws::String &&value)
EnvironmentSummary & WithEngineVersion(Aws::String &&value)
EnvironmentSummary & WithEngineVersion(const char *value)
EnvironmentSummary & WithEngineType(const EngineType &value)
EnvironmentSummary & WithName(Aws::String &&value)
EnvironmentSummary & WithStatus(EnvironmentLifecycle &&value)
EnvironmentSummary & WithEnvironmentId(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary()
EnvironmentSummary & WithEnvironmentArn(const char *value)
EnvironmentSummary & WithEnvironmentArn(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithInstanceType(const Aws::String &value)
EnvironmentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const EnvironmentLifecycle &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
EnvironmentSummary & WithEnvironmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue