7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/model/CodeLine.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CodeGuruSecurity {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename PathT = Aws::String>
63 m_pathHasBeenSet =
true;
64 m_path = std::forward<PathT>(value);
66 template <
typename PathT = Aws::String>
68 SetPath(std::forward<PathT>(value));
81 m_startLineHasBeenSet =
true;
98 m_endLineHasBeenSet =
true;
114 template <
typename CodeSnippetT = Aws::Vector<CodeLine>>
116 m_codeSnippetHasBeenSet =
true;
117 m_codeSnippet = std::forward<CodeSnippetT>(value);
119 template <
typename CodeSnippetT = Aws::Vector<CodeLine>>
124 template <
typename CodeSnippetT = CodeLine>
126 m_codeSnippetHasBeenSet =
true;
127 m_codeSnippet.emplace_back(std::forward<CodeSnippetT>(value));
141 bool m_nameHasBeenSet =
false;
142 bool m_pathHasBeenSet =
false;
143 bool m_startLineHasBeenSet =
false;
144 bool m_endLineHasBeenSet =
false;
145 bool m_codeSnippetHasBeenSet =
false;
bool NameHasBeenSet() const
void SetName(NameT &&value)
void SetStartLine(int value)
AWS_CODEGURUSECURITY_API FilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
FilePath & WithStartLine(int value)
AWS_CODEGURUSECURITY_API FilePath()=default
bool StartLineHasBeenSet() const
FilePath & AddCodeSnippet(CodeSnippetT &&value)
void SetEndLine(int value)
void SetPath(PathT &&value)
AWS_CODEGURUSECURITY_API FilePath(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
FilePath & WithEndLine(int value)
const Aws::Vector< CodeLine > & GetCodeSnippet() const
void SetCodeSnippet(CodeSnippetT &&value)
bool EndLineHasBeenSet() const
bool PathHasBeenSet() const
bool CodeSnippetHasBeenSet() const
FilePath & WithName(NameT &&value)
FilePath & WithPath(PathT &&value)
const Aws::String & GetPath() const
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
FilePath & WithCodeSnippet(CodeSnippetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue