AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetActionGroupId(const Aws::String& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = value; }
49 inline void SetActionGroupId(Aws::String&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::move(value); }
50 inline void SetActionGroupId(const char* value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId.assign(value); }
51 inline ActionGroupSummary& WithActionGroupId(const Aws::String& value) { SetActionGroupId(value); return *this;}
52 inline ActionGroupSummary& WithActionGroupId(Aws::String&& value) { SetActionGroupId(std::move(value)); return *this;}
53 inline ActionGroupSummary& WithActionGroupId(const char* value) { SetActionGroupId(value); return *this;}
55
57
60 inline const Aws::String& GetActionGroupName() const{ return m_actionGroupName; }
61 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
62 inline void SetActionGroupName(const Aws::String& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = value; }
63 inline void SetActionGroupName(Aws::String&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::move(value); }
64 inline void SetActionGroupName(const char* value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName.assign(value); }
65 inline ActionGroupSummary& WithActionGroupName(const Aws::String& value) { SetActionGroupName(value); return *this;}
66 inline ActionGroupSummary& WithActionGroupName(Aws::String&& value) { SetActionGroupName(std::move(value)); return *this;}
67 inline ActionGroupSummary& WithActionGroupName(const char* value) { SetActionGroupName(value); return *this;}
69
71
77 inline const ActionGroupState& GetActionGroupState() const{ return m_actionGroupState; }
78 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
79 inline void SetActionGroupState(const ActionGroupState& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
80 inline void SetActionGroupState(ActionGroupState&& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = std::move(value); }
81 inline ActionGroupSummary& WithActionGroupState(const ActionGroupState& value) { SetActionGroupState(value); return *this;}
82 inline ActionGroupSummary& WithActionGroupState(ActionGroupState&& value) { SetActionGroupState(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline ActionGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline ActionGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline ActionGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
104 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
105 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
106 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
107 inline ActionGroupSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
108 inline ActionGroupSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_actionGroupId;
113 bool m_actionGroupIdHasBeenSet = false;
114
115 Aws::String m_actionGroupName;
116 bool m_actionGroupNameHasBeenSet = false;
117
118 ActionGroupState m_actionGroupState;
119 bool m_actionGroupStateHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::Utils::DateTime m_updatedAt;
125 bool m_updatedAtHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace BedrockAgent
130} // namespace Aws
void SetActionGroupState(const ActionGroupState &value)
ActionGroupSummary & WithActionGroupId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetActionGroupName(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ActionGroupSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
ActionGroupSummary & WithActionGroupState(ActionGroupState &&value)
ActionGroupSummary & WithActionGroupName(const char *value)
ActionGroupSummary & WithActionGroupName(Aws::String &&value)
ActionGroupSummary & WithActionGroupId(const char *value)
ActionGroupSummary & WithDescription(Aws::String &&value)
void SetActionGroupState(ActionGroupState &&value)
ActionGroupSummary & WithActionGroupName(const Aws::String &value)
void SetDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API ActionGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ActionGroupSummary & WithDescription(const char *value)
ActionGroupSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetActionGroupId(const Aws::String &value)
ActionGroupSummary & WithDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ActionGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionGroupSummary & WithActionGroupState(const ActionGroupState &value)
const ActionGroupState & GetActionGroupState() const
ActionGroupSummary & WithActionGroupId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue