/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the location of security vulnerabilities that Amazon
* CodeGuru Security detected in your code.See Also:
AWS
* API Reference
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
A list of CodeLine
objects that describe where the security
* vulnerability appears in your code.
The last line number of the code snippet where the security vulnerability * appears in your code.
*/ inline int GetEndLine() const{ return m_endLine; } /** *The last line number of the code snippet where the security vulnerability * appears in your code.
*/ inline bool EndLineHasBeenSet() const { return m_endLineHasBeenSet; } /** *The last line number of the code snippet where the security vulnerability * appears in your code.
*/ inline void SetEndLine(int value) { m_endLineHasBeenSet = true; m_endLine = value; } /** *The last line number of the code snippet where the security vulnerability * appears in your code.
*/ inline FilePath& WithEndLine(int value) { SetEndLine(value); return *this;} /** *The name of the file.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the file.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the file.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the file.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the file.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the file.
*/ inline FilePath& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the file.
*/ inline FilePath& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the file.
*/ inline FilePath& WithName(const char* value) { SetName(value); return *this;} /** *The path to the resource with the security vulnerability.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path to the resource with the security vulnerability.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path to the resource with the security vulnerability.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path to the resource with the security vulnerability.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path to the resource with the security vulnerability.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path to the resource with the security vulnerability.
*/ inline FilePath& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path to the resource with the security vulnerability.
*/ inline FilePath& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path to the resource with the security vulnerability.
*/ inline FilePath& WithPath(const char* value) { SetPath(value); return *this;} /** *The first line number of the code snippet where the security vulnerability * appears in your code.
*/ inline int GetStartLine() const{ return m_startLine; } /** *The first line number of the code snippet where the security vulnerability * appears in your code.
*/ inline bool StartLineHasBeenSet() const { return m_startLineHasBeenSet; } /** *The first line number of the code snippet where the security vulnerability * appears in your code.
*/ inline void SetStartLine(int value) { m_startLineHasBeenSet = true; m_startLine = value; } /** *The first line number of the code snippet where the security vulnerability * appears in your code.
*/ inline FilePath& WithStartLine(int value) { SetStartLine(value); return *this;} private: Aws::Vector