AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ActionGroupSummary.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/bedrock-agent/model/ActionGroupState.h>
10#include <aws/core/utils/DateTime.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 ActionGroupSummary() = default;
37 AWS_BEDROCKAGENT_API ActionGroupSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetActionGroupId() const { return m_actionGroupId; }
47 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
48 template<typename ActionGroupIdT = Aws::String>
49 void SetActionGroupId(ActionGroupIdT&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::forward<ActionGroupIdT>(value); }
50 template<typename ActionGroupIdT = Aws::String>
51 ActionGroupSummary& WithActionGroupId(ActionGroupIdT&& value) { SetActionGroupId(std::forward<ActionGroupIdT>(value)); return *this;}
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>
61 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
62 template<typename ActionGroupNameT = Aws::String>
63 ActionGroupSummary& WithActionGroupName(ActionGroupNameT&& value) { SetActionGroupName(std::forward<ActionGroupNameT>(value)); return *this;}
65
67
73 inline ActionGroupState GetActionGroupState() const { return m_actionGroupState; }
74 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
75 inline void SetActionGroupState(ActionGroupState value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 ActionGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
96 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
97 template<typename UpdatedAtT = Aws::Utils::DateTime>
98 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
99 template<typename UpdatedAtT = Aws::Utils::DateTime>
100 ActionGroupSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
102 private:
103
104 Aws::String m_actionGroupId;
105 bool m_actionGroupIdHasBeenSet = false;
106
107 Aws::String m_actionGroupName;
108 bool m_actionGroupNameHasBeenSet = false;
109
111 bool m_actionGroupStateHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::Utils::DateTime m_updatedAt{};
117 bool m_updatedAtHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace BedrockAgent
122} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue