AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryAnalysis.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/RepositoryHeadSourceCodeType.h>
9#include <aws/codeguru-reviewer/model/SourceCodeType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeGuruReviewer
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CODEGURUREVIEWER_API RepositoryAnalysis();
40 AWS_CODEGURUREVIEWER_API RepositoryAnalysis(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEGURUREVIEWER_API RepositoryAnalysis& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const RepositoryHeadSourceCodeType& GetRepositoryHead() const{ return m_repositoryHead; }
52 inline bool RepositoryHeadHasBeenSet() const { return m_repositoryHeadHasBeenSet; }
53 inline void SetRepositoryHead(const RepositoryHeadSourceCodeType& value) { m_repositoryHeadHasBeenSet = true; m_repositoryHead = value; }
54 inline void SetRepositoryHead(RepositoryHeadSourceCodeType&& value) { m_repositoryHeadHasBeenSet = true; m_repositoryHead = std::move(value); }
56 inline RepositoryAnalysis& WithRepositoryHead(RepositoryHeadSourceCodeType&& value) { SetRepositoryHead(std::move(value)); return *this;}
58
60
61 inline const SourceCodeType& GetSourceCodeType() const{ return m_sourceCodeType; }
62 inline bool SourceCodeTypeHasBeenSet() const { return m_sourceCodeTypeHasBeenSet; }
63 inline void SetSourceCodeType(const SourceCodeType& value) { m_sourceCodeTypeHasBeenSet = true; m_sourceCodeType = value; }
64 inline void SetSourceCodeType(SourceCodeType&& value) { m_sourceCodeTypeHasBeenSet = true; m_sourceCodeType = std::move(value); }
65 inline RepositoryAnalysis& WithSourceCodeType(const SourceCodeType& value) { SetSourceCodeType(value); return *this;}
66 inline RepositoryAnalysis& WithSourceCodeType(SourceCodeType&& value) { SetSourceCodeType(std::move(value)); return *this;}
68 private:
69
70 RepositoryHeadSourceCodeType m_repositoryHead;
71 bool m_repositoryHeadHasBeenSet = false;
72
73 SourceCodeType m_sourceCodeType;
74 bool m_sourceCodeTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeGuruReviewer
79} // namespace Aws
const RepositoryHeadSourceCodeType & GetRepositoryHead() const
void SetRepositoryHead(RepositoryHeadSourceCodeType &&value)
RepositoryAnalysis & WithSourceCodeType(const SourceCodeType &value)
RepositoryAnalysis & WithRepositoryHead(const RepositoryHeadSourceCodeType &value)
void SetRepositoryHead(const RepositoryHeadSourceCodeType &value)
AWS_CODEGURUREVIEWER_API RepositoryAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryAnalysis & WithSourceCodeType(SourceCodeType &&value)
void SetSourceCodeType(const SourceCodeType &value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryAnalysis & WithRepositoryHead(RepositoryHeadSourceCodeType &&value)
AWS_CODEGURUREVIEWER_API RepositoryAnalysis(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue