AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowExecutionSummary.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary() = default;
40 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
50 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
53 template<typename CreatedAtT = Aws::Utils::DateTime>
54 FlowExecutionSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
63 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
64 template<typename EndedAtT = Aws::Utils::DateTime>
65 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
66 template<typename EndedAtT = Aws::Utils::DateTime>
67 FlowExecutionSummary& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
69
71
75 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
76 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
77 template<typename ExecutionArnT = Aws::String>
78 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
79 template<typename ExecutionArnT = Aws::String>
80 FlowExecutionSummary& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
82
84
87 inline const Aws::String& GetFlowAliasIdentifier() const { return m_flowAliasIdentifier; }
88 inline bool FlowAliasIdentifierHasBeenSet() const { return m_flowAliasIdentifierHasBeenSet; }
89 template<typename FlowAliasIdentifierT = Aws::String>
90 void SetFlowAliasIdentifier(FlowAliasIdentifierT&& value) { m_flowAliasIdentifierHasBeenSet = true; m_flowAliasIdentifier = std::forward<FlowAliasIdentifierT>(value); }
91 template<typename FlowAliasIdentifierT = Aws::String>
92 FlowExecutionSummary& WithFlowAliasIdentifier(FlowAliasIdentifierT&& value) { SetFlowAliasIdentifier(std::forward<FlowAliasIdentifierT>(value)); return *this;}
94
96
99 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
100 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
101 template<typename FlowIdentifierT = Aws::String>
102 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
103 template<typename FlowIdentifierT = Aws::String>
104 FlowExecutionSummary& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFlowVersion() const { return m_flowVersion; }
112 inline bool FlowVersionHasBeenSet() const { return m_flowVersionHasBeenSet; }
113 template<typename FlowVersionT = Aws::String>
114 void SetFlowVersion(FlowVersionT&& value) { m_flowVersionHasBeenSet = true; m_flowVersion = std::forward<FlowVersionT>(value); }
115 template<typename FlowVersionT = Aws::String>
116 FlowExecutionSummary& WithFlowVersion(FlowVersionT&& value) { SetFlowVersion(std::forward<FlowVersionT>(value)); return *this;}
118
120
124 inline FlowExecutionStatus GetStatus() const { return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(FlowExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
127 inline FlowExecutionSummary& WithStatus(FlowExecutionStatus value) { SetStatus(value); return *this;}
129 private:
130
131 Aws::Utils::DateTime m_createdAt{};
132 bool m_createdAtHasBeenSet = false;
133
134 Aws::Utils::DateTime m_endedAt{};
135 bool m_endedAtHasBeenSet = false;
136
137 Aws::String m_executionArn;
138 bool m_executionArnHasBeenSet = false;
139
140 Aws::String m_flowAliasIdentifier;
141 bool m_flowAliasIdentifierHasBeenSet = false;
142
143 Aws::String m_flowIdentifier;
144 bool m_flowIdentifierHasBeenSet = false;
145
146 Aws::String m_flowVersion;
147 bool m_flowVersionHasBeenSet = false;
148
150 bool m_statusHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace BedrockAgentRuntime
155} // namespace Aws
FlowExecutionSummary & WithFlowAliasIdentifier(FlowAliasIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithEndedAt(EndedAtT &&value)
FlowExecutionSummary & WithCreatedAt(CreatedAtT &&value)
FlowExecutionSummary & WithExecutionArn(ExecutionArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowExecutionSummary & WithStatus(FlowExecutionStatus value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary()=default
FlowExecutionSummary & WithFlowVersion(FlowVersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithFlowIdentifier(FlowIdentifierT &&value)
void SetFlowAliasIdentifier(FlowAliasIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue