AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzerSummary.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/Type.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/accessanalyzer/model/AnalyzerStatus.h>
13#include <aws/accessanalyzer/model/StatusReason.h>
14#include <aws/accessanalyzer/model/AnalyzerConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace AccessAnalyzer
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_ACCESSANALYZER_API AnalyzerSummary();
41 AWS_ACCESSANALYZER_API AnalyzerSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ACCESSANALYZER_API AnalyzerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline AnalyzerSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline AnalyzerSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline AnalyzerSummary& WithArn(const char* value) { SetArn(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline AnalyzerSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline AnalyzerSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline AnalyzerSummary& WithName(const char* value) { SetName(value); return *this;}
73
75
79 inline const Type& GetType() const{ return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
82 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
83 inline AnalyzerSummary& WithType(const Type& value) { SetType(value); return *this;}
84 inline AnalyzerSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
92 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
93 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
94 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
95 inline AnalyzerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
96 inline AnalyzerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetLastResourceAnalyzed() const{ return m_lastResourceAnalyzed; }
104 inline bool LastResourceAnalyzedHasBeenSet() const { return m_lastResourceAnalyzedHasBeenSet; }
105 inline void SetLastResourceAnalyzed(const Aws::String& value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed = value; }
106 inline void SetLastResourceAnalyzed(Aws::String&& value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed = std::move(value); }
107 inline void SetLastResourceAnalyzed(const char* value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed.assign(value); }
109 inline AnalyzerSummary& WithLastResourceAnalyzed(Aws::String&& value) { SetLastResourceAnalyzed(std::move(value)); return *this;}
110 inline AnalyzerSummary& WithLastResourceAnalyzed(const char* value) { SetLastResourceAnalyzed(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastResourceAnalyzedAt() const{ return m_lastResourceAnalyzedAt; }
118 inline bool LastResourceAnalyzedAtHasBeenSet() const { return m_lastResourceAnalyzedAtHasBeenSet; }
119 inline void SetLastResourceAnalyzedAt(const Aws::Utils::DateTime& value) { m_lastResourceAnalyzedAtHasBeenSet = true; m_lastResourceAnalyzedAt = value; }
120 inline void SetLastResourceAnalyzedAt(Aws::Utils::DateTime&& value) { m_lastResourceAnalyzedAtHasBeenSet = true; m_lastResourceAnalyzedAt = std::move(value); }
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline AnalyzerSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
134 inline AnalyzerSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
135 inline AnalyzerSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
136 inline AnalyzerSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
137 inline AnalyzerSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline AnalyzerSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
139 inline AnalyzerSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline AnalyzerSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
141 inline AnalyzerSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
143
145
154 inline const AnalyzerStatus& GetStatus() const{ return m_status; }
155 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 inline void SetStatus(const AnalyzerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
157 inline void SetStatus(AnalyzerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
158 inline AnalyzerSummary& WithStatus(const AnalyzerStatus& value) { SetStatus(value); return *this;}
159 inline AnalyzerSummary& WithStatus(AnalyzerStatus&& value) { SetStatus(std::move(value)); return *this;}
161
163
170 inline const StatusReason& GetStatusReason() const{ return m_statusReason; }
171 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
172 inline void SetStatusReason(const StatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
173 inline void SetStatusReason(StatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
174 inline AnalyzerSummary& WithStatusReason(const StatusReason& value) { SetStatusReason(value); return *this;}
175 inline AnalyzerSummary& WithStatusReason(StatusReason&& value) { SetStatusReason(std::move(value)); return *this;}
177
179
183 inline const AnalyzerConfiguration& GetConfiguration() const{ return m_configuration; }
184 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
185 inline void SetConfiguration(const AnalyzerConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
186 inline void SetConfiguration(AnalyzerConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
187 inline AnalyzerSummary& WithConfiguration(const AnalyzerConfiguration& value) { SetConfiguration(value); return *this;}
188 inline AnalyzerSummary& WithConfiguration(AnalyzerConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
190 private:
191
192 Aws::String m_arn;
193 bool m_arnHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 Type m_type;
199 bool m_typeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_createdAt;
202 bool m_createdAtHasBeenSet = false;
203
204 Aws::String m_lastResourceAnalyzed;
205 bool m_lastResourceAnalyzedHasBeenSet = false;
206
207 Aws::Utils::DateTime m_lastResourceAnalyzedAt;
208 bool m_lastResourceAnalyzedAtHasBeenSet = false;
209
211 bool m_tagsHasBeenSet = false;
212
213 AnalyzerStatus m_status;
214 bool m_statusHasBeenSet = false;
215
216 StatusReason m_statusReason;
217 bool m_statusReasonHasBeenSet = false;
218
219 AnalyzerConfiguration m_configuration;
220 bool m_configurationHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace AccessAnalyzer
225} // namespace Aws
const AnalyzerStatus & GetStatus() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AnalyzerSummary & AddTags(const char *key, const char *value)
AnalyzerSummary & AddTags(Aws::String &&key, const char *value)
AnalyzerSummary & AddTags(Aws::String &&key, const Aws::String &value)
AnalyzerSummary & WithType(Type &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalyzerSummary & WithName(const char *value)
const AnalyzerConfiguration & GetConfiguration() const
AnalyzerSummary & WithName(Aws::String &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AnalyzerSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AnalyzerSummary & WithLastResourceAnalyzedAt(Aws::Utils::DateTime &&value)
AnalyzerSummary & WithStatusReason(const StatusReason &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AnalyzerSummary & WithConfiguration(AnalyzerConfiguration &&value)
AnalyzerSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AnalyzerSummary & WithArn(const char *value)
AnalyzerSummary & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetConfiguration(AnalyzerConfiguration &&value)
AnalyzerSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetName(const Aws::String &value)
AnalyzerSummary & WithStatus(const AnalyzerStatus &value)
AnalyzerSummary & WithLastResourceAnalyzedAt(const Aws::Utils::DateTime &value)
AnalyzerSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetLastResourceAnalyzed(Aws::String &&value)
AnalyzerSummary & WithLastResourceAnalyzed(const Aws::String &value)
AnalyzerSummary & WithType(const Type &value)
AnalyzerSummary & AddTags(const char *key, Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AnalyzerSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastResourceAnalyzedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastResourceAnalyzedAt() const
AnalyzerSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatusReason(const StatusReason &value)
AnalyzerSummary & WithStatus(AnalyzerStatus &&value)
AnalyzerSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastResourceAnalyzed(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastResourceAnalyzed() const
AnalyzerSummary & WithStatusReason(StatusReason &&value)
AWS_ACCESSANALYZER_API AnalyzerSummary()
AnalyzerSummary & WithLastResourceAnalyzed(Aws::String &&value)
void SetConfiguration(const AnalyzerConfiguration &value)
const StatusReason & GetStatusReason() const
void SetStatus(const AnalyzerStatus &value)
void SetLastResourceAnalyzedAt(const Aws::Utils::DateTime &value)
AnalyzerSummary & WithArn(const Aws::String &value)
AnalyzerSummary & WithName(const Aws::String &value)
AnalyzerSummary & WithLastResourceAnalyzed(const char *value)
void SetArn(const Aws::String &value)
AnalyzerSummary & WithConfiguration(const AnalyzerConfiguration &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue