AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateClassificationJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/JobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Macie2 {
16namespace Model {
17
21 public:
22 AWS_MACIE2_API UpdateClassificationJobRequest() = 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 "UpdateClassificationJob"; }
29
30 AWS_MACIE2_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetJobId() const { return m_jobId; }
37 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
38 template <typename JobIdT = Aws::String>
39 void SetJobId(JobIdT&& value) {
40 m_jobIdHasBeenSet = true;
41 m_jobId = std::forward<JobIdT>(value);
42 }
43 template <typename JobIdT = Aws::String>
45 SetJobId(std::forward<JobIdT>(value));
46 return *this;
47 }
49
51
72 inline JobStatus GetJobStatus() const { return m_jobStatus; }
73 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
74 inline void SetJobStatus(JobStatus value) {
75 m_jobStatusHasBeenSet = true;
76 m_jobStatus = value;
77 }
79 SetJobStatus(value);
80 return *this;
81 }
83 private:
84 Aws::String m_jobId;
85
86 JobStatus m_jobStatus{JobStatus::NOT_SET};
87 bool m_jobIdHasBeenSet = false;
88 bool m_jobStatusHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Macie2
93} // namespace Aws
AWS_MACIE2_API UpdateClassificationJobRequest()=default
UpdateClassificationJobRequest & WithJobId(JobIdT &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateClassificationJobRequest & WithJobStatus(JobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String