7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/accessanalyzer/model/AccessPreviewStatus.h>
11#include <aws/accessanalyzer/model/AccessPreviewStatusReason.h>
24namespace AccessAnalyzer
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetAnalyzerArn(
const char* value) { m_analyzerArnHasBeenSet =
true; m_analyzerArn.assign(value); }
112 bool m_idHasBeenSet =
false;
115 bool m_analyzerArnHasBeenSet =
false;
118 bool m_createdAtHasBeenSet =
false;
121 bool m_statusHasBeenSet =
false;
124 bool m_statusReasonHasBeenSet =
false;
AccessPreviewSummary & WithId(const char *value)
AccessPreviewSummary & WithStatusReason(const AccessPreviewStatusReason &value)
AccessPreviewSummary & WithStatus(const AccessPreviewStatus &value)
AccessPreviewSummary & WithId(const Aws::String &value)
const AccessPreviewStatusReason & GetStatusReason() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAnalyzerArn(Aws::String &&value)
const AccessPreviewStatus & GetStatus() const
const Aws::String & GetAnalyzerArn() const
AccessPreviewSummary & WithStatus(AccessPreviewStatus &&value)
AWS_ACCESSANALYZER_API AccessPreviewSummary()
void SetStatusReason(AccessPreviewStatusReason &&value)
void SetId(const Aws::String &value)
bool StatusReasonHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API AccessPreviewSummary(Aws::Utils::Json::JsonView jsonValue)
AccessPreviewSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
bool StatusHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetId(const char *value)
bool CreatedAtHasBeenSet() const
AccessPreviewSummary & WithAnalyzerArn(const Aws::String &value)
void SetId(Aws::String &&value)
AccessPreviewSummary & WithId(Aws::String &&value)
AccessPreviewSummary & WithAnalyzerArn(Aws::String &&value)
AccessPreviewSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusReason(const AccessPreviewStatusReason &value)
void SetStatus(AccessPreviewStatus &&value)
void SetAnalyzerArn(const char *value)
bool IdHasBeenSet() const
AWS_ACCESSANALYZER_API AccessPreviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AnalyzerArnHasBeenSet() const
void SetStatus(const AccessPreviewStatus &value)
void SetAnalyzerArn(const Aws::String &value)
const Aws::String & GetId() const
AccessPreviewSummary & WithStatusReason(AccessPreviewStatusReason &&value)
AccessPreviewSummary & WithAnalyzerArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue