7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/MainframeModernization_EXPORTS.h>
11#include <aws/m2/model/ApplicationVersionLifecycle.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MainframeModernization {
39 m_applicationVersionHasBeenSet =
true;
40 m_applicationVersion = value;
53 template <
typename CreationTimeT = Aws::Utils::DateTime>
55 m_creationTimeHasBeenSet =
true;
56 m_creationTime = std::forward<CreationTimeT>(value);
58 template <
typename CreationTimeT = Aws::Utils::DateTime>
72 template <
typename DefinitionContentT = Aws::String>
74 m_definitionContentHasBeenSet =
true;
75 m_definitionContent = std::forward<DefinitionContentT>(value);
77 template <
typename DefinitionContentT = Aws::String>
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
106 template <
typename NameT = Aws::String>
108 m_nameHasBeenSet =
true;
109 m_name = std::forward<NameT>(value);
111 template <
typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
124 m_statusHasBeenSet =
true;
138 template <
typename StatusReasonT = Aws::String>
140 m_statusReasonHasBeenSet =
true;
141 m_statusReason = std::forward<StatusReasonT>(value);
143 template <
typename StatusReasonT = Aws::String>
153 template <
typename RequestIdT = Aws::String>
155 m_requestIdHasBeenSet =
true;
156 m_requestId = std::forward<RequestIdT>(value);
158 template <
typename RequestIdT = Aws::String>
167 int m_applicationVersion{0};
183 bool m_applicationVersionHasBeenSet =
false;
184 bool m_creationTimeHasBeenSet =
false;
185 bool m_definitionContentHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
187 bool m_nameHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
189 bool m_statusReasonHasBeenSet =
false;
190 bool m_requestIdHasBeenSet =
false;
GetApplicationVersionResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
GetApplicationVersionResult & WithApplicationVersion(int value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetStatusReason() const
const Aws::String & GetDescription() const
AWS_MAINFRAMEMODERNIZATION_API GetApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationVersionResult()=default
void SetStatus(ApplicationVersionLifecycle value)
GetApplicationVersionResult & WithDescription(DescriptionT &&value)
void SetApplicationVersion(int value)
GetApplicationVersionResult & WithCreationTime(CreationTimeT &&value)
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetDefinitionContent() const
GetApplicationVersionResult & WithStatus(ApplicationVersionLifecycle value)
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
int GetApplicationVersion() const
void SetDefinitionContent(DefinitionContentT &&value)
GetApplicationVersionResult & WithDefinitionContent(DefinitionContentT &&value)
GetApplicationVersionResult & WithName(NameT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetApplicationVersionResult & WithStatusReason(StatusReasonT &&value)
ApplicationVersionLifecycle GetStatus() const
ApplicationVersionLifecycle
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue