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
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename AnalyzerArnT = Aws::String>
64 void SetAnalyzerArn(AnalyzerArnT&& value) { m_analyzerArnHasBeenSet =
true; m_analyzerArn = std::forward<AnalyzerArnT>(value); }
65 template<
typename AnalyzerArnT = Aws::String>
75 template<
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
76 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations = std::forward<ConfigurationsT>(value); }
77 template<
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
79 template<
typename ConfigurationsKeyT = Aws::String,
typename ConfigurationsValueT = Configuration>
81 m_configurationsHasBeenSet =
true; m_configurations.emplace(std::forward<ConfigurationsKeyT>(key), std::forward<ConfigurationsValueT>(value));
return *
this;
91 template<
typename CreatedAtT = Aws::Utils::DateTime>
92 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
93 template<
typename CreatedAtT = Aws::Utils::DateTime>
120 template<
typename StatusReasonT = AccessPreviewStatusReason>
121 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
122 template<
typename StatusReasonT = AccessPreviewStatusReason>
128 bool m_idHasBeenSet =
false;
131 bool m_analyzerArnHasBeenSet =
false;
134 bool m_configurationsHasBeenSet =
false;
137 bool m_createdAtHasBeenSet =
false;
140 bool m_statusHasBeenSet =
false;
142 AccessPreviewStatusReason m_statusReason;
143 bool m_statusReasonHasBeenSet =
false;
void SetConfigurations(ConfigurationsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool StatusHasBeenSet() const
bool AnalyzerArnHasBeenSet() const
AccessPreviewStatus GetStatus() const
AWS_ACCESSANALYZER_API AccessPreview()=default
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AccessPreview & WithConfigurations(ConfigurationsT &&value)
const AccessPreviewStatusReason & GetStatusReason() const
AccessPreview & WithStatus(AccessPreviewStatus value)
const Aws::Map< Aws::String, Configuration > & GetConfigurations() const
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetAnalyzerArn() const
AWS_ACCESSANALYZER_API AccessPreview(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
bool IdHasBeenSet() const
AWS_ACCESSANALYZER_API AccessPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
AccessPreview & WithStatusReason(StatusReasonT &&value)
void SetAnalyzerArn(AnalyzerArnT &&value)
bool ConfigurationsHasBeenSet() const
AccessPreview & WithCreatedAt(CreatedAtT &&value)
void SetStatus(AccessPreviewStatus value)
AccessPreview & AddConfigurations(ConfigurationsKeyT &&key, ConfigurationsValueT &&value)
AccessPreview & WithAnalyzerArn(AnalyzerArnT &&value)
AccessPreview & WithId(IdT &&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