AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
36
37
39
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 template<typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 GetMacieSessionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
49
51
56 inline FindingPublishingFrequency GetFindingPublishingFrequency() const { return m_findingPublishingFrequency; }
57 inline void SetFindingPublishingFrequency(FindingPublishingFrequency value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = value; }
60
62
67 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
68 template<typename ServiceRoleT = Aws::String>
69 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
70 template<typename ServiceRoleT = Aws::String>
71 GetMacieSessionResult& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
73
75
81 inline MacieStatus GetStatus() const { return m_status; }
82 inline void SetStatus(MacieStatus value) { m_statusHasBeenSet = true; m_status = value; }
83 inline GetMacieSessionResult& WithStatus(MacieStatus value) { SetStatus(value); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
92 template<typename UpdatedAtT = Aws::Utils::DateTime>
93 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
94 template<typename UpdatedAtT = Aws::Utils::DateTime>
95 GetMacieSessionResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template<typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
103 template<typename RequestIdT = Aws::String>
104 GetMacieSessionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
106 private:
107
108 Aws::Utils::DateTime m_createdAt{};
109 bool m_createdAtHasBeenSet = false;
110
112 bool m_findingPublishingFrequencyHasBeenSet = false;
113
114 Aws::String m_serviceRole;
115 bool m_serviceRoleHasBeenSet = false;
116
118 bool m_statusHasBeenSet = false;
119
120 Aws::Utils::DateTime m_updatedAt{};
121 bool m_updatedAtHasBeenSet = false;
122
123 Aws::String m_requestId;
124 bool m_requestIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Macie2
129} // namespace Aws
GetMacieSessionResult & WithUpdatedAt(UpdatedAtT &&value)
GetMacieSessionResult & WithFindingPublishingFrequency(FindingPublishingFrequency value)
void SetFindingPublishingFrequency(FindingPublishingFrequency value)
AWS_MACIE2_API GetMacieSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMacieSessionResult & WithRequestId(RequestIdT &&value)
FindingPublishingFrequency GetFindingPublishingFrequency() const
GetMacieSessionResult & WithServiceRole(ServiceRoleT &&value)
GetMacieSessionResult & WithCreatedAt(CreatedAtT &&value)
GetMacieSessionResult & WithStatus(MacieStatus value)
AWS_MACIE2_API GetMacieSessionResult()=default
AWS_MACIE2_API GetMacieSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue