AWS SDK for C++  1.9.157
AWS SDK for C++
AccessPreviewSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AccessAnalyzer
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
48 
52  inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
53 
57  inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
58 
62  inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
63 
67  inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
68 
72  inline AccessPreviewSummary& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
73 
77  inline AccessPreviewSummary& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
78 
82  inline AccessPreviewSummary& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
83 
84 
88  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
89 
93  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
94 
98  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
99 
103  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
104 
108  inline AccessPreviewSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
109 
113  inline AccessPreviewSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetId() const{ return m_id; }
120 
124  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
125 
129  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
130 
134  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
135 
139  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
140 
144  inline AccessPreviewSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
145 
149  inline AccessPreviewSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
150 
154  inline AccessPreviewSummary& WithId(const char* value) { SetId(value); return *this;}
155 
156 
164  inline const AccessPreviewStatus& GetStatus() const{ return m_status; }
165 
173  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
174 
182  inline void SetStatus(const AccessPreviewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
183 
191  inline void SetStatus(AccessPreviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
192 
200  inline AccessPreviewSummary& WithStatus(const AccessPreviewStatus& value) { SetStatus(value); return *this;}
201 
209  inline AccessPreviewSummary& WithStatus(AccessPreviewStatus&& value) { SetStatus(std::move(value)); return *this;}
210 
211 
212 
213  inline const AccessPreviewStatusReason& GetStatusReason() const{ return m_statusReason; }
214 
215 
216  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
217 
218 
219  inline void SetStatusReason(const AccessPreviewStatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
220 
221 
222  inline void SetStatusReason(AccessPreviewStatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
223 
224 
225  inline AccessPreviewSummary& WithStatusReason(const AccessPreviewStatusReason& value) { SetStatusReason(value); return *this;}
226 
227 
228  inline AccessPreviewSummary& WithStatusReason(AccessPreviewStatusReason&& value) { SetStatusReason(std::move(value)); return *this;}
229 
230  private:
231 
232  Aws::String m_analyzerArn;
233  bool m_analyzerArnHasBeenSet;
234 
235  Aws::Utils::DateTime m_createdAt;
236  bool m_createdAtHasBeenSet;
237 
238  Aws::String m_id;
239  bool m_idHasBeenSet;
240 
241  AccessPreviewStatus m_status;
242  bool m_statusHasBeenSet;
243 
244  AccessPreviewStatusReason m_statusReason;
245  bool m_statusReasonHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace AccessAnalyzer
250 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AccessAnalyzer::Model::AccessPreviewSummary::GetStatus
const AccessPreviewStatus & GetStatus() const
Definition: AccessPreviewSummary.h:164
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithCreatedAt
AccessPreviewSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: AccessPreviewSummary.h:108
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithCreatedAt
AccessPreviewSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: AccessPreviewSummary.h:113
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: AccessPreviewSummary.h:103
Aws::AccessAnalyzer::Model::AccessPreviewSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithAnalyzerArn
AccessPreviewSummary & WithAnalyzerArn(const Aws::String &value)
Definition: AccessPreviewSummary.h:72
Aws::AccessAnalyzer::Model::AccessPreviewSummary::AccessPreviewSummary
AccessPreviewSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetStatusReason
void SetStatusReason(const AccessPreviewStatusReason &value)
Definition: AccessPreviewSummary.h:219
DateTime.h
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetStatusReason
void SetStatusReason(AccessPreviewStatusReason &&value)
Definition: AccessPreviewSummary.h:222
AccessPreviewStatus.h
Aws::AccessAnalyzer::Model::AccessPreviewSummary::GetStatusReason
const AccessPreviewStatusReason & GetStatusReason() const
Definition: AccessPreviewSummary.h:213
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithAnalyzerArn
AccessPreviewSummary & WithAnalyzerArn(Aws::String &&value)
Definition: AccessPreviewSummary.h:77
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetStatus
void SetStatus(const AccessPreviewStatus &value)
Definition: AccessPreviewSummary.h:182
Aws::AccessAnalyzer::Model::AccessPreviewSummary::GetAnalyzerArn
const Aws::String & GetAnalyzerArn() const
Definition: AccessPreviewSummary.h:47
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithAnalyzerArn
AccessPreviewSummary & WithAnalyzerArn(const char *value)
Definition: AccessPreviewSummary.h:82
Aws::AccessAnalyzer::Model::AccessPreviewSummary
Definition: AccessPreviewSummary.h:36
Aws::AccessAnalyzer::Model::AccessPreviewSummary::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: AccessPreviewSummary.h:216
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetId
void SetId(Aws::String &&value)
Definition: AccessPreviewSummary.h:134
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetAnalyzerArn
void SetAnalyzerArn(const char *value)
Definition: AccessPreviewSummary.h:67
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetId
void SetId(const Aws::String &value)
Definition: AccessPreviewSummary.h:129
Aws::AccessAnalyzer::Model::AccessPreviewSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: AccessPreviewSummary.h:88
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetAnalyzerArn
void SetAnalyzerArn(const Aws::String &value)
Definition: AccessPreviewSummary.h:57
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithStatus
AccessPreviewSummary & WithStatus(AccessPreviewStatus &&value)
Definition: AccessPreviewSummary.h:209
Aws::AccessAnalyzer::Model::AccessPreviewStatusReason
Definition: AccessPreviewStatusReason.h:36
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithStatus
AccessPreviewSummary & WithStatus(const AccessPreviewStatus &value)
Definition: AccessPreviewSummary.h:200
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetId
void SetId(const char *value)
Definition: AccessPreviewSummary.h:139
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithStatusReason
AccessPreviewSummary & WithStatusReason(const AccessPreviewStatusReason &value)
Definition: AccessPreviewSummary.h:225
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetAnalyzerArn
void SetAnalyzerArn(Aws::String &&value)
Definition: AccessPreviewSummary.h:62
Aws::AccessAnalyzer::Model::AccessPreviewSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AccessPreviewSummary.h:173
Aws::AccessAnalyzer::Model::AccessPreviewStatus
AccessPreviewStatus
Definition: AccessPreviewStatus.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetStatus
void SetStatus(AccessPreviewStatus &&value)
Definition: AccessPreviewSummary.h:191
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::AccessPreviewSummary::GetId
const Aws::String & GetId() const
Definition: AccessPreviewSummary.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithId
AccessPreviewSummary & WithId(Aws::String &&value)
Definition: AccessPreviewSummary.h:149
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithId
AccessPreviewSummary & WithId(const char *value)
Definition: AccessPreviewSummary.h:154
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithStatusReason
AccessPreviewSummary & WithStatusReason(AccessPreviewStatusReason &&value)
Definition: AccessPreviewSummary.h:228
AccessPreviewStatusReason.h
Aws::AccessAnalyzer::Model::AccessPreviewSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: AccessPreviewSummary.h:93
Aws::AccessAnalyzer::Model::AccessPreviewSummary::AccessPreviewSummary
AccessPreviewSummary()
Aws::AccessAnalyzer::Model::AccessPreviewSummary::operator=
AccessPreviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AccessPreviewSummary::AnalyzerArnHasBeenSet
bool AnalyzerArnHasBeenSet() const
Definition: AccessPreviewSummary.h:52
Aws::AccessAnalyzer::Model::AccessPreviewSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AccessPreviewSummary.h:124
Aws::AccessAnalyzer::Model::AccessPreviewSummary::WithId
AccessPreviewSummary & WithId(const Aws::String &value)
Definition: AccessPreviewSummary.h:144
Aws::AccessAnalyzer::Model::AccessPreviewSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: AccessPreviewSummary.h:98