AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline FlowSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline FlowSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline FlowSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline FlowSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline FlowSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline FlowSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline FlowSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline FlowSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::String& GetId() const{ return m_id; }
87 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
89 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
90 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
91 inline FlowSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
92 inline FlowSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
93 inline FlowSummary& WithId(const char* value) { SetId(value); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline FlowSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline FlowSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline FlowSummary& WithName(const char* value) { SetName(value); return *this;}
109
111
128 inline const FlowStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const FlowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(FlowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline FlowSummary& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
133 inline FlowSummary& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
141 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
142 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
143 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
144 inline FlowSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
145 inline FlowSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetVersion() const{ return m_version; }
153 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
154 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
155 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
156 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
157 inline FlowSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
158 inline FlowSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
159 inline FlowSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
161 private:
162
163 Aws::String m_arn;
164 bool m_arnHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdAt;
167 bool m_createdAtHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
172 Aws::String m_id;
173 bool m_idHasBeenSet = false;
174
175 Aws::String m_name;
176 bool m_nameHasBeenSet = false;
177
178 FlowStatus m_status;
179 bool m_statusHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updatedAt;
182 bool m_updatedAtHasBeenSet = false;
183
184 Aws::String m_version;
185 bool m_versionHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace BedrockAgent
190} // namespace Aws
void SetArn(Aws::String &&value)
Definition FlowSummary.h:49
FlowSummary & WithId(Aws::String &&value)
Definition FlowSummary.h:92
void SetDescription(const Aws::String &value)
Definition FlowSummary.h:74
FlowSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition FlowSummary.h:65
void SetArn(const Aws::String &value)
Definition FlowSummary.h:48
const Aws::String & GetName() const
FlowSummary & WithId(const Aws::String &value)
Definition FlowSummary.h:91
FlowSummary & WithArn(const Aws::String &value)
Definition FlowSummary.h:51
const Aws::Utils::DateTime & GetUpdatedAt() const
const FlowStatus & GetStatus() const
void SetId(Aws::String &&value)
Definition FlowSummary.h:89
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API FlowSummary()
void SetDescription(Aws::String &&value)
Definition FlowSummary.h:75
void SetStatus(const FlowStatus &value)
FlowSummary & WithName(const char *value)
FlowSummary & WithVersion(const char *value)
const Aws::String & GetDescription() const
Definition FlowSummary.h:72
AWS_BEDROCKAGENT_API FlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition FlowSummary.h:62
FlowSummary & WithDescription(const Aws::String &value)
Definition FlowSummary.h:77
void SetDescription(const char *value)
Definition FlowSummary.h:76
void SetId(const char *value)
Definition FlowSummary.h:90
const Aws::String & GetArn() const
Definition FlowSummary.h:46
void SetArn(const char *value)
Definition FlowSummary.h:50
FlowSummary & WithDescription(Aws::String &&value)
Definition FlowSummary.h:78
void SetName(const char *value)
void SetId(const Aws::String &value)
Definition FlowSummary.h:88
FlowSummary & WithArn(const char *value)
Definition FlowSummary.h:53
void SetName(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition FlowSummary.h:63
FlowSummary & WithName(Aws::String &&value)
FlowSummary & WithName(const Aws::String &value)
FlowSummary & WithVersion(Aws::String &&value)
void SetStatus(FlowStatus &&value)
FlowSummary & WithStatus(const FlowStatus &value)
FlowSummary & WithVersion(const Aws::String &value)
FlowSummary & WithDescription(const char *value)
Definition FlowSummary.h:79
void SetVersion(const char *value)
FlowSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition FlowSummary.h:64
void SetVersion(Aws::String &&value)
FlowSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetVersion(const Aws::String &value)
AWS_BEDROCKAGENT_API FlowSummary(Aws::Utils::Json::JsonView jsonValue)
FlowSummary & WithArn(Aws::String &&value)
Definition FlowSummary.h:52
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetVersion() const
FlowSummary & WithStatus(FlowStatus &&value)
const Aws::String & GetId() const
Definition FlowSummary.h:86
void SetName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition FlowSummary.h:60
FlowSummary & WithId(const char *value)
Definition FlowSummary.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue