AWS SDK for C++

AWS SDK for C++ Version 1.11.775

Loading...
Searching...
No Matches
AutomatedReasoningPolicyAnnotatedLine.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
29 public:
30 AWS_BEDROCK_API AutomatedReasoningPolicyAnnotatedLine() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetLineNumber() const { return m_lineNumber; }
40 inline bool LineNumberHasBeenSet() const { return m_lineNumberHasBeenSet; }
41 inline void SetLineNumber(int value) {
42 m_lineNumberHasBeenSet = true;
43 m_lineNumber = value;
44 }
46 SetLineNumber(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLineText() const { return m_lineText; }
56 inline bool LineTextHasBeenSet() const { return m_lineTextHasBeenSet; }
57 template <typename LineTextT = Aws::String>
58 void SetLineText(LineTextT&& value) {
59 m_lineTextHasBeenSet = true;
60 m_lineText = std::forward<LineTextT>(value);
61 }
62 template <typename LineTextT = Aws::String>
64 SetLineText(std::forward<LineTextT>(value));
65 return *this;
66 }
68 private:
69 int m_lineNumber{0};
70
71 Aws::String m_lineText;
72 bool m_lineNumberHasBeenSet = false;
73 bool m_lineTextHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Bedrock
78} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningPolicyAnnotatedLine(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningPolicyAnnotatedLine & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicyAnnotatedLine & WithLineText(LineTextT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue