AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 GetDeploymentResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
52 inline int GetApplicationVersion() const { return m_applicationVersion; }
53 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
54 inline GetDeploymentResult& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 GetDeploymentResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
73 template<typename DeploymentIdT = Aws::String>
74 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
75 template<typename DeploymentIdT = Aws::String>
76 GetDeploymentResult& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
84 template<typename EnvironmentIdT = Aws::String>
85 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
86 template<typename EnvironmentIdT = Aws::String>
87 GetDeploymentResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
89
91
94 inline DeploymentLifecycle GetStatus() const { return m_status; }
95 inline void SetStatus(DeploymentLifecycle value) { m_statusHasBeenSet = true; m_status = value; }
96 inline GetDeploymentResult& WithStatus(DeploymentLifecycle value) { SetStatus(value); return *this;}
98
100
103 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
104 template<typename StatusReasonT = Aws::String>
105 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
106 template<typename StatusReasonT = Aws::String>
107 GetDeploymentResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template<typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
115 template<typename RequestIdT = Aws::String>
116 GetDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_applicationId;
121 bool m_applicationIdHasBeenSet = false;
122
123 int m_applicationVersion{0};
124 bool m_applicationVersionHasBeenSet = false;
125
126 Aws::Utils::DateTime m_creationTime{};
127 bool m_creationTimeHasBeenSet = false;
128
129 Aws::String m_deploymentId;
130 bool m_deploymentIdHasBeenSet = false;
131
132 Aws::String m_environmentId;
133 bool m_environmentIdHasBeenSet = false;
134
136 bool m_statusHasBeenSet = false;
137
138 Aws::String m_statusReason;
139 bool m_statusReasonHasBeenSet = false;
140
141 Aws::String m_requestId;
142 bool m_requestIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MainframeModernization
147} // namespace Aws
GetDeploymentResult & WithEnvironmentId(EnvironmentIdT &&value)
GetDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
GetDeploymentResult & WithRequestId(RequestIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult()=default
GetDeploymentResult & WithStatusReason(StatusReasonT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithStatus(DeploymentLifecycle value)
GetDeploymentResult & WithCreationTime(CreationTimeT &&value)
GetDeploymentResult & WithApplicationId(ApplicationIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue