AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateJobRequest.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/glue/model/JobUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API UpdateJobRequest();
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 "UpdateJob"; }
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 UpdateJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
48 inline UpdateJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
49 inline UpdateJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
51
53
57 inline const JobUpdate& GetJobUpdate() const{ return m_jobUpdate; }
58 inline bool JobUpdateHasBeenSet() const { return m_jobUpdateHasBeenSet; }
59 inline void SetJobUpdate(const JobUpdate& value) { m_jobUpdateHasBeenSet = true; m_jobUpdate = value; }
60 inline void SetJobUpdate(JobUpdate&& value) { m_jobUpdateHasBeenSet = true; m_jobUpdate = std::move(value); }
61 inline UpdateJobRequest& WithJobUpdate(const JobUpdate& value) { SetJobUpdate(value); return *this;}
62 inline UpdateJobRequest& WithJobUpdate(JobUpdate&& value) { SetJobUpdate(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_jobName;
67 bool m_jobNameHasBeenSet = false;
68
69 JobUpdate m_jobUpdate;
70 bool m_jobUpdateHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
const JobUpdate & GetJobUpdate() const
void SetJobName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetJobName(const char *value)
void SetJobUpdate(const JobUpdate &value)
const Aws::String & GetJobName() const
UpdateJobRequest & WithJobName(const char *value)
void SetJobName(const Aws::String &value)
UpdateJobRequest & WithJobName(Aws::String &&value)
UpdateJobRequest & WithJobName(const Aws::String &value)
UpdateJobRequest & WithJobUpdate(JobUpdate &&value)
UpdateJobRequest & WithJobUpdate(const JobUpdate &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetJobUpdate(JobUpdate &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String