7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/accessanalyzer/model/Configuration.h>
13#include <aws/core/utils/UUID.h>
17namespace AccessAnalyzer
48 template<
typename AnalyzerArnT = Aws::String>
49 void SetAnalyzerArn(AnalyzerArnT&& value) { m_analyzerArnHasBeenSet =
true; m_analyzerArn = std::forward<AnalyzerArnT>(value); }
50 template<
typename AnalyzerArnT = Aws::String>
63 template<
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
64 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations = std::forward<ConfigurationsT>(value); }
65 template<
typename ConfigurationsT = Aws::Map<Aws::String, Configuration>>
67 template<
typename ConfigurationsKeyT = Aws::String,
typename ConfigurationsValueT = Configuration>
69 m_configurationsHasBeenSet =
true; m_configurations.emplace(std::forward<ConfigurationsKeyT>(key), std::forward<ConfigurationsValueT>(value));
return *
this;
79 template<
typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
81 template<
typename ClientTokenT = Aws::String>
87 bool m_analyzerArnHasBeenSet =
false;
90 bool m_configurationsHasBeenSet =
false;
93 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