AWS SDK for C++  1.9.1
AWS SDK for C++
DescribeCodeReviewRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeGuruReviewer
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 "DescribeCodeReview"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
40  inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; }
41 
47  inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; }
48 
54  inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; }
55 
61  inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); }
62 
68  inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); }
69 
75  inline DescribeCodeReviewRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;}
76 
82  inline DescribeCodeReviewRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;}
83 
89  inline DescribeCodeReviewRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;}
90 
91  private:
92 
93  Aws::String m_codeReviewArn;
94  bool m_codeReviewArnHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace CodeGuruReviewer
99 } // namespace Aws
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::WithCodeReviewArn
DescribeCodeReviewRequest & WithCodeReviewArn(const Aws::String &value)
Definition: DescribeCodeReviewRequest.h:75
CodeGuruReviewerRequest.h
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::SetCodeReviewArn
void SetCodeReviewArn(const char *value)
Definition: DescribeCodeReviewRequest.h:68
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCodeReviewRequest.h:30
AWS_CODEGURUREVIEWER_API
#define AWS_CODEGURUREVIEWER_API
Definition: CodeGuruReviewer_EXPORTS.h:28
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::WithCodeReviewArn
DescribeCodeReviewRequest & WithCodeReviewArn(const char *value)
Definition: DescribeCodeReviewRequest.h:89
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::SetCodeReviewArn
void SetCodeReviewArn(const Aws::String &value)
Definition: DescribeCodeReviewRequest.h:54
Aws::CodeGuruReviewer::CodeGuruReviewerRequest
Definition: CodeGuruReviewerRequest.h:17
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::WithCodeReviewArn
DescribeCodeReviewRequest & WithCodeReviewArn(Aws::String &&value)
Definition: DescribeCodeReviewRequest.h:82
CodeGuruReviewer_EXPORTS.h
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::GetCodeReviewArn
const Aws::String & GetCodeReviewArn() const
Definition: DescribeCodeReviewRequest.h:40
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::SetCodeReviewArn
void SetCodeReviewArn(Aws::String &&value)
Definition: DescribeCodeReviewRequest.h:61
AWSString.h
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::CodeReviewArnHasBeenSet
bool CodeReviewArnHasBeenSet() const
Definition: DescribeCodeReviewRequest.h:47
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest
Definition: DescribeCodeReviewRequest.h:22
Aws::CodeGuruReviewer::Model::DescribeCodeReviewRequest::DescribeCodeReviewRequest
DescribeCodeReviewRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97