AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeVulnerabilitiesFilePath.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetEndLine() const { return m_endLine; }
47 inline bool EndLineHasBeenSet() const { return m_endLineHasBeenSet; }
48 inline void SetEndLine(int value) { m_endLineHasBeenSet = true; m_endLine = value; }
49 inline CodeVulnerabilitiesFilePath& WithEndLine(int value) { SetEndLine(value); return *this;}
51
53
56 inline const Aws::String& GetFileName() const { return m_fileName; }
57 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
58 template<typename FileNameT = Aws::String>
59 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
60 template<typename FileNameT = Aws::String>
61 CodeVulnerabilitiesFilePath& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetFilePath() const { return m_filePath; }
69 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
70 template<typename FilePathT = Aws::String>
71 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet = true; m_filePath = std::forward<FilePathT>(value); }
72 template<typename FilePathT = Aws::String>
73 CodeVulnerabilitiesFilePath& WithFilePath(FilePathT&& value) { SetFilePath(std::forward<FilePathT>(value)); return *this;}
75
77
81 inline int GetStartLine() const { return m_startLine; }
82 inline bool StartLineHasBeenSet() const { return m_startLineHasBeenSet; }
83 inline void SetStartLine(int value) { m_startLineHasBeenSet = true; m_startLine = value; }
84 inline CodeVulnerabilitiesFilePath& WithStartLine(int value) { SetStartLine(value); return *this;}
86 private:
87
88 int m_endLine{0};
89 bool m_endLineHasBeenSet = false;
90
91 Aws::String m_fileName;
92 bool m_fileNameHasBeenSet = false;
93
94 Aws::String m_filePath;
95 bool m_filePathHasBeenSet = false;
96
97 int m_startLine{0};
98 bool m_startLineHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
CodeVulnerabilitiesFilePath & WithFileName(FileNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
CodeVulnerabilitiesFilePath & WithFilePath(FilePathT &&value)
AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath()=default
AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue