AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlowVersionSummary.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
37 {
38 public:
39 AWS_BEDROCKAGENT_API FlowVersionSummary() = default;
40 AWS_BEDROCKAGENT_API FlowVersionSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 FlowVersionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 FlowVersionSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline const Aws::String& GetId() const { return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 FlowVersionSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline FlowStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(FlowStatus value) { m_statusHasBeenSet = true; m_status = value; }
88 inline FlowVersionSummary& WithStatus(FlowStatus value) { SetStatus(value); return *this;}
90
92
95 inline const Aws::String& GetVersion() const { return m_version; }
96 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
97 template<typename VersionT = Aws::String>
98 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
99 template<typename VersionT = Aws::String>
100 FlowVersionSummary& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
102 private:
103
104 Aws::String m_arn;
105 bool m_arnHasBeenSet = false;
106
107 Aws::Utils::DateTime m_createdAt{};
108 bool m_createdAtHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
114 bool m_statusHasBeenSet = false;
115
116 Aws::String m_version;
117 bool m_versionHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace BedrockAgent
122} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue