7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ProgrammingLanguage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApplicationSignals {
45 m_languageHasBeenSet =
true;
61 template <
typename CodeUnitT = Aws::String>
63 m_codeUnitHasBeenSet =
true;
64 m_codeUnit = std::forward<CodeUnitT>(value);
66 template <
typename CodeUnitT = Aws::String>
80 template <
typename ClassNameT = Aws::String>
82 m_classNameHasBeenSet =
true;
83 m_className = std::forward<ClassNameT>(value);
85 template <
typename ClassNameT = Aws::String>
99 template <
typename MethodNameT = Aws::String>
101 m_methodNameHasBeenSet =
true;
102 m_methodName = std::forward<MethodNameT>(value);
104 template <
typename MethodNameT = Aws::String>
119 template <
typename FilePathT = Aws::String>
121 m_filePathHasBeenSet =
true;
122 m_filePath = std::forward<FilePathT>(value);
124 template <
typename FilePathT = Aws::String>
139 m_lineNumberHasBeenSet =
true;
140 m_lineNumber = value;
159 bool m_languageHasBeenSet =
false;
160 bool m_codeUnitHasBeenSet =
false;
161 bool m_classNameHasBeenSet =
false;
162 bool m_methodNameHasBeenSet =
false;
163 bool m_filePathHasBeenSet =
false;
164 bool m_lineNumberHasBeenSet =
false;
bool LineNumberHasBeenSet() const
bool MethodNameHasBeenSet() const
CodeLocation & WithLineNumber(int value)
const Aws::String & GetCodeUnit() const
void SetFilePath(FilePathT &&value)
CodeLocation & WithFilePath(FilePathT &&value)
AWS_APPLICATIONSIGNALS_API CodeLocation()=default
CodeLocation & WithClassName(ClassNameT &&value)
void SetMethodName(MethodNameT &&value)
const Aws::String & GetMethodName() const
bool CodeUnitHasBeenSet() const
AWS_APPLICATIONSIGNALS_API CodeLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetLineNumber() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLanguage(ProgrammingLanguage value)
void SetCodeUnit(CodeUnitT &&value)
CodeLocation & WithMethodName(MethodNameT &&value)
void SetClassName(ClassNameT &&value)
CodeLocation & WithCodeUnit(CodeUnitT &&value)
ProgrammingLanguage GetLanguage() const
const Aws::String & GetFilePath() const
void SetLineNumber(int value)
bool ClassNameHasBeenSet() const
CodeLocation & WithLanguage(ProgrammingLanguage value)
AWS_APPLICATIONSIGNALS_API CodeLocation(Aws::Utils::Json::JsonView jsonValue)
bool FilePathHasBeenSet() const
bool LanguageHasBeenSet() const
const Aws::String & GetClassName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue