7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/accessanalyzer/model/AccessPreviewStatus.h>
12#include <aws/accessanalyzer/model/AccessPreviewStatusReason.h>
13#include <aws/accessanalyzer/model/Configuration.h>
26namespace AccessAnalyzer
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetAnalyzerArn(
const char* value) { m_analyzerArnHasBeenSet =
true; m_analyzerArn.assign(value); }
136 bool m_idHasBeenSet =
false;
139 bool m_analyzerArnHasBeenSet =
false;
142 bool m_configurationsHasBeenSet =
false;
145 bool m_createdAtHasBeenSet =
false;
148 bool m_statusHasBeenSet =
false;
151 bool m_statusReasonHasBeenSet =
false;
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_ACCESSANALYZER_API AccessPreview()
void SetId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool StatusHasBeenSet() const
AccessPreview & WithStatusReason(const AccessPreviewStatusReason &value)
AccessPreview & WithId(const Aws::String &value)
bool AnalyzerArnHasBeenSet() const
AccessPreview & WithId(const char *value)
void SetStatus(const AccessPreviewStatus &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AccessPreview & AddConfigurations(const Aws::String &key, Configuration &&value)
const AccessPreviewStatusReason & GetStatusReason() const
void SetConfigurations(Aws::Map< Aws::String, Configuration > &&value)
AccessPreview & WithStatus(AccessPreviewStatus &&value)
const Aws::Map< Aws::String, Configuration > & GetConfigurations() const
AccessPreview & WithConfigurations(const Aws::Map< Aws::String, Configuration > &value)
AccessPreview & WithAnalyzerArn(const char *value)
bool CreatedAtHasBeenSet() const
void SetStatus(AccessPreviewStatus &&value)
AccessPreview & WithConfigurations(Aws::Map< Aws::String, Configuration > &&value)
const Aws::String & GetAnalyzerArn() const
void SetAnalyzerArn(const char *value)
AWS_ACCESSANALYZER_API AccessPreview(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
void SetStatusReason(AccessPreviewStatusReason &&value)
const AccessPreviewStatus & GetStatus() const
AccessPreview & AddConfigurations(Aws::String &&key, Configuration &&value)
bool IdHasBeenSet() const
AccessPreview & WithStatusReason(AccessPreviewStatusReason &&value)
AWS_ACCESSANALYZER_API AccessPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
void SetAnalyzerArn(const Aws::String &value)
AccessPreview & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
bool ConfigurationsHasBeenSet() const
AccessPreview & AddConfigurations(const char *key, Configuration &&value)
AccessPreview & AddConfigurations(const char *key, const Configuration &value)
void SetStatusReason(const AccessPreviewStatusReason &value)
AccessPreview & WithAnalyzerArn(Aws::String &&value)
AccessPreview & WithAnalyzerArn(const Aws::String &value)
void SetAnalyzerArn(Aws::String &&value)
AccessPreview & WithCreatedAt(const Aws::Utils::DateTime &value)
AccessPreview & WithStatus(const AccessPreviewStatus &value)
AccessPreview & AddConfigurations(Aws::String &&key, const Configuration &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AccessPreview & AddConfigurations(const Aws::String &key, const Configuration &value)
AccessPreview & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetConfigurations(const Aws::Map< Aws::String, Configuration > &value)
void SetId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue