7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/AccessPreviewStatus.h>
9#include <aws/accessanalyzer/model/AccessPreviewStatusReason.h>
10#include <aws/accessanalyzer/model/Configuration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace AccessAnalyzer {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename AnalyzerArnT = Aws::String>
65 m_analyzerArnHasBeenSet =
true;
66 m_analyzerArn = std::forward<AnalyzerArnT>(value);
68 template <
typename AnalyzerArnT = Aws::String>
81 template <
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
83 m_configurationsHasBeenSet =
true;
84 m_configurations = std::forward<ConfigurationsT>(value);
86 template <
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
91 template <
typename ConfigurationsKeyT = Aws::String,
typename ConfigurationsValueT = Configuration>
93 m_configurationsHasBeenSet =
true;
94 m_configurations.emplace(std::forward<ConfigurationsKeyT>(key), std::forward<ConfigurationsValueT>(value));
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
107 m_createdAtHasBeenSet =
true;
108 m_createdAt = std::forward<CreatedAtT>(value);
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
128 m_statusHasBeenSet =
true;
146 template <
typename StatusReasonT = AccessPreviewStatusReason>
148 m_statusReasonHasBeenSet =
true;
149 m_statusReason = std::forward<StatusReasonT>(value);
151 template <
typename StatusReasonT = AccessPreviewStatusReason>
168 AccessPreviewStatusReason m_statusReason;
169 bool m_idHasBeenSet =
false;
170 bool m_analyzerArnHasBeenSet =
false;
171 bool m_configurationsHasBeenSet =
false;
172 bool m_createdAtHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
174 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