7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/accessanalyzer/model/Configuration.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace AccessAnalyzer {
44 template <
typename AnalyzerArnT = Aws::String>
46 m_analyzerArnHasBeenSet =
true;
47 m_analyzerArn = std::forward<AnalyzerArnT>(value);
49 template <
typename AnalyzerArnT = Aws::String>
65 template <
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
67 m_configurationsHasBeenSet =
true;
68 m_configurations = std::forward<ConfigurationsT>(value);
70 template <
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
75 template <
typename ConfigurationsKeyT = Aws::String,
typename ConfigurationsValueT = Configuration>
77 m_configurationsHasBeenSet =
true;
78 m_configurations.emplace(std::forward<ConfigurationsKeyT>(key), std::forward<ConfigurationsValueT>(value));
89 template <
typename ClientTokenT = Aws::String>
91 m_clientTokenHasBeenSet =
true;
92 m_clientToken = std::forward<ClientTokenT>(value);
94 template <
typename ClientTokenT = Aws::String>
106 bool m_analyzerArnHasBeenSet =
false;
107 bool m_configurationsHasBeenSet =
false;
108 bool m_clientTokenHasBeenSet =
true;
void SetAnalyzerArn(AnalyzerArnT &&value)
void SetClientToken(ClientTokenT &&value)
bool ConfigurationsHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateAccessPreviewRequest & WithConfigurations(ConfigurationsT &&value)
const Aws::Map< Aws::String, Configuration > & GetConfigurations() const
AWS_ACCESSANALYZER_API CreateAccessPreviewRequest()=default
CreateAccessPreviewRequest & WithClientToken(ClientTokenT &&value)
void SetConfigurations(ConfigurationsT &&value)
const Aws::String & GetClientToken() const
bool AnalyzerArnHasBeenSet() const
CreateAccessPreviewRequest & WithAnalyzerArn(AnalyzerArnT &&value)
const Aws::String & GetAnalyzerArn() const
virtual const char * GetServiceRequestName() const override
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
CreateAccessPreviewRequest & AddConfigurations(ConfigurationsKeyT &&key, ConfigurationsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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