AWS SDK for C++  1.9.19
AWS SDK for C++
CancelStepsResult.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 
46  inline const Aws::Vector<CancelStepsInfo>& GetCancelStepsInfoList() const{ return m_cancelStepsInfoList; }
47 
52  inline void SetCancelStepsInfoList(const Aws::Vector<CancelStepsInfo>& value) { m_cancelStepsInfoList = value; }
53 
58  inline void SetCancelStepsInfoList(Aws::Vector<CancelStepsInfo>&& value) { m_cancelStepsInfoList = std::move(value); }
59 
64  inline CancelStepsResult& WithCancelStepsInfoList(const Aws::Vector<CancelStepsInfo>& value) { SetCancelStepsInfoList(value); return *this;}
65 
70  inline CancelStepsResult& WithCancelStepsInfoList(Aws::Vector<CancelStepsInfo>&& value) { SetCancelStepsInfoList(std::move(value)); return *this;}
71 
76  inline CancelStepsResult& AddCancelStepsInfoList(const CancelStepsInfo& value) { m_cancelStepsInfoList.push_back(value); return *this; }
77 
82  inline CancelStepsResult& AddCancelStepsInfoList(CancelStepsInfo&& value) { m_cancelStepsInfoList.push_back(std::move(value)); return *this; }
83 
84  private:
85 
86  Aws::Vector<CancelStepsInfo> m_cancelStepsInfoList;
87  };
88 
89 } // namespace Model
90 } // namespace EMR
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::CancelStepsResult::AddCancelStepsInfoList
CancelStepsResult & AddCancelStepsInfoList(const CancelStepsInfo &value)
Definition: CancelStepsResult.h:76
Aws::EMR::Model::CancelStepsResult::GetCancelStepsInfoList
const Aws::Vector< CancelStepsInfo > & GetCancelStepsInfoList() const
Definition: CancelStepsResult.h:46
Aws::EMR::Model::CancelStepsResult
Definition: CancelStepsResult.h:35
EMR_EXPORTS.h
Aws::EMR::Model::CancelStepsResult::operator=
CancelStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
CancelStepsInfo.h
Aws::EMR::Model::CancelStepsResult::WithCancelStepsInfoList
CancelStepsResult & WithCancelStepsInfoList(const Aws::Vector< CancelStepsInfo > &value)
Definition: CancelStepsResult.h:64
Aws::EMR::Model::CancelStepsResult::SetCancelStepsInfoList
void SetCancelStepsInfoList(Aws::Vector< CancelStepsInfo > &&value)
Definition: CancelStepsResult.h:58
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::CancelStepsResult::CancelStepsResult
CancelStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::CancelStepsResult::AddCancelStepsInfoList
CancelStepsResult & AddCancelStepsInfoList(CancelStepsInfo &&value)
Definition: CancelStepsResult.h:82
Aws::EMR::Model::CancelStepsResult::SetCancelStepsInfoList
void SetCancelStepsInfoList(const Aws::Vector< CancelStepsInfo > &value)
Definition: CancelStepsResult.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::CancelStepsResult::WithCancelStepsInfoList
CancelStepsResult & WithCancelStepsInfoList(Aws::Vector< CancelStepsInfo > &&value)
Definition: CancelStepsResult.h:70
Aws::EMR::Model::CancelStepsInfo
Definition: CancelStepsInfo.h:35
Aws::EMR::Model::CancelStepsResult::CancelStepsResult
CancelStepsResult()
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28