AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeCodeReviewRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace CodeGuruReviewer
15{
16namespace 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
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 = false;
95 };
96
97} // namespace Model
98} // namespace CodeGuruReviewer
99} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
DescribeCodeReviewRequest & WithCodeReviewArn(Aws::String &&value)
DescribeCodeReviewRequest & WithCodeReviewArn(const Aws::String &value)
DescribeCodeReviewRequest & WithCodeReviewArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String