AWS SDK for C++  1.9.20
AWS SDK for C++
ListStudioSessionMappingsResult.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 
42  inline const Aws::Vector<SessionMappingSummary>& GetSessionMappings() const{ return m_sessionMappings; }
43 
49  inline void SetSessionMappings(const Aws::Vector<SessionMappingSummary>& value) { m_sessionMappings = value; }
50 
56  inline void SetSessionMappings(Aws::Vector<SessionMappingSummary>&& value) { m_sessionMappings = std::move(value); }
57 
63  inline ListStudioSessionMappingsResult& WithSessionMappings(const Aws::Vector<SessionMappingSummary>& value) { SetSessionMappings(value); return *this;}
64 
70  inline ListStudioSessionMappingsResult& WithSessionMappings(Aws::Vector<SessionMappingSummary>&& value) { SetSessionMappings(std::move(value)); return *this;}
71 
77  inline ListStudioSessionMappingsResult& AddSessionMappings(const SessionMappingSummary& value) { m_sessionMappings.push_back(value); return *this; }
78 
84  inline ListStudioSessionMappingsResult& AddSessionMappings(SessionMappingSummary&& value) { m_sessionMappings.push_back(std::move(value)); return *this; }
85 
86 
90  inline const Aws::String& GetMarker() const{ return m_marker; }
91 
95  inline void SetMarker(const Aws::String& value) { m_marker = value; }
96 
100  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
101 
105  inline void SetMarker(const char* value) { m_marker.assign(value); }
106 
110  inline ListStudioSessionMappingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
111 
115  inline ListStudioSessionMappingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
116 
120  inline ListStudioSessionMappingsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<SessionMappingSummary> m_sessionMappings;
125 
126  Aws::String m_marker;
127  };
128 
129 } // namespace Model
130 } // namespace EMR
131 } // namespace Aws
Aws::EMR::Model::ListStudioSessionMappingsResult::WithSessionMappings
ListStudioSessionMappingsResult & WithSessionMappings(const Aws::Vector< SessionMappingSummary > &value)
Definition: ListStudioSessionMappingsResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::ListStudioSessionMappingsResult::WithMarker
ListStudioSessionMappingsResult & WithMarker(const Aws::String &value)
Definition: ListStudioSessionMappingsResult.h:110
Aws::EMR::Model::ListStudioSessionMappingsResult::AddSessionMappings
ListStudioSessionMappingsResult & AddSessionMappings(SessionMappingSummary &&value)
Definition: ListStudioSessionMappingsResult.h:84
Aws::EMR::Model::ListStudioSessionMappingsResult::operator=
ListStudioSessionMappingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EMR_EXPORTS.h
Aws::EMR::Model::SessionMappingSummary
Definition: SessionMappingSummary.h:35
Aws::EMR::Model::ListStudioSessionMappingsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListStudioSessionMappingsResult.h:90
Aws::EMR::Model::ListStudioSessionMappingsResult::WithMarker
ListStudioSessionMappingsResult & WithMarker(Aws::String &&value)
Definition: ListStudioSessionMappingsResult.h:115
Aws::EMR::Model::ListStudioSessionMappingsResult::GetSessionMappings
const Aws::Vector< SessionMappingSummary > & GetSessionMappings() const
Definition: ListStudioSessionMappingsResult.h:42
Aws::EMR::Model::ListStudioSessionMappingsResult::AddSessionMappings
ListStudioSessionMappingsResult & AddSessionMappings(const SessionMappingSummary &value)
Definition: ListStudioSessionMappingsResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EMR::Model::ListStudioSessionMappingsResult::WithSessionMappings
ListStudioSessionMappingsResult & WithSessionMappings(Aws::Vector< SessionMappingSummary > &&value)
Definition: ListStudioSessionMappingsResult.h:70
Aws::EMR::Model::ListStudioSessionMappingsResult::SetSessionMappings
void SetSessionMappings(const Aws::Vector< SessionMappingSummary > &value)
Definition: ListStudioSessionMappingsResult.h:49
Aws::EMR::Model::ListStudioSessionMappingsResult::ListStudioSessionMappingsResult
ListStudioSessionMappingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListStudioSessionMappingsResult::SetMarker
void SetMarker(const char *value)
Definition: ListStudioSessionMappingsResult.h:105
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListStudioSessionMappingsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListStudioSessionMappingsResult.h:100
SessionMappingSummary.h
Aws::EMR::Model::ListStudioSessionMappingsResult::ListStudioSessionMappingsResult
ListStudioSessionMappingsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListStudioSessionMappingsResult
Definition: ListStudioSessionMappingsResult.h:30
Aws::EMR::Model::ListStudioSessionMappingsResult::WithMarker
ListStudioSessionMappingsResult & WithMarker(const char *value)
Definition: ListStudioSessionMappingsResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListStudioSessionMappingsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListStudioSessionMappingsResult.h:95
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListStudioSessionMappingsResult::SetSessionMappings
void SetSessionMappings(Aws::Vector< SessionMappingSummary > &&value)
Definition: ListStudioSessionMappingsResult.h:56