AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListStudiosResult.h
1
6#pragma once
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/StudioSummary.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EMR {
24namespace Model {
26 public:
27 AWS_EMR_API ListStudiosResult() = default;
30
32
35 inline const Aws::Vector<StudioSummary>& GetStudios() const { return m_studios; }
36 template <typename StudiosT = Aws::Vector<StudioSummary>>
37 void SetStudios(StudiosT&& value) {
38 m_studiosHasBeenSet = true;
39 m_studios = std::forward<StudiosT>(value);
40 }
41 template <typename StudiosT = Aws::Vector<StudioSummary>>
42 ListStudiosResult& WithStudios(StudiosT&& value) {
43 SetStudios(std::forward<StudiosT>(value));
44 return *this;
45 }
46 template <typename StudiosT = StudioSummary>
47 ListStudiosResult& AddStudios(StudiosT&& value) {
48 m_studiosHasBeenSet = true;
49 m_studios.emplace_back(std::forward<StudiosT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMarker() const { return m_marker; }
59 template <typename MarkerT = Aws::String>
60 void SetMarker(MarkerT&& value) {
61 m_markerHasBeenSet = true;
62 m_marker = std::forward<MarkerT>(value);
63 }
64 template <typename MarkerT = Aws::String>
65 ListStudiosResult& WithMarker(MarkerT&& value) {
66 SetMarker(std::forward<MarkerT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
80 ListStudiosResult& WithRequestId(RequestIdT&& value) {
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
87
88 Aws::String m_marker;
89
90 Aws::String m_requestId;
91 bool m_studiosHasBeenSet = false;
92 bool m_markerHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace EMR
98} // namespace Aws
const Aws::String & GetMarker() const
AWS_EMR_API ListStudiosResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API ListStudiosResult()=default
ListStudiosResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListStudiosResult & WithMarker(MarkerT &&value)
ListStudiosResult & WithStudios(StudiosT &&value)
const Aws::Vector< StudioSummary > & GetStudios() const
AWS_EMR_API ListStudiosResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
ListStudiosResult & AddStudios(StudiosT &&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