AWS SDK for C++  1.9.7
AWS SDK for C++
ListStudiosResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace EMR
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<StudioSummary>& GetStudios() const{ return m_studios; }
41 
45  inline void SetStudios(const Aws::Vector<StudioSummary>& value) { m_studios = value; }
46 
50  inline void SetStudios(Aws::Vector<StudioSummary>&& value) { m_studios = std::move(value); }
51 
55  inline ListStudiosResult& WithStudios(const Aws::Vector<StudioSummary>& value) { SetStudios(value); return *this;}
56 
60  inline ListStudiosResult& WithStudios(Aws::Vector<StudioSummary>&& value) { SetStudios(std::move(value)); return *this;}
61 
65  inline ListStudiosResult& AddStudios(const StudioSummary& value) { m_studios.push_back(value); return *this; }
66 
70  inline ListStudiosResult& AddStudios(StudioSummary&& value) { m_studios.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetMarker() const{ return m_marker; }
77 
81  inline void SetMarker(const Aws::String& value) { m_marker = value; }
82 
86  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
87 
91  inline void SetMarker(const char* value) { m_marker.assign(value); }
92 
96  inline ListStudiosResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
97 
101  inline ListStudiosResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
106  inline ListStudiosResult& WithMarker(const char* value) { SetMarker(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<StudioSummary> m_studios;
111 
112  Aws::String m_marker;
113  };
114 
115 } // namespace Model
116 } // namespace EMR
117 } // namespace Aws
Aws::EMR::Model::ListStudiosResult::ListStudiosResult
ListStudiosResult()
Aws::EMR::Model::StudioSummary
Definition: StudioSummary.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::ListStudiosResult
Definition: ListStudiosResult.h:30
Aws::EMR::Model::ListStudiosResult::SetStudios
void SetStudios(const Aws::Vector< StudioSummary > &value)
Definition: ListStudiosResult.h:45
EMR_EXPORTS.h
Aws::EMR::Model::ListStudiosResult::WithStudios
ListStudiosResult & WithStudios(Aws::Vector< StudioSummary > &&value)
Definition: ListStudiosResult.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::ListStudiosResult::AddStudios
ListStudiosResult & AddStudios(StudioSummary &&value)
Definition: ListStudiosResult.h:70
AWSVector.h
Aws::EMR::Model::ListStudiosResult::SetStudios
void SetStudios(Aws::Vector< StudioSummary > &&value)
Definition: ListStudiosResult.h:50
Aws::EMR::Model::ListStudiosResult::SetMarker
void SetMarker(const char *value)
Definition: ListStudiosResult.h:91
Aws::EMR::Model::ListStudiosResult::GetStudios
const Aws::Vector< StudioSummary > & GetStudios() const
Definition: ListStudiosResult.h:40
Aws::EMR::Model::ListStudiosResult::WithStudios
ListStudiosResult & WithStudios(const Aws::Vector< StudioSummary > &value)
Definition: ListStudiosResult.h:55
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
StudioSummary.h
Aws::EMR::Model::ListStudiosResult::operator=
ListStudiosResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListStudiosResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListStudiosResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListStudiosResult::ListStudiosResult
ListStudiosResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListStudiosResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListStudiosResult.h:81
Aws::EMR::Model::ListStudiosResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListStudiosResult.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListStudiosResult::AddStudios
ListStudiosResult & AddStudios(const StudioSummary &value)
Definition: ListStudiosResult.h:65
Aws::EMR::Model::ListStudiosResult::WithMarker
ListStudiosResult & WithMarker(const char *value)
Definition: ListStudiosResult.h:106
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListStudiosResult::WithMarker
ListStudiosResult & WithMarker(const Aws::String &value)
Definition: ListStudiosResult.h:96
Aws::EMR::Model::ListStudiosResult::WithMarker
ListStudiosResult & WithMarker(Aws::String &&value)
Definition: ListStudiosResult.h:101