AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetUnhealthyNodeReplacementRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SetUnhealthyNodeReplacement"; }
32
33 AWS_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::Vector<Aws::String>& GetJobFlowIds() const{ return m_jobFlowIds; }
45 inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; }
46 inline void SetJobFlowIds(const Aws::Vector<Aws::String>& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = value; }
47 inline void SetJobFlowIds(Aws::Vector<Aws::String>&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = std::move(value); }
50 inline SetUnhealthyNodeReplacementRequest& AddJobFlowIds(const Aws::String& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
51 inline SetUnhealthyNodeReplacementRequest& AddJobFlowIds(Aws::String&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(std::move(value)); return *this; }
52 inline SetUnhealthyNodeReplacementRequest& AddJobFlowIds(const char* value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
54
56
60 inline bool GetUnhealthyNodeReplacement() const{ return m_unhealthyNodeReplacement; }
61 inline bool UnhealthyNodeReplacementHasBeenSet() const { return m_unhealthyNodeReplacementHasBeenSet; }
62 inline void SetUnhealthyNodeReplacement(bool value) { m_unhealthyNodeReplacementHasBeenSet = true; m_unhealthyNodeReplacement = value; }
65 private:
66
67 Aws::Vector<Aws::String> m_jobFlowIds;
68 bool m_jobFlowIdsHasBeenSet = false;
69
70 bool m_unhealthyNodeReplacement;
71 bool m_unhealthyNodeReplacementHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EMR
76} // namespace Aws
SetUnhealthyNodeReplacementRequest & AddJobFlowIds(const Aws::String &value)
void SetJobFlowIds(const Aws::Vector< Aws::String > &value)
SetUnhealthyNodeReplacementRequest & AddJobFlowIds(const char *value)
SetUnhealthyNodeReplacementRequest & AddJobFlowIds(Aws::String &&value)
AWS_EMR_API Aws::String SerializePayload() const override
SetUnhealthyNodeReplacementRequest & WithUnhealthyNodeReplacement(bool value)
SetUnhealthyNodeReplacementRequest & WithJobFlowIds(const Aws::Vector< Aws::String > &value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetUnhealthyNodeReplacementRequest & WithJobFlowIds(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector