AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline FlowVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline FlowVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline FlowVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
66 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
67 inline FlowVersionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
68 inline FlowVersionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetId() const{ return m_id; }
76 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
77 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
78 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
79 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
80 inline FlowVersionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
81 inline FlowVersionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
82 inline FlowVersionSummary& WithId(const char* value) { SetId(value); return *this;}
84
86
89 inline const FlowStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const FlowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(FlowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline FlowVersionSummary& WithStatus(const FlowStatus& value) { SetStatus(value); return *this;}
94 inline FlowVersionSummary& WithStatus(FlowStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetVersion() const{ return m_version; }
102 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
103 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
104 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
105 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
106 inline FlowVersionSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
107 inline FlowVersionSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
108 inline FlowVersionSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
110 private:
111
112 Aws::String m_arn;
113 bool m_arnHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdAt;
116 bool m_createdAtHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 FlowStatus m_status;
122 bool m_statusHasBeenSet = false;
123
124 Aws::String m_version;
125 bool m_versionHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace BedrockAgent
130} // namespace Aws
FlowVersionSummary & WithId(Aws::String &&value)
FlowVersionSummary & WithVersion(Aws::String &&value)
AWS_BEDROCKAGENT_API FlowVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowVersionSummary & WithArn(const char *value)
FlowVersionSummary & WithId(const char *value)
FlowVersionSummary & WithStatus(const FlowStatus &value)
FlowVersionSummary & WithStatus(FlowStatus &&value)
FlowVersionSummary & WithId(const Aws::String &value)
FlowVersionSummary & WithArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowVersionSummary & WithVersion(const char *value)
FlowVersionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
FlowVersionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
FlowVersionSummary & WithArn(Aws::String &&value)
AWS_BEDROCKAGENT_API FlowVersionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
FlowVersionSummary & WithVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue