AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ActionGroupSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ActionGroupState.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
30 public:
31 AWS_BEDROCKAGENT_API ActionGroupSummary() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetActionGroupId() const { return m_actionGroupId; }
41 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
42 template <typename ActionGroupIdT = Aws::String>
44 m_actionGroupIdHasBeenSet = true;
45 m_actionGroupId = std::forward<ActionGroupIdT>(value);
46 }
47 template <typename ActionGroupIdT = Aws::String>
49 SetActionGroupId(std::forward<ActionGroupIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetActionGroupName() const { return m_actionGroupName; }
59 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
60 template <typename ActionGroupNameT = Aws::String>
62 m_actionGroupNameHasBeenSet = true;
63 m_actionGroupName = std::forward<ActionGroupNameT>(value);
64 }
65 template <typename ActionGroupNameT = Aws::String>
67 SetActionGroupName(std::forward<ActionGroupNameT>(value));
68 return *this;
69 }
71
73
79 inline ActionGroupState GetActionGroupState() const { return m_actionGroupState; }
80 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
82 m_actionGroupStateHasBeenSet = true;
83 m_actionGroupState = value;
84 }
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 template <typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) {
117 m_updatedAtHasBeenSet = true;
118 m_updatedAt = std::forward<UpdatedAtT>(value);
119 }
120 template <typename UpdatedAtT = Aws::Utils::DateTime>
122 SetUpdatedAt(std::forward<UpdatedAtT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_actionGroupId;
128
129 Aws::String m_actionGroupName;
130
132
133 Aws::String m_description;
134
135 Aws::Utils::DateTime m_updatedAt{};
136 bool m_actionGroupIdHasBeenSet = false;
137 bool m_actionGroupNameHasBeenSet = false;
138 bool m_actionGroupStateHasBeenSet = false;
139 bool m_descriptionHasBeenSet = false;
140 bool m_updatedAtHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace BedrockAgent
145} // namespace Aws
ActionGroupSummary & WithDescription(DescriptionT &&value)
void SetActionGroupName(ActionGroupNameT &&value)
ActionGroupSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCKAGENT_API ActionGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ActionGroupSummary()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
ActionGroupSummary & WithActionGroupState(ActionGroupState value)
void SetActionGroupState(ActionGroupState value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ActionGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionGroupSummary & WithActionGroupId(ActionGroupIdT &&value)
ActionGroupSummary & WithActionGroupName(ActionGroupNameT &&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