AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeFilePath.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_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 Inspector2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR2_API CodeFilePath();
36 AWS_INSPECTOR2_API CodeFilePath(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API CodeFilePath& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_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 CodeFilePath& 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 CodeFilePath& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
62 inline CodeFilePath& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
63 inline CodeFilePath& 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 CodeFilePath& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
76 inline CodeFilePath& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
77 inline CodeFilePath& 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 CodeFilePath& 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 Inspector2
107} // namespace Aws
CodeFilePath & WithFilePath(const char *value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFileName(Aws::String &&value)
CodeFilePath & WithFileName(Aws::String &&value)
CodeFilePath & WithEndLine(int value)
AWS_INSPECTOR2_API CodeFilePath & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeFilePath & WithStartLine(int value)
CodeFilePath & WithFilePath(Aws::String &&value)
void SetFilePath(Aws::String &&value)
void SetFilePath(const Aws::String &value)
void SetFileName(const char *value)
const Aws::String & GetFileName() const
AWS_INSPECTOR2_API CodeFilePath(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFilePath() const
CodeFilePath & WithFileName(const Aws::String &value)
CodeFilePath & WithFileName(const char *value)
CodeFilePath & WithFilePath(const Aws::String &value)
void SetFileName(const Aws::String &value)
void SetFilePath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue