AWS SDK for C++  1.8.129
AWS SDK for C++
CodeReviewType.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodeGuruReviewer
22 {
23 namespace Model
24 {
25 
42  {
43  public:
48 
49 
57  inline const RepositoryAnalysis& GetRepositoryAnalysis() const{ return m_repositoryAnalysis; }
58 
66  inline bool RepositoryAnalysisHasBeenSet() const { return m_repositoryAnalysisHasBeenSet; }
67 
75  inline void SetRepositoryAnalysis(const RepositoryAnalysis& value) { m_repositoryAnalysisHasBeenSet = true; m_repositoryAnalysis = value; }
76 
84  inline void SetRepositoryAnalysis(RepositoryAnalysis&& value) { m_repositoryAnalysisHasBeenSet = true; m_repositoryAnalysis = std::move(value); }
85 
93  inline CodeReviewType& WithRepositoryAnalysis(const RepositoryAnalysis& value) { SetRepositoryAnalysis(value); return *this;}
94 
102  inline CodeReviewType& WithRepositoryAnalysis(RepositoryAnalysis&& value) { SetRepositoryAnalysis(std::move(value)); return *this;}
103 
104  private:
105 
106  RepositoryAnalysis m_repositoryAnalysis;
107  bool m_repositoryAnalysisHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace CodeGuruReviewer
112 } // namespace Aws
Aws::CodeGuruReviewer::Model::CodeReviewType::GetRepositoryAnalysis
const RepositoryAnalysis & GetRepositoryAnalysis() const
Definition: CodeReviewType.h:57
Aws::CodeGuruReviewer::Model::CodeReviewType::operator=
CodeReviewType & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryAnalysis.h
Aws::CodeGuruReviewer::Model::CodeReviewType::CodeReviewType
CodeReviewType(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeGuruReviewer::Model::RepositoryAnalysis
Definition: RepositoryAnalysis.h:36
AWS_CODEGURUREVIEWER_API
#define AWS_CODEGURUREVIEWER_API
Definition: CodeGuruReviewer_EXPORTS.h:28
Aws::CodeGuruReviewer::Model::CodeReviewType::WithRepositoryAnalysis
CodeReviewType & WithRepositoryAnalysis(RepositoryAnalysis &&value)
Definition: CodeReviewType.h:102
Aws::CodeGuruReviewer::Model::CodeReviewType
Definition: CodeReviewType.h:42
CodeGuruReviewer_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodeGuruReviewer::Model::CodeReviewType::SetRepositoryAnalysis
void SetRepositoryAnalysis(const RepositoryAnalysis &value)
Definition: CodeReviewType.h:75
Aws::CodeGuruReviewer::Model::CodeReviewType::WithRepositoryAnalysis
CodeReviewType & WithRepositoryAnalysis(const RepositoryAnalysis &value)
Definition: CodeReviewType.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruReviewer::Model::CodeReviewType::RepositoryAnalysisHasBeenSet
bool RepositoryAnalysisHasBeenSet() const
Definition: CodeReviewType.h:66
Aws::CodeGuruReviewer::Model::CodeReviewType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeGuruReviewer::Model::CodeReviewType::CodeReviewType
CodeReviewType()
Aws::CodeGuruReviewer::Model::CodeReviewType::SetRepositoryAnalysis
void SetRepositoryAnalysis(RepositoryAnalysis &&value)
Definition: CodeReviewType.h:84