AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
45 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
46 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
47 inline BatchStopJobRunRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
48 inline BatchStopJobRunRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
49 inline BatchStopJobRunRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
51
53
57 inline const Aws::Vector<Aws::String>& GetJobRunIds() const{ return m_jobRunIds; }
58 inline bool JobRunIdsHasBeenSet() const { return m_jobRunIdsHasBeenSet; }
59 inline void SetJobRunIds(const Aws::Vector<Aws::String>& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds = value; }
60 inline void SetJobRunIds(Aws::Vector<Aws::String>&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds = std::move(value); }
61 inline BatchStopJobRunRequest& WithJobRunIds(const Aws::Vector<Aws::String>& value) { SetJobRunIds(value); return *this;}
62 inline BatchStopJobRunRequest& WithJobRunIds(Aws::Vector<Aws::String>&& value) { SetJobRunIds(std::move(value)); return *this;}
63 inline BatchStopJobRunRequest& AddJobRunIds(const Aws::String& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(value); return *this; }
64 inline BatchStopJobRunRequest& AddJobRunIds(Aws::String&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(std::move(value)); return *this; }
65 inline BatchStopJobRunRequest& AddJobRunIds(const char* value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_jobName;
70 bool m_jobNameHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_jobRunIds;
73 bool m_jobRunIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
BatchStopJobRunRequest & AddJobRunIds(const Aws::String &value)
BatchStopJobRunRequest & WithJobRunIds(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetJobRunIds(const Aws::Vector< Aws::String > &value)
BatchStopJobRunRequest & WithJobName(Aws::String &&value)
BatchStopJobRunRequest & WithJobRunIds(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetJobRunIds() const
BatchStopJobRunRequest & WithJobName(const Aws::String &value)
BatchStopJobRunRequest & WithJobName(const char *value)
BatchStopJobRunRequest & AddJobRunIds(const char *value)
void SetJobRunIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
BatchStopJobRunRequest & AddJobRunIds(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