AWS SDK for C++  1.9.157
AWS SDK for C++
GetMacieSessionResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Macie2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
43 
48  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
49 
54  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
55 
60  inline GetMacieSessionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
61 
66  inline GetMacieSessionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67 
68 
74  inline const FindingPublishingFrequency& GetFindingPublishingFrequency() const{ return m_findingPublishingFrequency; }
75 
81  inline void SetFindingPublishingFrequency(const FindingPublishingFrequency& value) { m_findingPublishingFrequency = value; }
82 
88  inline void SetFindingPublishingFrequency(FindingPublishingFrequency&& value) { m_findingPublishingFrequency = std::move(value); }
89 
95  inline GetMacieSessionResult& WithFindingPublishingFrequency(const FindingPublishingFrequency& value) { SetFindingPublishingFrequency(value); return *this;}
96 
102  inline GetMacieSessionResult& WithFindingPublishingFrequency(FindingPublishingFrequency&& value) { SetFindingPublishingFrequency(std::move(value)); return *this;}
103 
104 
110  inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
111 
117  inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; }
118 
124  inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); }
125 
131  inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); }
132 
138  inline GetMacieSessionResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
139 
145  inline GetMacieSessionResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
146 
152  inline GetMacieSessionResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
153 
154 
161  inline const MacieStatus& GetStatus() const{ return m_status; }
162 
169  inline void SetStatus(const MacieStatus& value) { m_status = value; }
170 
177  inline void SetStatus(MacieStatus&& value) { m_status = std::move(value); }
178 
185  inline GetMacieSessionResult& WithStatus(const MacieStatus& value) { SetStatus(value); return *this;}
186 
193  inline GetMacieSessionResult& WithStatus(MacieStatus&& value) { SetStatus(std::move(value)); return *this;}
194 
195 
200  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
201 
206  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
207 
212  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
213 
218  inline GetMacieSessionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
219 
224  inline GetMacieSessionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
225 
226  private:
227 
228  Aws::Utils::DateTime m_createdAt;
229 
230  FindingPublishingFrequency m_findingPublishingFrequency;
231 
232  Aws::String m_serviceRole;
233 
234  MacieStatus m_status;
235 
236  Aws::Utils::DateTime m_updatedAt;
237  };
238 
239 } // namespace Model
240 } // namespace Macie2
241 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetMacieSessionResult::WithUpdatedAt
GetMacieSessionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GetMacieSessionResult.h:218
Aws::Macie2::Model::GetMacieSessionResult::WithServiceRole
GetMacieSessionResult & WithServiceRole(Aws::String &&value)
Definition: GetMacieSessionResult.h:145
Aws::Macie2::Model::GetMacieSessionResult::SetServiceRole
void SetServiceRole(const Aws::String &value)
Definition: GetMacieSessionResult.h:117
Aws::Macie2::Model::GetMacieSessionResult::SetFindingPublishingFrequency
void SetFindingPublishingFrequency(FindingPublishingFrequency &&value)
Definition: GetMacieSessionResult.h:88
MacieStatus.h
Aws::Macie2::Model::GetMacieSessionResult::WithStatus
GetMacieSessionResult & WithStatus(const MacieStatus &value)
Definition: GetMacieSessionResult.h:185
Aws::Macie2::Model::GetMacieSessionResult::operator=
GetMacieSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DateTime.h
FindingPublishingFrequency.h
Macie2_EXPORTS.h
Aws::Macie2::Model::GetMacieSessionResult::WithFindingPublishingFrequency
GetMacieSessionResult & WithFindingPublishingFrequency(FindingPublishingFrequency &&value)
Definition: GetMacieSessionResult.h:102
Aws::Macie2::Model::MacieStatus
MacieStatus
Definition: MacieStatus.h:17
Aws::Macie2::Model::GetMacieSessionResult::SetStatus
void SetStatus(const MacieStatus &value)
Definition: GetMacieSessionResult.h:169
Aws::Macie2::Model::GetMacieSessionResult::SetServiceRole
void SetServiceRole(Aws::String &&value)
Definition: GetMacieSessionResult.h:124
Aws::Macie2::Model::GetMacieSessionResult::WithServiceRole
GetMacieSessionResult & WithServiceRole(const Aws::String &value)
Definition: GetMacieSessionResult.h:138
Aws::Macie2::Model::GetMacieSessionResult::GetStatus
const MacieStatus & GetStatus() const
Definition: GetMacieSessionResult.h:161
Aws::Macie2::Model::GetMacieSessionResult
Definition: GetMacieSessionResult.h:31
Aws::Macie2::Model::GetMacieSessionResult::GetServiceRole
const Aws::String & GetServiceRole() const
Definition: GetMacieSessionResult.h:110
Aws::Macie2::Model::GetMacieSessionResult::WithCreatedAt
GetMacieSessionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: GetMacieSessionResult.h:66
Aws::Macie2::Model::GetMacieSessionResult::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: GetMacieSessionResult.h:200
Aws::Macie2::Model::GetMacieSessionResult::WithCreatedAt
GetMacieSessionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: GetMacieSessionResult.h:60
Aws::Macie2::Model::GetMacieSessionResult::SetFindingPublishingFrequency
void SetFindingPublishingFrequency(const FindingPublishingFrequency &value)
Definition: GetMacieSessionResult.h:81
Aws::Macie2::Model::GetMacieSessionResult::GetMacieSessionResult
GetMacieSessionResult()
AWSString.h
Aws::Macie2::Model::GetMacieSessionResult::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GetMacieSessionResult.h:206
Aws::Macie2::Model::GetMacieSessionResult::WithServiceRole
GetMacieSessionResult & WithServiceRole(const char *value)
Definition: GetMacieSessionResult.h:152
Aws::Macie2::Model::FindingPublishingFrequency
FindingPublishingFrequency
Definition: FindingPublishingFrequency.h:17
Aws::Macie2::Model::GetMacieSessionResult::GetFindingPublishingFrequency
const FindingPublishingFrequency & GetFindingPublishingFrequency() const
Definition: GetMacieSessionResult.h:74
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetMacieSessionResult::GetMacieSessionResult
GetMacieSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetMacieSessionResult::WithStatus
GetMacieSessionResult & WithStatus(MacieStatus &&value)
Definition: GetMacieSessionResult.h:193
Aws::Macie2::Model::GetMacieSessionResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: GetMacieSessionResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::GetMacieSessionResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: GetMacieSessionResult.h:48
Aws::Macie2::Model::GetMacieSessionResult::SetServiceRole
void SetServiceRole(const char *value)
Definition: GetMacieSessionResult.h:131
Aws::Macie2::Model::GetMacieSessionResult::WithFindingPublishingFrequency
GetMacieSessionResult & WithFindingPublishingFrequency(const FindingPublishingFrequency &value)
Definition: GetMacieSessionResult.h:95
Aws::Macie2::Model::GetMacieSessionResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: GetMacieSessionResult.h:42
Aws::Macie2::Model::GetMacieSessionResult::WithUpdatedAt
GetMacieSessionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GetMacieSessionResult.h:224
Aws::Macie2::Model::GetMacieSessionResult::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GetMacieSessionResult.h:212
Aws::Macie2::Model::GetMacieSessionResult::SetStatus
void SetStatus(MacieStatus &&value)
Definition: GetMacieSessionResult.h:177