7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/m2/MainframeModernization_EXPORTS.h>
11#include <aws/m2/model/ApplicationSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MainframeModernization {
38 template <
typename ApplicationsT = Aws::Vector<ApplicationSummary>>
40 m_applicationsHasBeenSet =
true;
41 m_applications = std::forward<ApplicationsT>(value);
43 template <
typename ApplicationsT = Aws::Vector<ApplicationSummary>>
48 template <
typename ApplicationsT = ApplicationSummary>
50 m_applicationsHasBeenSet =
true;
51 m_applications.emplace_back(std::forward<ApplicationsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_applicationsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
ListApplicationsResult & WithApplications(ApplicationsT &&value)
ListApplicationsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListApplicationsResult & AddApplications(ApplicationsT &&value)
AWS_MAINFRAMEMODERNIZATION_API ListApplicationsResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::Vector< ApplicationSummary > & GetApplications() const
void SetNextToken(NextTokenT &&value)
AWS_MAINFRAMEMODERNIZATION_API ListApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListApplicationsResult & WithNextToken(NextTokenT &&value)
void SetApplications(ApplicationsT &&value)
const Aws::String & GetRequestId() const
AWS_MAINFRAMEMODERNIZATION_API ListApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue