7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ContentT = Aws::String>
48 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
49 template<
typename ContentT = Aws::String>
59 inline void SetLineNumber(
int value) { m_lineNumberHasBeenSet =
true; m_lineNumber = value; }
65 bool m_contentHasBeenSet =
false;
68 bool m_lineNumberHasBeenSet =
false;
CodeLine & WithLineNumber(int value)
CodeLine & WithContent(ContentT &&value)
void SetLineNumber(int value)
int GetLineNumber() const
bool ContentHasBeenSet() const
AWS_INSPECTOR2_API CodeLine & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContent() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API CodeLine()=default
void SetContent(ContentT &&value)
AWS_INSPECTOR2_API CodeLine(Aws::Utils::Json::JsonView jsonValue)
bool LineNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue