AWS SDK for C++

AWS SDK for C++ Version 1.11.829

Loading...
Searching...
No Matches
AgentSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API AgentSummary() = default;
32 AWS_QUICKSIGHT_API AgentSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API AgentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 AgentSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAgentId() const { return m_agentId; }
59 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
60 template <typename AgentIdT = Aws::String>
61 void SetAgentId(AgentIdT&& value) {
62 m_agentIdHasBeenSet = true;
63 m_agentId = std::forward<AgentIdT>(value);
64 }
65 template <typename AgentIdT = Aws::String>
66 AgentSummary& WithAgentId(AgentIdT&& value) {
67 SetAgentId(std::forward<AgentIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 AgentSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 AgentSummary& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
113 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
114 template <typename CreatedAtT = Aws::Utils::DateTime>
115 void SetCreatedAt(CreatedAtT&& value) {
116 m_createdAtHasBeenSet = true;
117 m_createdAt = std::forward<CreatedAtT>(value);
118 }
119 template <typename CreatedAtT = Aws::Utils::DateTime>
120 AgentSummary& WithCreatedAt(CreatedAtT&& value) {
121 SetCreatedAt(std::forward<CreatedAtT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
132 template <typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) {
134 m_updatedAtHasBeenSet = true;
135 m_updatedAt = std::forward<UpdatedAtT>(value);
136 }
137 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 AgentSummary& WithUpdatedAt(UpdatedAtT&& value) {
139 SetUpdatedAt(std::forward<UpdatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetIconId() const { return m_iconId; }
149 inline bool IconIdHasBeenSet() const { return m_iconIdHasBeenSet; }
150 template <typename IconIdT = Aws::String>
151 void SetIconId(IconIdT&& value) {
152 m_iconIdHasBeenSet = true;
153 m_iconId = std::forward<IconIdT>(value);
154 }
155 template <typename IconIdT = Aws::String>
156 AgentSummary& WithIconId(IconIdT&& value) {
157 SetIconId(std::forward<IconIdT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_arn;
163
164 Aws::String m_agentId;
165
166 Aws::String m_name;
167
168 Aws::String m_description;
169
170 Aws::Utils::DateTime m_createdAt{};
171
172 Aws::Utils::DateTime m_updatedAt{};
173
174 Aws::String m_iconId;
175 bool m_arnHasBeenSet = false;
176 bool m_agentIdHasBeenSet = false;
177 bool m_nameHasBeenSet = false;
178 bool m_descriptionHasBeenSet = false;
179 bool m_createdAtHasBeenSet = false;
180 bool m_updatedAtHasBeenSet = false;
181 bool m_iconIdHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace QuickSight
186} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDescription(DescriptionT &&value)
AgentSummary & WithDescription(DescriptionT &&value)
AgentSummary & WithName(NameT &&value)
AWS_QUICKSIGHT_API AgentSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AgentSummary()=default
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentSummary & WithArn(ArnT &&value)
AgentSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_QUICKSIGHT_API AgentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
void SetUpdatedAt(UpdatedAtT &&value)
AgentSummary & WithIconId(IconIdT &&value)
void SetAgentId(AgentIdT &&value)
AgentSummary & WithAgentId(AgentIdT &&value)
const Aws::String & GetIconId() const
const Aws::String & GetArn() const
AgentSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetAgentId() const
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue