AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddJobFlowStepsResult.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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{
35 {
36 public:
37 AWS_EMR_API AddJobFlowStepsResult();
40
41
43
46 inline const Aws::Vector<Aws::String>& GetStepIds() const{ return m_stepIds; }
47 inline void SetStepIds(const Aws::Vector<Aws::String>& value) { m_stepIds = value; }
48 inline void SetStepIds(Aws::Vector<Aws::String>&& value) { m_stepIds = std::move(value); }
49 inline AddJobFlowStepsResult& WithStepIds(const Aws::Vector<Aws::String>& value) { SetStepIds(value); return *this;}
50 inline AddJobFlowStepsResult& WithStepIds(Aws::Vector<Aws::String>&& value) { SetStepIds(std::move(value)); return *this;}
51 inline AddJobFlowStepsResult& AddStepIds(const Aws::String& value) { m_stepIds.push_back(value); return *this; }
52 inline AddJobFlowStepsResult& AddStepIds(Aws::String&& value) { m_stepIds.push_back(std::move(value)); return *this; }
53 inline AddJobFlowStepsResult& AddStepIds(const char* value) { m_stepIds.push_back(value); return *this; }
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline AddJobFlowStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline AddJobFlowStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline AddJobFlowStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace EMR
75} // namespace Aws
void SetStepIds(const Aws::Vector< Aws::String > &value)
AddJobFlowStepsResult & WithRequestId(const Aws::String &value)
AWS_EMR_API AddJobFlowStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddJobFlowStepsResult & WithRequestId(Aws::String &&value)
AddJobFlowStepsResult & AddStepIds(const char *value)
AddJobFlowStepsResult & WithStepIds(const Aws::Vector< Aws::String > &value)
AddJobFlowStepsResult & AddStepIds(Aws::String &&value)
void SetStepIds(Aws::Vector< Aws::String > &&value)
AddJobFlowStepsResult & AddStepIds(const Aws::String &value)
AWS_EMR_API AddJobFlowStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
AddJobFlowStepsResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetStepIds() const
AddJobFlowStepsResult & WithStepIds(Aws::Vector< 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