AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
59 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
60 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
61 inline CodeVulnerabilitiesFilePath& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
62 inline CodeVulnerabilitiesFilePath& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
63 inline CodeVulnerabilitiesFilePath& WithFileName(const char* value) { SetFileName(value); return *this;}
65
67
70 inline const Aws::String& GetFilePath() const{ return m_filePath; }
71 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
72 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
73 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
74 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
75 inline CodeVulnerabilitiesFilePath& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
76 inline CodeVulnerabilitiesFilePath& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
77 inline CodeVulnerabilitiesFilePath& WithFilePath(const char* value) { SetFilePath(value); return *this;}
79
81
85 inline int GetStartLine() const{ return m_startLine; }
86 inline bool StartLineHasBeenSet() const { return m_startLineHasBeenSet; }
87 inline void SetStartLine(int value) { m_startLineHasBeenSet = true; m_startLine = value; }
88 inline CodeVulnerabilitiesFilePath& WithStartLine(int value) { SetStartLine(value); return *this;}
90 private:
91
92 int m_endLine;
93 bool m_endLineHasBeenSet = false;
94
95 Aws::String m_fileName;
96 bool m_fileNameHasBeenSet = false;
97
98 Aws::String m_filePath;
99 bool m_filePathHasBeenSet = false;
100
101 int m_startLine;
102 bool m_startLineHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SecurityHub
107} // namespace Aws
CodeVulnerabilitiesFilePath & WithFileName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
CodeVulnerabilitiesFilePath & WithFilePath(const Aws::String &value)
CodeVulnerabilitiesFilePath & WithFilePath(const char *value)
CodeVulnerabilitiesFilePath & WithFileName(Aws::String &&value)
CodeVulnerabilitiesFilePath & WithFileName(const Aws::String &value)
AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CodeVulnerabilitiesFilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeVulnerabilitiesFilePath & WithFilePath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue