AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
StreamUpdate.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/AutomationStreamUpdate.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTCORE_API StreamUpdate() = default;
31 AWS_BEDROCKAGENTCORE_API StreamUpdate(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API StreamUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AutomationStreamUpdate& GetAutomationStreamUpdate() const { return m_automationStreamUpdate; }
40 inline bool AutomationStreamUpdateHasBeenSet() const { return m_automationStreamUpdateHasBeenSet; }
41 template <typename AutomationStreamUpdateT = AutomationStreamUpdate>
42 void SetAutomationStreamUpdate(AutomationStreamUpdateT&& value) {
43 m_automationStreamUpdateHasBeenSet = true;
44 m_automationStreamUpdate = std::forward<AutomationStreamUpdateT>(value);
45 }
46 template <typename AutomationStreamUpdateT = AutomationStreamUpdate>
47 StreamUpdate& WithAutomationStreamUpdate(AutomationStreamUpdateT&& value) {
48 SetAutomationStreamUpdate(std::forward<AutomationStreamUpdateT>(value));
49 return *this;
50 }
52 private:
53 AutomationStreamUpdate m_automationStreamUpdate;
54 bool m_automationStreamUpdateHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgentCore
59} // namespace Aws
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAutomationStreamUpdate(AutomationStreamUpdateT &&value)
AWS_BEDROCKAGENTCORE_API StreamUpdate()=default
AWS_BEDROCKAGENTCORE_API StreamUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamUpdate & WithAutomationStreamUpdate(AutomationStreamUpdateT &&value)
AWS_BEDROCKAGENTCORE_API StreamUpdate(Aws::Utils::Json::JsonView jsonValue)
const AutomationStreamUpdate & GetAutomationStreamUpdate() const
Aws::Utils::Json::JsonValue JsonValue