AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
AutomatedReasoningPolicyBuildLog.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/AutomatedReasoningPolicyBuildLogEntry.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCK_API AutomatedReasoningPolicyBuildLog() = default;
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>& GetEntries() const { return m_entries; }
49 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
50 template<typename EntriesT = Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>>
51 void SetEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries = std::forward<EntriesT>(value); }
52 template<typename EntriesT = Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>>
53 AutomatedReasoningPolicyBuildLog& WithEntries(EntriesT&& value) { SetEntries(std::forward<EntriesT>(value)); return *this;}
54 template<typename EntriesT = AutomatedReasoningPolicyBuildLogEntry>
55 AutomatedReasoningPolicyBuildLog& AddEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries.emplace_back(std::forward<EntriesT>(value)); return *this; }
57 private:
58
60 bool m_entriesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Bedrock
65} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningPolicyBuildLog(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AutomatedReasoningPolicyBuildLogEntry > & GetEntries() const
AutomatedReasoningPolicyBuildLog & AddEntries(EntriesT &&value)
AutomatedReasoningPolicyBuildLog & WithEntries(EntriesT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicyBuildLog()=default
AWS_BEDROCK_API AutomatedReasoningPolicyBuildLog & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue