AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FlowVersionSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
33 public:
34 AWS_BEDROCKAGENT_API FlowVersionSummary() = default;
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
79 inline FlowStatus GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(FlowStatus value) {
82 m_statusHasBeenSet = true;
83 m_status = value;
84 }
86 SetStatus(value);
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) {
99 m_createdAtHasBeenSet = true;
100 m_createdAt = std::forward<CreatedAtT>(value);
101 }
102 template <typename CreatedAtT = Aws::Utils::DateTime>
104 SetCreatedAt(std::forward<CreatedAtT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetVersion() const { return m_version; }
114 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
115 template <typename VersionT = Aws::String>
116 void SetVersion(VersionT&& value) {
117 m_versionHasBeenSet = true;
118 m_version = std::forward<VersionT>(value);
119 }
120 template <typename VersionT = Aws::String>
122 SetVersion(std::forward<VersionT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_id;
128
129 Aws::String m_arn;
130
132
133 Aws::Utils::DateTime m_createdAt{};
134
135 Aws::String m_version;
136 bool m_idHasBeenSet = false;
137 bool m_arnHasBeenSet = false;
138 bool m_statusHasBeenSet = false;
139 bool m_createdAtHasBeenSet = false;
140 bool m_versionHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace BedrockAgent
145} // namespace Aws
FlowVersionSummary & WithVersion(VersionT &&value)
FlowVersionSummary & WithArn(ArnT &&value)
AWS_BEDROCKAGENT_API FlowVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowVersionSummary()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowVersionSummary & WithCreatedAt(CreatedAtT &&value)
FlowVersionSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BEDROCKAGENT_API FlowVersionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowVersionSummary & WithStatus(FlowStatus value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue