1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/comprehend/Comprehend_EXPORTS.h>
8 #include <aws/comprehend/ComprehendRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Comprehend
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_COMPREHEND_API DescribeKeyPhrasesDetectionJobRequest : public ComprehendRequest
22   {
23   public:
24     DescribeKeyPhrasesDetectionJobRequest();
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.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "DescribeKeyPhrasesDetectionJob"; }
31 
32     Aws::String SerializePayload() const override;
33 
34     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
37     /**
38      * <p>The identifier that Amazon Comprehend generated for the job. The operation
39      * returns this identifier in its response.</p>
40      */
GetJobId()41     inline const Aws::String& GetJobId() const{ return m_jobId; }
42 
43     /**
44      * <p>The identifier that Amazon Comprehend generated for the job. The operation
45      * returns this identifier in its response.</p>
46      */
JobIdHasBeenSet()47     inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
48 
49     /**
50      * <p>The identifier that Amazon Comprehend generated for the job. The operation
51      * returns this identifier in its response.</p>
52      */
SetJobId(const Aws::String & value)53     inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
54 
55     /**
56      * <p>The identifier that Amazon Comprehend generated for the job. The operation
57      * returns this identifier in its response.</p>
58      */
SetJobId(Aws::String && value)59     inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
60 
61     /**
62      * <p>The identifier that Amazon Comprehend generated for the job. The operation
63      * returns this identifier in its response.</p>
64      */
SetJobId(const char * value)65     inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
66 
67     /**
68      * <p>The identifier that Amazon Comprehend generated for the job. The operation
69      * returns this identifier in its response.</p>
70      */
WithJobId(const Aws::String & value)71     inline DescribeKeyPhrasesDetectionJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
72 
73     /**
74      * <p>The identifier that Amazon Comprehend generated for the job. The operation
75      * returns this identifier in its response.</p>
76      */
WithJobId(Aws::String && value)77     inline DescribeKeyPhrasesDetectionJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
78 
79     /**
80      * <p>The identifier that Amazon Comprehend generated for the job. The operation
81      * returns this identifier in its response.</p>
82      */
WithJobId(const char * value)83     inline DescribeKeyPhrasesDetectionJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
84 
85   private:
86 
87     Aws::String m_jobId;
88     bool m_jobIdHasBeenSet;
89   };
90 
91 } // namespace Model
92 } // namespace Comprehend
93 } // namespace Aws
94