AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModifyClusterResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace EMR {
22namespace Model {
24 public:
25 AWS_EMR_API ModifyClusterResult() = default;
28
30
33 inline int GetStepConcurrencyLevel() const { return m_stepConcurrencyLevel; }
34 inline void SetStepConcurrencyLevel(int value) {
35 m_stepConcurrencyLevelHasBeenSet = true;
36 m_stepConcurrencyLevel = value;
37 }
40 return *this;
41 }
43
45
48 inline bool GetExtendedSupport() const { return m_extendedSupport; }
49 inline void SetExtendedSupport(bool value) {
50 m_extendedSupportHasBeenSet = true;
51 m_extendedSupport = value;
52 }
54 SetExtendedSupport(value);
55 return *this;
56 }
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template <typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) {
64 m_requestIdHasBeenSet = true;
65 m_requestId = std::forward<RequestIdT>(value);
66 }
67 template <typename RequestIdT = Aws::String>
68 ModifyClusterResult& WithRequestId(RequestIdT&& value) {
69 SetRequestId(std::forward<RequestIdT>(value));
70 return *this;
71 }
73 private:
74 int m_stepConcurrencyLevel{0};
75
76 bool m_extendedSupport{false};
77
78 Aws::String m_requestId;
79 bool m_stepConcurrencyLevelHasBeenSet = false;
80 bool m_extendedSupportHasBeenSet = false;
81 bool m_requestIdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace EMR
86} // namespace Aws
AWS_EMR_API ModifyClusterResult()=default
ModifyClusterResult & WithStepConcurrencyLevel(int value)
ModifyClusterResult & WithExtendedSupport(bool value)
AWS_EMR_API ModifyClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API ModifyClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ModifyClusterResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue