AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMacieSessionResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/macie2/model/FindingPublishingFrequency.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/MacieStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MACIE2_API GetMacieSessionResult();
36
37
39
43 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
44 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
45 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
46 inline GetMacieSessionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
47 inline GetMacieSessionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
49
51
56 inline const FindingPublishingFrequency& GetFindingPublishingFrequency() const{ return m_findingPublishingFrequency; }
57 inline void SetFindingPublishingFrequency(const FindingPublishingFrequency& value) { m_findingPublishingFrequency = value; }
58 inline void SetFindingPublishingFrequency(FindingPublishingFrequency&& value) { m_findingPublishingFrequency = std::move(value); }
62
64
69 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
70 inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; }
71 inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); }
72 inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); }
73 inline GetMacieSessionResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
74 inline GetMacieSessionResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
75 inline GetMacieSessionResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
77
79
85 inline const MacieStatus& GetStatus() const{ return m_status; }
86 inline void SetStatus(const MacieStatus& value) { m_status = value; }
87 inline void SetStatus(MacieStatus&& value) { m_status = std::move(value); }
88 inline GetMacieSessionResult& WithStatus(const MacieStatus& value) { SetStatus(value); return *this;}
89 inline GetMacieSessionResult& WithStatus(MacieStatus&& value) { SetStatus(std::move(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
98 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
99 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
100 inline GetMacieSessionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
101 inline GetMacieSessionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
108 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
109 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
110 inline GetMacieSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 inline GetMacieSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 inline GetMacieSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 private:
115
116 Aws::Utils::DateTime m_createdAt;
117
118 FindingPublishingFrequency m_findingPublishingFrequency;
119
120 Aws::String m_serviceRole;
121
122 MacieStatus m_status;
123
124 Aws::Utils::DateTime m_updatedAt;
125
126 Aws::String m_requestId;
127 };
128
129} // namespace Model
130} // namespace Macie2
131} // namespace Aws
GetMacieSessionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetServiceRole(const Aws::String &value)
GetMacieSessionResult & WithServiceRole(const Aws::String &value)
GetMacieSessionResult & WithServiceRole(const char *value)
GetMacieSessionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetMacieSessionResult & WithServiceRole(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const FindingPublishingFrequency & GetFindingPublishingFrequency() const
void SetFindingPublishingFrequency(const FindingPublishingFrequency &value)
void SetFindingPublishingFrequency(FindingPublishingFrequency &&value)
GetMacieSessionResult & WithFindingPublishingFrequency(const FindingPublishingFrequency &value)
GetMacieSessionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_MACIE2_API GetMacieSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetMacieSessionResult & WithRequestId(const char *value)
GetMacieSessionResult & WithRequestId(Aws::String &&value)
GetMacieSessionResult & WithStatus(const MacieStatus &value)
GetMacieSessionResult & WithRequestId(const Aws::String &value)
GetMacieSessionResult & WithFindingPublishingFrequency(FindingPublishingFrequency &&value)
AWS_MACIE2_API GetMacieSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetMacieSessionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetMacieSessionResult & WithStatus(MacieStatus &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue