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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
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>
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>
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>
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>
109 bool m_createdAtHasBeenSet =
false;
112 bool m_findingPublishingFrequencyHasBeenSet =
false;
115 bool m_serviceRoleHasBeenSet =
false;
118 bool m_statusHasBeenSet =
false;
121 bool m_updatedAtHasBeenSet =
false;
124 bool m_requestIdHasBeenSet =
false;
void SetServiceRole(ServiceRoleT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetMacieSessionResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetServiceRole() const
GetMacieSessionResult & WithFindingPublishingFrequency(FindingPublishingFrequency value)
void SetFindingPublishingFrequency(FindingPublishingFrequency value)
AWS_MACIE2_API GetMacieSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMacieSessionResult & WithRequestId(RequestIdT &&value)
MacieStatus GetStatus() const
FindingPublishingFrequency GetFindingPublishingFrequency() const
const Aws::String & GetRequestId() const
GetMacieSessionResult & WithServiceRole(ServiceRoleT &&value)
GetMacieSessionResult & WithCreatedAt(CreatedAtT &&value)
GetMacieSessionResult & WithStatus(MacieStatus value)
AWS_MACIE2_API GetMacieSessionResult()=default
void SetUpdatedAt(UpdatedAtT &&value)
AWS_MACIE2_API GetMacieSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(MacieStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
FindingPublishingFrequency
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue