AWS SDK for C++  1.9.19
AWS SDK for C++
GetManagedScalingPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace EMR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const ManagedScalingPolicy& GetManagedScalingPolicy() const{ return m_managedScalingPolicy; }
40 
45  inline void SetManagedScalingPolicy(const ManagedScalingPolicy& value) { m_managedScalingPolicy = value; }
46 
51  inline void SetManagedScalingPolicy(ManagedScalingPolicy&& value) { m_managedScalingPolicy = std::move(value); }
52 
57  inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(const ManagedScalingPolicy& value) { SetManagedScalingPolicy(value); return *this;}
58 
63  inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(ManagedScalingPolicy&& value) { SetManagedScalingPolicy(std::move(value)); return *this;}
64 
65  private:
66 
67  ManagedScalingPolicy m_managedScalingPolicy;
68  };
69 
70 } // namespace Model
71 } // namespace EMR
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::GetManagedScalingPolicyResult::GetManagedScalingPolicyResult
GetManagedScalingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::GetManagedScalingPolicyResult::operator=
GetManagedScalingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::GetManagedScalingPolicyResult::GetManagedScalingPolicyResult
GetManagedScalingPolicyResult()
EMR_EXPORTS.h
Aws::EMR::Model::ManagedScalingPolicy
Definition: ManagedScalingPolicy.h:35
Aws::EMR::Model::GetManagedScalingPolicyResult
Definition: GetManagedScalingPolicyResult.h:28
ManagedScalingPolicy.h
Aws::EMR::Model::GetManagedScalingPolicyResult::GetManagedScalingPolicy
const ManagedScalingPolicy & GetManagedScalingPolicy() const
Definition: GetManagedScalingPolicyResult.h:39
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::GetManagedScalingPolicyResult::WithManagedScalingPolicy
GetManagedScalingPolicyResult & WithManagedScalingPolicy(ManagedScalingPolicy &&value)
Definition: GetManagedScalingPolicyResult.h:63
Aws::EMR::Model::GetManagedScalingPolicyResult::SetManagedScalingPolicy
void SetManagedScalingPolicy(ManagedScalingPolicy &&value)
Definition: GetManagedScalingPolicyResult.h:51
Aws::EMR::Model::GetManagedScalingPolicyResult::SetManagedScalingPolicy
void SetManagedScalingPolicy(const ManagedScalingPolicy &value)
Definition: GetManagedScalingPolicyResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::GetManagedScalingPolicyResult::WithManagedScalingPolicy
GetManagedScalingPolicyResult & WithManagedScalingPolicy(const ManagedScalingPolicy &value)
Definition: GetManagedScalingPolicyResult.h:57
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28