AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddInstanceGroupsResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EMR
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetJobFlowId() const{ return m_jobFlowId; }
46 inline void SetJobFlowId(const Aws::String& value) { m_jobFlowId = value; }
47 inline void SetJobFlowId(Aws::String&& value) { m_jobFlowId = std::move(value); }
48 inline void SetJobFlowId(const char* value) { m_jobFlowId.assign(value); }
49 inline AddInstanceGroupsResult& WithJobFlowId(const Aws::String& value) { SetJobFlowId(value); return *this;}
50 inline AddInstanceGroupsResult& WithJobFlowId(Aws::String&& value) { SetJobFlowId(std::move(value)); return *this;}
51 inline AddInstanceGroupsResult& WithJobFlowId(const char* value) { SetJobFlowId(value); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetInstanceGroupIds() const{ return m_instanceGroupIds; }
59 inline void SetInstanceGroupIds(const Aws::Vector<Aws::String>& value) { m_instanceGroupIds = value; }
60 inline void SetInstanceGroupIds(Aws::Vector<Aws::String>&& value) { m_instanceGroupIds = std::move(value); }
63 inline AddInstanceGroupsResult& AddInstanceGroupIds(const Aws::String& value) { m_instanceGroupIds.push_back(value); return *this; }
64 inline AddInstanceGroupsResult& AddInstanceGroupIds(Aws::String&& value) { m_instanceGroupIds.push_back(std::move(value)); return *this; }
65 inline AddInstanceGroupsResult& AddInstanceGroupIds(const char* value) { m_instanceGroupIds.push_back(value); return *this; }
67
69
72 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
73 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
74 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
75 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
76 inline AddInstanceGroupsResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
77 inline AddInstanceGroupsResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
78 inline AddInstanceGroupsResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline AddInstanceGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline AddInstanceGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline AddInstanceGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_jobFlowId;
94
95 Aws::Vector<Aws::String> m_instanceGroupIds;
96
97 Aws::String m_clusterArn;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace EMR
104} // namespace Aws
AddInstanceGroupsResult & WithRequestId(const char *value)
AddInstanceGroupsResult & WithRequestId(Aws::String &&value)
AddInstanceGroupsResult & WithInstanceGroupIds(const Aws::Vector< Aws::String > &value)
AddInstanceGroupsResult & WithJobFlowId(const Aws::String &value)
AddInstanceGroupsResult & AddInstanceGroupIds(const char *value)
AWS_EMR_API AddInstanceGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetInstanceGroupIds() const
AddInstanceGroupsResult & WithJobFlowId(const char *value)
void SetInstanceGroupIds(Aws::Vector< Aws::String > &&value)
AWS_EMR_API AddInstanceGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddInstanceGroupsResult & WithJobFlowId(Aws::String &&value)
AddInstanceGroupsResult & WithRequestId(const Aws::String &value)
AddInstanceGroupsResult & WithInstanceGroupIds(Aws::Vector< Aws::String > &&value)
AddInstanceGroupsResult & AddInstanceGroupIds(const Aws::String &value)
AddInstanceGroupsResult & WithClusterArn(const char *value)
AddInstanceGroupsResult & AddInstanceGroupIds(Aws::String &&value)
AddInstanceGroupsResult & WithClusterArn(const Aws::String &value)
void SetInstanceGroupIds(const Aws::Vector< Aws::String > &value)
AddInstanceGroupsResult & WithClusterArn(Aws::String &&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