AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
StartJobUpgradeAnalysisRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/UpgradeConsent.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API StartJobUpgradeAnalysisRequest() = 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 "StartJobUpgradeAnalysis"; }
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::String& GetAnalysisId() const { return m_analysisId; }
58 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
59 template <typename AnalysisIdT = Aws::String>
60 void SetAnalysisId(AnalysisIdT&& value) {
61 m_analysisIdHasBeenSet = true;
62 m_analysisId = std::forward<AnalysisIdT>(value);
63 }
64 template <typename AnalysisIdT = Aws::String>
66 SetAnalysisId(std::forward<AnalysisIdT>(value));
67 return *this;
68 }
70
72
75 inline UpgradeConsent GetUpgradeConsent() const { return m_upgradeConsent; }
76 inline bool UpgradeConsentHasBeenSet() const { return m_upgradeConsentHasBeenSet; }
77 inline void SetUpgradeConsent(UpgradeConsent value) {
78 m_upgradeConsentHasBeenSet = true;
79 m_upgradeConsent = value;
80 }
82 SetUpgradeConsent(value);
83 return *this;
84 }
86 private:
87 Aws::String m_jobName;
88
89 Aws::String m_analysisId;
90
92 bool m_jobNameHasBeenSet = false;
93 bool m_analysisIdHasBeenSet = false;
94 bool m_upgradeConsentHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Glue
99} // namespace Aws
StartJobUpgradeAnalysisRequest & WithUpgradeConsent(UpgradeConsent value)
AWS_GLUE_API Aws::String SerializePayload() const override
StartJobUpgradeAnalysisRequest & WithAnalysisId(AnalysisIdT &&value)
StartJobUpgradeAnalysisRequest & WithJobName(JobNameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String