AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateJobFlowsRequest.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
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "TerminateJobFlows"; }
36
37 AWS_EMR_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::Vector<Aws::String>& GetJobFlowIds() const{ return m_jobFlowIds; }
47 inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; }
48 inline void SetJobFlowIds(const Aws::Vector<Aws::String>& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = value; }
49 inline void SetJobFlowIds(Aws::Vector<Aws::String>&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = std::move(value); }
51 inline TerminateJobFlowsRequest& WithJobFlowIds(Aws::Vector<Aws::String>&& value) { SetJobFlowIds(std::move(value)); return *this;}
52 inline TerminateJobFlowsRequest& AddJobFlowIds(const Aws::String& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
53 inline TerminateJobFlowsRequest& AddJobFlowIds(Aws::String&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(std::move(value)); return *this; }
54 inline TerminateJobFlowsRequest& AddJobFlowIds(const char* value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_jobFlowIds;
59 bool m_jobFlowIdsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace EMR
64} // namespace Aws
const Aws::Vector< Aws::String > & GetJobFlowIds() const
void SetJobFlowIds(const Aws::Vector< Aws::String > &value)
AWS_EMR_API Aws::String SerializePayload() const override
TerminateJobFlowsRequest & AddJobFlowIds(const char *value)
void SetJobFlowIds(Aws::Vector< Aws::String > &&value)
TerminateJobFlowsRequest & AddJobFlowIds(const Aws::String &value)
TerminateJobFlowsRequest & WithJobFlowIds(Aws::Vector< Aws::String > &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TerminateJobFlowsRequest & WithJobFlowIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
TerminateJobFlowsRequest & AddJobFlowIds(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