AWS SDK for C++  1.9.19
AWS SDK for C++
ListInstanceFleetsResult.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<InstanceFleet>& GetInstanceFleets() const{ return m_instanceFleets; }
41 
45  inline void SetInstanceFleets(const Aws::Vector<InstanceFleet>& value) { m_instanceFleets = value; }
46 
50  inline void SetInstanceFleets(Aws::Vector<InstanceFleet>&& value) { m_instanceFleets = std::move(value); }
51 
55  inline ListInstanceFleetsResult& WithInstanceFleets(const Aws::Vector<InstanceFleet>& value) { SetInstanceFleets(value); return *this;}
56 
60  inline ListInstanceFleetsResult& WithInstanceFleets(Aws::Vector<InstanceFleet>&& value) { SetInstanceFleets(std::move(value)); return *this;}
61 
65  inline ListInstanceFleetsResult& AddInstanceFleets(const InstanceFleet& value) { m_instanceFleets.push_back(value); return *this; }
66 
70  inline ListInstanceFleetsResult& AddInstanceFleets(InstanceFleet&& value) { m_instanceFleets.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 ListInstanceFleetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
97 
101  inline ListInstanceFleetsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
106  inline ListInstanceFleetsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<InstanceFleet> m_instanceFleets;
111 
112  Aws::String m_marker;
113  };
114 
115 } // namespace Model
116 } // namespace EMR
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::ListInstanceFleetsResult::SetInstanceFleets
void SetInstanceFleets(const Aws::Vector< InstanceFleet > &value)
Definition: ListInstanceFleetsResult.h:45
Aws::EMR::Model::ListInstanceFleetsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListInstanceFleetsResult.h:81
EMR_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
InstanceFleet.h
AWSVector.h
Aws::EMR::Model::ListInstanceFleetsResult::ListInstanceFleetsResult
ListInstanceFleetsResult()
Aws::EMR::Model::ListInstanceFleetsResult::WithMarker
ListInstanceFleetsResult & WithMarker(const char *value)
Definition: ListInstanceFleetsResult.h:106
Aws::EMR::Model::ListInstanceFleetsResult::AddInstanceFleets
ListInstanceFleetsResult & AddInstanceFleets(InstanceFleet &&value)
Definition: ListInstanceFleetsResult.h:70
Aws::EMR::Model::ListInstanceFleetsResult::ListInstanceFleetsResult
ListInstanceFleetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListInstanceFleetsResult::SetMarker
void SetMarker(const char *value)
Definition: ListInstanceFleetsResult.h:91
Aws::EMR::Model::ListInstanceFleetsResult::WithMarker
ListInstanceFleetsResult & WithMarker(Aws::String &&value)
Definition: ListInstanceFleetsResult.h:101
Aws::EMR::Model::ListInstanceFleetsResult::operator=
ListInstanceFleetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListInstanceFleetsResult::WithInstanceFleets
ListInstanceFleetsResult & WithInstanceFleets(const Aws::Vector< InstanceFleet > &value)
Definition: ListInstanceFleetsResult.h:55
Aws::EMR::Model::InstanceFleet
Definition: InstanceFleet.h:42
Aws::EMR::Model::ListInstanceFleetsResult::GetInstanceFleets
const Aws::Vector< InstanceFleet > & GetInstanceFleets() const
Definition: ListInstanceFleetsResult.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListInstanceFleetsResult::WithMarker
ListInstanceFleetsResult & WithMarker(const Aws::String &value)
Definition: ListInstanceFleetsResult.h:96
Aws::EMR::Model::ListInstanceFleetsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListInstanceFleetsResult.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListInstanceFleetsResult::SetInstanceFleets
void SetInstanceFleets(Aws::Vector< InstanceFleet > &&value)
Definition: ListInstanceFleetsResult.h:50
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListInstanceFleetsResult::WithInstanceFleets
ListInstanceFleetsResult & WithInstanceFleets(Aws::Vector< InstanceFleet > &&value)
Definition: ListInstanceFleetsResult.h:60
Aws::EMR::Model::ListInstanceFleetsResult
Definition: ListInstanceFleetsResult.h:30
Aws::EMR::Model::ListInstanceFleetsResult::AddInstanceFleets
ListInstanceFleetsResult & AddInstanceFleets(const InstanceFleet &value)
Definition: ListInstanceFleetsResult.h:65
Aws::EMR::Model::ListInstanceFleetsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListInstanceFleetsResult.h:76