AWS SDK for C++  1.9.160
AWS SDK for C++
ListInstanceGroupsResult.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 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<InstanceGroup>& GetInstanceGroups() const{ return m_instanceGroups; }
47 
51  inline void SetInstanceGroups(const Aws::Vector<InstanceGroup>& value) { m_instanceGroups = value; }
52 
56  inline void SetInstanceGroups(Aws::Vector<InstanceGroup>&& value) { m_instanceGroups = std::move(value); }
57 
61  inline ListInstanceGroupsResult& WithInstanceGroups(const Aws::Vector<InstanceGroup>& value) { SetInstanceGroups(value); return *this;}
62 
66  inline ListInstanceGroupsResult& WithInstanceGroups(Aws::Vector<InstanceGroup>&& value) { SetInstanceGroups(std::move(value)); return *this;}
67 
71  inline ListInstanceGroupsResult& AddInstanceGroups(const InstanceGroup& value) { m_instanceGroups.push_back(value); return *this; }
72 
76  inline ListInstanceGroupsResult& AddInstanceGroups(InstanceGroup&& value) { m_instanceGroups.push_back(std::move(value)); return *this; }
77 
78 
82  inline const Aws::String& GetMarker() const{ return m_marker; }
83 
87  inline void SetMarker(const Aws::String& value) { m_marker = value; }
88 
92  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
93 
97  inline void SetMarker(const char* value) { m_marker.assign(value); }
98 
102  inline ListInstanceGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
103 
107  inline ListInstanceGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
108 
112  inline ListInstanceGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114  private:
115 
116  Aws::Vector<InstanceGroup> m_instanceGroups;
117 
118  Aws::String m_marker;
119  };
120 
121 } // namespace Model
122 } // namespace EMR
123 } // namespace Aws
Aws::EMR::Model::ListInstanceGroupsResult::WithMarker
ListInstanceGroupsResult & WithMarker(Aws::String &&value)
Definition: ListInstanceGroupsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
EMR_EXPORTS.h
Aws::EMR::Model::ListInstanceGroupsResult::AddInstanceGroups
ListInstanceGroupsResult & AddInstanceGroups(const InstanceGroup &value)
Definition: ListInstanceGroupsResult.h:71
Aws::EMR::Model::ListInstanceGroupsResult::ListInstanceGroupsResult
ListInstanceGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListInstanceGroupsResult::operator=
ListInstanceGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::InstanceGroup
Definition: InstanceGroup.h:42
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::ListInstanceGroupsResult::WithMarker
ListInstanceGroupsResult & WithMarker(const Aws::String &value)
Definition: ListInstanceGroupsResult.h:102
AWSVector.h
Aws::EMR::Model::ListInstanceGroupsResult::WithInstanceGroups
ListInstanceGroupsResult & WithInstanceGroups(const Aws::Vector< InstanceGroup > &value)
Definition: ListInstanceGroupsResult.h:61
Aws::EMR::Model::ListInstanceGroupsResult::SetMarker
void SetMarker(const char *value)
Definition: ListInstanceGroupsResult.h:97
InstanceGroup.h
Aws::EMR::Model::ListInstanceGroupsResult::GetInstanceGroups
const Aws::Vector< InstanceGroup > & GetInstanceGroups() const
Definition: ListInstanceGroupsResult.h:46
Aws::EMR::Model::ListInstanceGroupsResult::SetInstanceGroups
void SetInstanceGroups(const Aws::Vector< InstanceGroup > &value)
Definition: ListInstanceGroupsResult.h:51
Aws::EMR::Model::ListInstanceGroupsResult::WithMarker
ListInstanceGroupsResult & WithMarker(const char *value)
Definition: ListInstanceGroupsResult.h:112
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListInstanceGroupsResult::SetInstanceGroups
void SetInstanceGroups(Aws::Vector< InstanceGroup > &&value)
Definition: ListInstanceGroupsResult.h:56
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListInstanceGroupsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListInstanceGroupsResult.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListInstanceGroupsResult
Definition: ListInstanceGroupsResult.h:36
Aws::EMR::Model::ListInstanceGroupsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListInstanceGroupsResult.h:87
Aws::EMR::Model::ListInstanceGroupsResult::ListInstanceGroupsResult
ListInstanceGroupsResult()
Aws::EMR::Model::ListInstanceGroupsResult::AddInstanceGroups
ListInstanceGroupsResult & AddInstanceGroups(InstanceGroup &&value)
Definition: ListInstanceGroupsResult.h:76
Aws::EMR::Model::ListInstanceGroupsResult::WithInstanceGroups
ListInstanceGroupsResult & WithInstanceGroups(Aws::Vector< InstanceGroup > &&value)
Definition: ListInstanceGroupsResult.h:66
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListInstanceGroupsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListInstanceGroupsResult.h:92