AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReleaseLabelResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/model/SimplifiedApplication.h>
11#include <aws/elasticmapreduce/model/OSRelease.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace EMR
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
43 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabel = value; }
44 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabel = std::move(value); }
45 inline void SetReleaseLabel(const char* value) { m_releaseLabel.assign(value); }
46 inline DescribeReleaseLabelResult& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
47 inline DescribeReleaseLabelResult& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
48 inline DescribeReleaseLabelResult& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
50
52
57 inline const Aws::Vector<SimplifiedApplication>& GetApplications() const{ return m_applications; }
58 inline void SetApplications(const Aws::Vector<SimplifiedApplication>& value) { m_applications = value; }
59 inline void SetApplications(Aws::Vector<SimplifiedApplication>&& value) { m_applications = std::move(value); }
62 inline DescribeReleaseLabelResult& AddApplications(const SimplifiedApplication& value) { m_applications.push_back(value); return *this; }
63 inline DescribeReleaseLabelResult& AddApplications(SimplifiedApplication&& value) { m_applications.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
74 inline DescribeReleaseLabelResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline DescribeReleaseLabelResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline DescribeReleaseLabelResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
87 inline const Aws::Vector<OSRelease>& GetAvailableOSReleases() const{ return m_availableOSReleases; }
88 inline void SetAvailableOSReleases(const Aws::Vector<OSRelease>& value) { m_availableOSReleases = value; }
89 inline void SetAvailableOSReleases(Aws::Vector<OSRelease>&& value) { m_availableOSReleases = std::move(value); }
92 inline DescribeReleaseLabelResult& AddAvailableOSReleases(const OSRelease& value) { m_availableOSReleases.push_back(value); return *this; }
93 inline DescribeReleaseLabelResult& AddAvailableOSReleases(OSRelease&& value) { m_availableOSReleases.push_back(std::move(value)); return *this; }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline DescribeReleaseLabelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline DescribeReleaseLabelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline DescribeReleaseLabelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_releaseLabel;
109
111
112 Aws::String m_nextToken;
113
114 Aws::Vector<OSRelease> m_availableOSReleases;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace EMR
121} // namespace Aws
DescribeReleaseLabelResult & WithNextToken(const Aws::String &value)
DescribeReleaseLabelResult & WithRequestId(const Aws::String &value)
AWS_EMR_API DescribeReleaseLabelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReleaseLabelResult & WithReleaseLabel(const char *value)
AWS_EMR_API DescribeReleaseLabelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReleaseLabelResult & WithRequestId(const char *value)
DescribeReleaseLabelResult & WithAvailableOSReleases(Aws::Vector< OSRelease > &&value)
void SetApplications(const Aws::Vector< SimplifiedApplication > &value)
DescribeReleaseLabelResult & WithNextToken(const char *value)
void SetAvailableOSReleases(Aws::Vector< OSRelease > &&value)
DescribeReleaseLabelResult & WithAvailableOSReleases(const Aws::Vector< OSRelease > &value)
DescribeReleaseLabelResult & WithRequestId(Aws::String &&value)
DescribeReleaseLabelResult & AddAvailableOSReleases(const OSRelease &value)
DescribeReleaseLabelResult & WithReleaseLabel(Aws::String &&value)
DescribeReleaseLabelResult & WithReleaseLabel(const Aws::String &value)
const Aws::Vector< SimplifiedApplication > & GetApplications() const
const Aws::Vector< OSRelease > & GetAvailableOSReleases() const
void SetApplications(Aws::Vector< SimplifiedApplication > &&value)
DescribeReleaseLabelResult & AddAvailableOSReleases(OSRelease &&value)
DescribeReleaseLabelResult & AddApplications(const SimplifiedApplication &value)
DescribeReleaseLabelResult & WithNextToken(Aws::String &&value)
DescribeReleaseLabelResult & AddApplications(SimplifiedApplication &&value)
void SetAvailableOSReleases(const Aws::Vector< OSRelease > &value)
DescribeReleaseLabelResult & WithApplications(Aws::Vector< SimplifiedApplication > &&value)
DescribeReleaseLabelResult & WithApplications(const Aws::Vector< SimplifiedApplication > &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