AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlowSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/bedrock-agent/model/FlowStatus.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 BedrockAgent
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCKAGENT_API FlowSummary() = default;
37 AWS_BEDROCKAGENT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API FlowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 FlowSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 FlowSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 FlowSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetId() const { return m_id; }
83 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
84 template<typename IdT = Aws::String>
85 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
86 template<typename IdT = Aws::String>
87 FlowSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 FlowSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
120 inline FlowStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
123 inline FlowSummary& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
132 template<typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
134 template<typename UpdatedAtT = Aws::Utils::DateTime>
135 FlowSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
137
139
142 inline const Aws::String& GetVersion() const { return m_version; }
143 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
144 template<typename VersionT = Aws::String>
145 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
146 template<typename VersionT = Aws::String>
147 FlowSummary& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
149 private:
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdAt{};
155 bool m_createdAtHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
167 bool m_statusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_updatedAt{};
170 bool m_updatedAtHasBeenSet = false;
171
172 Aws::String m_version;
173 bool m_versionHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace BedrockAgent
178} // namespace Aws
void SetUpdatedAt(UpdatedAtT &&value)
FlowSummary & WithDescription(DescriptionT &&value)
Definition FlowSummary.h:75
const Aws::String & GetName() const
Definition FlowSummary.h:94
const Aws::Utils::DateTime & GetUpdatedAt() const
FlowSummary & WithVersion(VersionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowSummary & WithStatus(FlowStatus value)
FlowSummary & WithArn(ArnT &&value)
Definition FlowSummary.h:51
const Aws::String & GetDescription() const
Definition FlowSummary.h:70
FlowSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCKAGENT_API FlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition FlowSummary.h:46
void SetDescription(DescriptionT &&value)
Definition FlowSummary.h:73
void SetVersion(VersionT &&value)
FlowSummary & WithId(IdT &&value)
Definition FlowSummary.h:87
FlowSummary & WithName(NameT &&value)
Definition FlowSummary.h:99
void SetCreatedAt(CreatedAtT &&value)
Definition FlowSummary.h:61
FlowSummary & WithCreatedAt(CreatedAtT &&value)
Definition FlowSummary.h:63
AWS_BEDROCKAGENT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowSummary()=default
const Aws::String & GetVersion() const
const Aws::String & GetId() const
Definition FlowSummary.h:82
const Aws::Utils::DateTime & GetCreatedAt() const
Definition FlowSummary.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue