7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/OSRelease.h>
11#include <aws/elasticmapreduce/model/SimplifiedApplication.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ReleaseLabelT = Aws::String>
39 m_releaseLabelHasBeenSet =
true;
40 m_releaseLabel = std::forward<ReleaseLabelT>(value);
42 template <
typename ReleaseLabelT = Aws::String>
56 template <
typename ApplicationsT = Aws::Vector<SimplifiedApplication>>
58 m_applicationsHasBeenSet =
true;
59 m_applications = std::forward<ApplicationsT>(value);
61 template <
typename ApplicationsT = Aws::Vector<SimplifiedApplication>>
66 template <
typename ApplicationsT = SimplifiedApplication>
68 m_applicationsHasBeenSet =
true;
69 m_applications.emplace_back(std::forward<ApplicationsT>(value));
79 template <
typename NextTokenT = Aws::String>
81 m_nextTokenHasBeenSet =
true;
82 m_nextToken = std::forward<NextTokenT>(value);
84 template <
typename NextTokenT = Aws::String>
100 template <
typename AvailableOSReleasesT = Aws::Vector<OSRelease>>
102 m_availableOSReleasesHasBeenSet =
true;
103 m_availableOSReleases = std::forward<AvailableOSReleasesT>(value);
105 template <
typename AvailableOSReleasesT = Aws::Vector<OSRelease>>
110 template <
typename AvailableOSReleasesT = OSRelease>
112 m_availableOSReleasesHasBeenSet =
true;
113 m_availableOSReleases.emplace_back(std::forward<AvailableOSReleasesT>(value));
121 template <
typename RequestIdT = Aws::String>
123 m_requestIdHasBeenSet =
true;
124 m_requestId = std::forward<RequestIdT>(value);
126 template <
typename RequestIdT = Aws::String>
142 bool m_releaseLabelHasBeenSet =
false;
143 bool m_applicationsHasBeenSet =
false;
144 bool m_nextTokenHasBeenSet =
false;
145 bool m_availableOSReleasesHasBeenSet =
false;
146 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)
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