AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 UpdateJobRequest& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
49
51
55 inline const JobUpdate& GetJobUpdate() const { return m_jobUpdate; }
56 inline bool JobUpdateHasBeenSet() const { return m_jobUpdateHasBeenSet; }
57 template<typename JobUpdateT = JobUpdate>
58 void SetJobUpdate(JobUpdateT&& value) { m_jobUpdateHasBeenSet = true; m_jobUpdate = std::forward<JobUpdateT>(value); }
59 template<typename JobUpdateT = JobUpdate>
60 UpdateJobRequest& WithJobUpdate(JobUpdateT&& value) { SetJobUpdate(std::forward<JobUpdateT>(value)); return *this;}
62 private:
63
64 Aws::String m_jobName;
65 bool m_jobNameHasBeenSet = false;
66
67 JobUpdate m_jobUpdate;
68 bool m_jobUpdateHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
const JobUpdate & GetJobUpdate() const
void SetJobUpdate(JobUpdateT &&value)
virtual const char * GetServiceRequestName() const override
UpdateJobRequest & WithJobName(JobNameT &&value)
const Aws::String & GetJobName() const
UpdateJobRequest & WithJobUpdate(JobUpdateT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API UpdateJobRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String