AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeClassificationJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Macie2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeClassificationJob"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetJobId() const{ return m_jobId; }
39 
43  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
44 
48  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
49 
53  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
54 
58  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
59 
63  inline DescribeClassificationJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
64 
68  inline DescribeClassificationJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
69 
73  inline DescribeClassificationJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_jobId;
78  bool m_jobIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Macie2
83 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::DescribeClassificationJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: DescribeClassificationJobRequest.h:53
Aws::Macie2::Model::DescribeClassificationJobRequest::WithJobId
DescribeClassificationJobRequest & WithJobId(const Aws::String &value)
Definition: DescribeClassificationJobRequest.h:63
Macie2_EXPORTS.h
Aws::Macie2::Model::DescribeClassificationJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: DescribeClassificationJobRequest.h:48
Aws::Macie2::Model::DescribeClassificationJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: DescribeClassificationJobRequest.h:38
Aws::Macie2::Model::DescribeClassificationJobRequest
Definition: DescribeClassificationJobRequest.h:22
Aws::Macie2::Macie2Request
Definition: Macie2Request.h:17
Macie2Request.h
Aws::Macie2::Model::DescribeClassificationJobRequest::WithJobId
DescribeClassificationJobRequest & WithJobId(const char *value)
Definition: DescribeClassificationJobRequest.h:73
Aws::Macie2::Model::DescribeClassificationJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClassificationJobRequest.h:30
AWSString.h
Aws::Macie2::Model::DescribeClassificationJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Macie2::Model::DescribeClassificationJobRequest::SetJobId
void SetJobId(const char *value)
Definition: DescribeClassificationJobRequest.h:58
Aws::Macie2::Model::DescribeClassificationJobRequest::WithJobId
DescribeClassificationJobRequest & WithJobId(Aws::String &&value)
Definition: DescribeClassificationJobRequest.h:68
Aws::Macie2::Model::DescribeClassificationJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: DescribeClassificationJobRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::DescribeClassificationJobRequest::DescribeClassificationJobRequest
DescribeClassificationJobRequest()