AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/m2/model/DeploymentLifecycle.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 MainframeModernization
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary();
38 AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
48 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
49 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
51 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
52 inline DeploymentSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
53 inline DeploymentSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline DeploymentSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
61 inline int GetApplicationVersion() const{ return m_applicationVersion; }
62 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
63 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
64 inline DeploymentSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
72 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
73 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
74 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
75 inline DeploymentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
76 inline DeploymentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
84 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
85 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
86 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
87 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
88 inline DeploymentSummary& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
89 inline DeploymentSummary& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
90 inline DeploymentSummary& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
92
94
97 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
98 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
99 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
100 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
101 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
102 inline DeploymentSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
103 inline DeploymentSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
104 inline DeploymentSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
106
108
111 inline const DeploymentLifecycle& GetStatus() const{ return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(const DeploymentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
114 inline void SetStatus(DeploymentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
115 inline DeploymentSummary& WithStatus(const DeploymentLifecycle& value) { SetStatus(value); return *this;}
116 inline DeploymentSummary& WithStatus(DeploymentLifecycle&& value) { SetStatus(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
124 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
125 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
126 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
127 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
128 inline DeploymentSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
129 inline DeploymentSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
130 inline DeploymentSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
132 private:
133
134 Aws::String m_applicationId;
135 bool m_applicationIdHasBeenSet = false;
136
137 int m_applicationVersion;
138 bool m_applicationVersionHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTime;
141 bool m_creationTimeHasBeenSet = false;
142
143 Aws::String m_deploymentId;
144 bool m_deploymentIdHasBeenSet = false;
145
146 Aws::String m_environmentId;
147 bool m_environmentIdHasBeenSet = false;
148
149 DeploymentLifecycle m_status;
150 bool m_statusHasBeenSet = false;
151
152 Aws::String m_statusReason;
153 bool m_statusReasonHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace MainframeModernization
158} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary()
DeploymentSummary & WithStatus(const DeploymentLifecycle &value)
const Aws::Utils::DateTime & GetCreationTime() const
DeploymentSummary & WithStatusReason(const Aws::String &value)
DeploymentSummary & WithApplicationId(const char *value)
DeploymentSummary & WithStatusReason(const char *value)
DeploymentSummary & WithEnvironmentId(Aws::String &&value)
DeploymentSummary & WithEnvironmentId(const Aws::String &value)
DeploymentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentSummary & WithDeploymentId(const char *value)
DeploymentSummary & WithStatusReason(Aws::String &&value)
DeploymentSummary & WithEnvironmentId(const char *value)
DeploymentSummary & WithApplicationId(const Aws::String &value)
DeploymentSummary & WithApplicationId(Aws::String &&value)
DeploymentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentSummary & WithStatus(DeploymentLifecycle &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const DeploymentLifecycle &value)
DeploymentSummary & WithDeploymentId(const Aws::String &value)
DeploymentSummary & WithDeploymentId(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API DeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue