AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TerminateJobFlowsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMRRequest.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EMR {
16namespace Model {
17
25 public:
26 AWS_EMR_API TerminateJobFlowsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "TerminateJobFlows"; }
33
34 AWS_EMR_API Aws::String SerializePayload() const override;
35
37
39
42 inline const Aws::Vector<Aws::String>& GetJobFlowIds() const { return m_jobFlowIds; }
43 inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; }
44 template <typename JobFlowIdsT = Aws::Vector<Aws::String>>
45 void SetJobFlowIds(JobFlowIdsT&& value) {
46 m_jobFlowIdsHasBeenSet = true;
47 m_jobFlowIds = std::forward<JobFlowIdsT>(value);
48 }
49 template <typename JobFlowIdsT = Aws::Vector<Aws::String>>
51 SetJobFlowIds(std::forward<JobFlowIdsT>(value));
52 return *this;
53 }
54 template <typename JobFlowIdsT = Aws::String>
56 m_jobFlowIdsHasBeenSet = true;
57 m_jobFlowIds.emplace_back(std::forward<JobFlowIdsT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<Aws::String> m_jobFlowIds;
63 bool m_jobFlowIdsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace EMR
68} // namespace Aws
const Aws::Vector< Aws::String > & GetJobFlowIds() const
TerminateJobFlowsRequest & AddJobFlowIds(JobFlowIdsT &&value)
TerminateJobFlowsRequest & WithJobFlowIds(JobFlowIdsT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
AWS_EMR_API TerminateJobFlowsRequest()=default
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
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