AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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