AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AutomatedReasoningPolicyBuildLog.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyBuildLogEntry.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
31 public:
32 AWS_BEDROCK_API AutomatedReasoningPolicyBuildLog() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>& GetEntries() const { return m_entries; }
43 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
44 template <typename EntriesT = Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>>
45 void SetEntries(EntriesT&& value) {
46 m_entriesHasBeenSet = true;
47 m_entries = std::forward<EntriesT>(value);
48 }
49 template <typename EntriesT = Aws::Vector<AutomatedReasoningPolicyBuildLogEntry>>
51 SetEntries(std::forward<EntriesT>(value));
52 return *this;
53 }
54 template <typename EntriesT = AutomatedReasoningPolicyBuildLogEntry>
56 m_entriesHasBeenSet = true;
57 m_entries.emplace_back(std::forward<EntriesT>(value));
58 return *this;
59 }
61 private:
63 bool m_entriesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Bedrock
68} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue