AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeploymentResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MainframeModernization
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult();
35
36
38
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
45 inline GetDeploymentResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline GetDeploymentResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline GetDeploymentResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline int GetApplicationVersion() const{ return m_applicationVersion; }
55 inline void SetApplicationVersion(int value) { m_applicationVersion = value; }
56 inline GetDeploymentResult& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
64 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
65 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
66 inline GetDeploymentResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
67 inline GetDeploymentResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
75 inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; }
76 inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); }
77 inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); }
78 inline GetDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
79 inline GetDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
80 inline GetDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
82
84
87 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
88 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
89 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
90 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
91 inline GetDeploymentResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
92 inline GetDeploymentResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
93 inline GetDeploymentResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
95
97
100 inline const DeploymentLifecycle& GetStatus() const{ return m_status; }
101 inline void SetStatus(const DeploymentLifecycle& value) { m_status = value; }
102 inline void SetStatus(DeploymentLifecycle&& value) { m_status = std::move(value); }
103 inline GetDeploymentResult& WithStatus(const DeploymentLifecycle& value) { SetStatus(value); return *this;}
104 inline GetDeploymentResult& WithStatus(DeploymentLifecycle&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
112 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
113 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
114 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
115 inline GetDeploymentResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
116 inline GetDeploymentResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
117 inline GetDeploymentResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const{ return m_requestId; }
123 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
124 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
125 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
126 inline GetDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
127 inline GetDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
128 inline GetDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
130 private:
131
132 Aws::String m_applicationId;
133
134 int m_applicationVersion;
135
136 Aws::Utils::DateTime m_creationTime;
137
138 Aws::String m_deploymentId;
139
140 Aws::String m_environmentId;
141
142 DeploymentLifecycle m_status;
143
144 Aws::String m_statusReason;
145
146 Aws::String m_requestId;
147 };
148
149} // namespace Model
150} // namespace MainframeModernization
151} // namespace Aws
GetDeploymentResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetDeploymentResult & WithDeploymentId(const char *value)
GetDeploymentResult & WithDeploymentId(Aws::String &&value)
GetDeploymentResult & WithApplicationId(Aws::String &&value)
GetDeploymentResult & WithEnvironmentId(const char *value)
GetDeploymentResult & WithStatus(DeploymentLifecycle &&value)
GetDeploymentResult & WithRequestId(const Aws::String &value)
GetDeploymentResult & WithStatusReason(const Aws::String &value)
GetDeploymentResult & WithDeploymentId(const Aws::String &value)
GetDeploymentResult & WithStatusReason(const char *value)
GetDeploymentResult & WithApplicationId(const Aws::String &value)
GetDeploymentResult & WithEnvironmentId(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult()
void SetCreationTime(const Aws::Utils::DateTime &value)
GetDeploymentResult & WithRequestId(Aws::String &&value)
GetDeploymentResult & WithStatus(const DeploymentLifecycle &value)
GetDeploymentResult & WithApplicationId(const char *value)
GetDeploymentResult & WithRequestId(const char *value)
GetDeploymentResult & WithEnvironmentId(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithStatusReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue