7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguru-security/model/CodeLine.h>
23namespace CodeGuruSecurity
65 inline void SetEndLine(
int value) { m_endLineHasBeenSet =
true; m_endLine = value; }
77 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
104 inline void SetStartLine(
int value) { m_startLineHasBeenSet =
true; m_startLine = value; }
110 bool m_codeSnippetHasBeenSet =
false;
113 bool m_endLineHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_pathHasBeenSet =
false;
122 bool m_startLineHasBeenSet =
false;
bool NameHasBeenSet() const
FilePath & WithCodeSnippet(Aws::Vector< CodeLine > &&value)
void SetStartLine(int value)
AWS_CODEGURUSECURITY_API FilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
FilePath & WithStartLine(int value)
FilePath & AddCodeSnippet(CodeLine &&value)
void SetName(Aws::String &&value)
AWS_CODEGURUSECURITY_API FilePath()
void SetCodeSnippet(Aws::Vector< CodeLine > &&value)
FilePath & WithName(const char *value)
void SetPath(const Aws::String &value)
void SetPath(const char *value)
FilePath & WithCodeSnippet(const Aws::Vector< CodeLine > &value)
bool StartLineHasBeenSet() const
FilePath & WithPath(Aws::String &&value)
void SetEndLine(int 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
FilePath & WithPath(const char *value)
bool EndLineHasBeenSet() const
bool PathHasBeenSet() const
bool CodeSnippetHasBeenSet() const
void SetName(const char *value)
FilePath & WithPath(const Aws::String &value)
void SetCodeSnippet(const Aws::Vector< CodeLine > &value)
FilePath & WithName(Aws::String &&value)
void SetPath(Aws::String &&value)
const Aws::String & GetPath() const
void SetName(const Aws::String &value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
FilePath & AddCodeSnippet(const CodeLine &value)
FilePath & WithName(const Aws::String &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