AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
BatchStopJobRunRequest.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/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API BatchStopJobRunRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchStopJobRun"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetJobName() const { return m_jobName; }
39 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
40 template <typename JobNameT = Aws::String>
41 void SetJobName(JobNameT&& value) {
42 m_jobNameHasBeenSet = true;
43 m_jobName = std::forward<JobNameT>(value);
44 }
45 template <typename JobNameT = Aws::String>
47 SetJobName(std::forward<JobNameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::Vector<Aws::String>& GetJobRunIds() const { return m_jobRunIds; }
58 inline bool JobRunIdsHasBeenSet() const { return m_jobRunIdsHasBeenSet; }
59 template <typename JobRunIdsT = Aws::Vector<Aws::String>>
60 void SetJobRunIds(JobRunIdsT&& value) {
61 m_jobRunIdsHasBeenSet = true;
62 m_jobRunIds = std::forward<JobRunIdsT>(value);
63 }
64 template <typename JobRunIdsT = Aws::Vector<Aws::String>>
66 SetJobRunIds(std::forward<JobRunIdsT>(value));
67 return *this;
68 }
69 template <typename JobRunIdsT = Aws::String>
70 BatchStopJobRunRequest& AddJobRunIds(JobRunIdsT&& value) {
71 m_jobRunIdsHasBeenSet = true;
72 m_jobRunIds.emplace_back(std::forward<JobRunIdsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_jobName;
78 bool m_jobNameHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_jobRunIds;
81 bool m_jobRunIdsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Glue
86} // namespace Aws
BatchStopJobRunRequest & AddJobRunIds(JobRunIdsT &&value)
AWS_GLUE_API BatchStopJobRunRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
BatchStopJobRunRequest & WithJobRunIds(JobRunIdsT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchStopJobRunRequest & WithJobName(JobNameT &&value)
const Aws::Vector< Aws::String > & GetJobRunIds() const
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