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/elasticmapreduce/EMR_EXPORTS.h>
11#include <aws/elasticmapreduce/model/OSRelease.h>
12#include <aws/elasticmapreduce/model/SimplifiedApplication.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ReleaseLabelT = Aws::String>
40 m_releaseLabelHasBeenSet =
true;
41 m_releaseLabel = std::forward<ReleaseLabelT>(value);
43 template <
typename ReleaseLabelT = Aws::String>
57 template <
typename ApplicationsT = Aws::Vector<SimplifiedApplication>>
59 m_applicationsHasBeenSet =
true;
60 m_applications = std::forward<ApplicationsT>(value);
62 template <
typename ApplicationsT = Aws::Vector<SimplifiedApplication>>
67 template <
typename ApplicationsT = SimplifiedApplication>
69 m_applicationsHasBeenSet =
true;
70 m_applications.emplace_back(std::forward<ApplicationsT>(value));
80 template <
typename NextTokenT = Aws::String>
82 m_nextTokenHasBeenSet =
true;
83 m_nextToken = std::forward<NextTokenT>(value);
85 template <
typename NextTokenT = Aws::String>
101 template <
typename AvailableOSReleasesT = Aws::Vector<OSRelease>>
103 m_availableOSReleasesHasBeenSet =
true;
104 m_availableOSReleases = std::forward<AvailableOSReleasesT>(value);
106 template <
typename AvailableOSReleasesT = Aws::Vector<OSRelease>>
111 template <
typename AvailableOSReleasesT = OSRelease>
113 m_availableOSReleasesHasBeenSet =
true;
114 m_availableOSReleases.emplace_back(std::forward<AvailableOSReleasesT>(value));
122 template <
typename RequestIdT = Aws::String>
124 m_requestIdHasBeenSet =
true;
125 m_requestId = std::forward<RequestIdT>(value);
127 template <
typename RequestIdT = Aws::String>
146 bool m_releaseLabelHasBeenSet =
false;
147 bool m_applicationsHasBeenSet =
false;
148 bool m_nextTokenHasBeenSet =
false;
149 bool m_availableOSReleasesHasBeenSet =
false;
150 bool m_requestIdHasBeenSet =
false;
DescribeReleaseLabelResult & WithApplications(ApplicationsT &&value)
const Aws::String & GetRequestId() const
AWS_EMR_API DescribeReleaseLabelResult()=default
AWS_EMR_API DescribeReleaseLabelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API DescribeReleaseLabelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
DescribeReleaseLabelResult & AddAvailableOSReleases(AvailableOSReleasesT &&value)
DescribeReleaseLabelResult & WithAvailableOSReleases(AvailableOSReleasesT &&value)
DescribeReleaseLabelResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeReleaseLabelResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetReleaseLabel() const
void SetNextToken(NextTokenT &&value)
void SetAvailableOSReleases(AvailableOSReleasesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< SimplifiedApplication > & GetApplications() const
DescribeReleaseLabelResult & WithReleaseLabel(ReleaseLabelT &&value)
const Aws::Vector< OSRelease > & GetAvailableOSReleases() const
void SetApplications(ApplicationsT &&value)
void SetReleaseLabel(ReleaseLabelT &&value)
DescribeReleaseLabelResult & AddApplications(ApplicationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue