AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelStepsResult.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 <aws/elasticmapreduce/model/CancelStepsInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EMR
26{
27namespace Model
28{
36 {
37 public:
38 AWS_EMR_API CancelStepsResult();
41
42
44
48 inline const Aws::Vector<CancelStepsInfo>& GetCancelStepsInfoList() const{ return m_cancelStepsInfoList; }
49 inline void SetCancelStepsInfoList(const Aws::Vector<CancelStepsInfo>& value) { m_cancelStepsInfoList = value; }
50 inline void SetCancelStepsInfoList(Aws::Vector<CancelStepsInfo>&& value) { m_cancelStepsInfoList = std::move(value); }
53 inline CancelStepsResult& AddCancelStepsInfoList(const CancelStepsInfo& value) { m_cancelStepsInfoList.push_back(value); return *this; }
54 inline CancelStepsResult& AddCancelStepsInfoList(CancelStepsInfo&& value) { m_cancelStepsInfoList.push_back(std::move(value)); return *this; }
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline CancelStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline CancelStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline CancelStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::Vector<CancelStepsInfo> m_cancelStepsInfoList;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace EMR
76} // namespace Aws
CancelStepsResult & AddCancelStepsInfoList(CancelStepsInfo &&value)
AWS_EMR_API CancelStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
void SetCancelStepsInfoList(Aws::Vector< CancelStepsInfo > &&value)
void SetRequestId(const Aws::String &value)
CancelStepsResult & WithRequestId(const Aws::String &value)
CancelStepsResult & AddCancelStepsInfoList(const CancelStepsInfo &value)
CancelStepsResult & WithRequestId(Aws::String &&value)
void SetRequestId(const char *value)
CancelStepsResult & WithCancelStepsInfoList(Aws::Vector< CancelStepsInfo > &&value)
void SetCancelStepsInfoList(const Aws::Vector< CancelStepsInfo > &value)
CancelStepsResult & WithRequestId(const char *value)
AWS_EMR_API CancelStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
CancelStepsResult & WithCancelStepsInfoList(const Aws::Vector< CancelStepsInfo > &value)
const Aws::Vector< CancelStepsInfo > & GetCancelStepsInfoList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue