AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchStopJobRunRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API BatchStopJobRunRequest() = default;
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 "BatchStopJobRun"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetJobName() const { return m_jobName; }
43 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
44 template<typename JobNameT = Aws::String>
45 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
46 template<typename JobNameT = Aws::String>
47 BatchStopJobRunRequest& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
49
51
55 inline const Aws::Vector<Aws::String>& GetJobRunIds() const { return m_jobRunIds; }
56 inline bool JobRunIdsHasBeenSet() const { return m_jobRunIdsHasBeenSet; }
57 template<typename JobRunIdsT = Aws::Vector<Aws::String>>
58 void SetJobRunIds(JobRunIdsT&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds = std::forward<JobRunIdsT>(value); }
59 template<typename JobRunIdsT = Aws::Vector<Aws::String>>
60 BatchStopJobRunRequest& WithJobRunIds(JobRunIdsT&& value) { SetJobRunIds(std::forward<JobRunIdsT>(value)); return *this;}
61 template<typename JobRunIdsT = Aws::String>
62 BatchStopJobRunRequest& AddJobRunIds(JobRunIdsT&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.emplace_back(std::forward<JobRunIdsT>(value)); return *this; }
64 private:
65
66 Aws::String m_jobName;
67 bool m_jobNameHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_jobRunIds;
70 bool m_jobRunIdsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // 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