AWS SDK for C++  1.9.20
AWS SDK for C++
AddJobFlowStepsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace EMR
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetStepIds() const{ return m_stepIds; }
46 
50  inline void SetStepIds(const Aws::Vector<Aws::String>& value) { m_stepIds = value; }
51 
55  inline void SetStepIds(Aws::Vector<Aws::String>&& value) { m_stepIds = std::move(value); }
56 
60  inline AddJobFlowStepsResult& WithStepIds(const Aws::Vector<Aws::String>& value) { SetStepIds(value); return *this;}
61 
65  inline AddJobFlowStepsResult& WithStepIds(Aws::Vector<Aws::String>&& value) { SetStepIds(std::move(value)); return *this;}
66 
70  inline AddJobFlowStepsResult& AddStepIds(const Aws::String& value) { m_stepIds.push_back(value); return *this; }
71 
75  inline AddJobFlowStepsResult& AddStepIds(Aws::String&& value) { m_stepIds.push_back(std::move(value)); return *this; }
76 
80  inline AddJobFlowStepsResult& AddStepIds(const char* value) { m_stepIds.push_back(value); return *this; }
81 
82  private:
83 
84  Aws::Vector<Aws::String> m_stepIds;
85  };
86 
87 } // namespace Model
88 } // namespace EMR
89 } // namespace Aws
Aws::EMR::Model::AddJobFlowStepsResult::AddStepIds
AddJobFlowStepsResult & AddStepIds(Aws::String &&value)
Definition: AddJobFlowStepsResult.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::AddJobFlowStepsResult::GetStepIds
const Aws::Vector< Aws::String > & GetStepIds() const
Definition: AddJobFlowStepsResult.h:45
EMR_EXPORTS.h
Aws::EMR::Model::AddJobFlowStepsResult::AddJobFlowStepsResult
AddJobFlowStepsResult()
Aws::EMR::Model::AddJobFlowStepsResult
Definition: AddJobFlowStepsResult.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::AddJobFlowStepsResult::AddStepIds
AddJobFlowStepsResult & AddStepIds(const char *value)
Definition: AddJobFlowStepsResult.h:80
Aws::EMR::Model::AddJobFlowStepsResult::SetStepIds
void SetStepIds(Aws::Vector< Aws::String > &&value)
Definition: AddJobFlowStepsResult.h:55
Aws::EMR::Model::AddJobFlowStepsResult::WithStepIds
AddJobFlowStepsResult & WithStepIds(Aws::Vector< Aws::String > &&value)
Definition: AddJobFlowStepsResult.h:65
AWSVector.h
Aws::EMR::Model::AddJobFlowStepsResult::AddStepIds
AddJobFlowStepsResult & AddStepIds(const Aws::String &value)
Definition: AddJobFlowStepsResult.h:70
Aws::EMR::Model::AddJobFlowStepsResult::WithStepIds
AddJobFlowStepsResult & WithStepIds(const Aws::Vector< Aws::String > &value)
Definition: AddJobFlowStepsResult.h:60
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::AddJobFlowStepsResult::SetStepIds
void SetStepIds(const Aws::Vector< Aws::String > &value)
Definition: AddJobFlowStepsResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::AddJobFlowStepsResult::operator=
AddJobFlowStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::AddJobFlowStepsResult::AddJobFlowStepsResult
AddJobFlowStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28