AWS SDK for C++  1.8.130
AWS SDK for C++
RepositoryAnalysis.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 
36  {
37  public:
42 
43 
50  inline const RepositoryHeadSourceCodeType& GetRepositoryHead() const{ return m_repositoryHead; }
51 
58  inline bool RepositoryHeadHasBeenSet() const { return m_repositoryHeadHasBeenSet; }
59 
66  inline void SetRepositoryHead(const RepositoryHeadSourceCodeType& value) { m_repositoryHeadHasBeenSet = true; m_repositoryHead = value; }
67 
74  inline void SetRepositoryHead(RepositoryHeadSourceCodeType&& value) { m_repositoryHeadHasBeenSet = true; m_repositoryHead = std::move(value); }
75 
82  inline RepositoryAnalysis& WithRepositoryHead(const RepositoryHeadSourceCodeType& value) { SetRepositoryHead(value); return *this;}
83 
90  inline RepositoryAnalysis& WithRepositoryHead(RepositoryHeadSourceCodeType&& value) { SetRepositoryHead(std::move(value)); return *this;}
91 
92  private:
93 
94  RepositoryHeadSourceCodeType m_repositoryHead;
95  bool m_repositoryHeadHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace CodeGuruReviewer
100 } // namespace Aws
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::RepositoryAnalysis
RepositoryAnalysis()
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::WithRepositoryHead
RepositoryAnalysis & WithRepositoryHead(RepositoryHeadSourceCodeType &&value)
Definition: RepositoryAnalysis.h:90
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::GetRepositoryHead
const RepositoryHeadSourceCodeType & GetRepositoryHead() const
Definition: RepositoryAnalysis.h:50
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::WithRepositoryHead
RepositoryAnalysis & WithRepositoryHead(const RepositoryHeadSourceCodeType &value)
Definition: RepositoryAnalysis.h:82
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeGuruReviewer::Model::RepositoryAnalysis
Definition: RepositoryAnalysis.h:36
AWS_CODEGURUREVIEWER_API
#define AWS_CODEGURUREVIEWER_API
Definition: CodeGuruReviewer_EXPORTS.h:28
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::SetRepositoryHead
void SetRepositoryHead(const RepositoryHeadSourceCodeType &value)
Definition: RepositoryAnalysis.h:66
CodeGuruReviewer_EXPORTS.h
Aws::CodeGuruReviewer::Model::RepositoryHeadSourceCodeType
Definition: RepositoryHeadSourceCodeType.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
RepositoryHeadSourceCodeType.h
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::RepositoryAnalysis
RepositoryAnalysis(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::RepositoryHeadHasBeenSet
bool RepositoryHeadHasBeenSet() const
Definition: RepositoryAnalysis.h:58
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::SetRepositoryHead
void SetRepositoryHead(RepositoryHeadSourceCodeType &&value)
Definition: RepositoryAnalysis.h:74
Aws::CodeGuruReviewer::Model::RepositoryAnalysis::operator=
RepositoryAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)