AWS SDK for C++

AWS SDK for C++ Version 1.11.774

Loading...
Searching...
No Matches
AutomatedReasoningPolicyStatementLocation.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 AutomatedReasoningPolicyStatementLocation() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<int>& GetLines() const { return m_lines; }
40 inline bool LinesHasBeenSet() const { return m_linesHasBeenSet; }
41 template <typename LinesT = Aws::Vector<int>>
42 void SetLines(LinesT&& value) {
43 m_linesHasBeenSet = true;
44 m_lines = std::forward<LinesT>(value);
45 }
46 template <typename LinesT = Aws::Vector<int>>
48 SetLines(std::forward<LinesT>(value));
49 return *this;
50 }
52 m_linesHasBeenSet = true;
53 m_lines.push_back(value);
54 return *this;
55 }
57 private:
58 Aws::Vector<int> m_lines;
59 bool m_linesHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace Bedrock
64} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningPolicyStatementLocation(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicyStatementLocation & WithLines(LinesT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyStatementLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue