7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/CodeGuruSecurityRequest.h>
9#include <aws/codeguru-security/model/AnalysisType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/codeguru-security/model/ResourceId.h>
12#include <aws/codeguru-security/model/ScanType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
19namespace CodeGuruSecurity
62 template<
typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
64 template<
typename ClientTokenT = Aws::String>
74 template<
typename ResourceIdT = ResourceId>
75 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
76 template<
typename ResourceIdT = ResourceId>
88 template<
typename ScanNameT = Aws::String>
89 void SetScanName(ScanNameT&& value) { m_scanNameHasBeenSet =
true; m_scanName = std::forward<ScanNameT>(value); }
90 template<
typename ScanNameT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
132 bool m_analysisTypeHasBeenSet =
false;
135 bool m_clientTokenHasBeenSet =
true;
137 ResourceId m_resourceId;
138 bool m_resourceIdHasBeenSet =
false;
141 bool m_scanNameHasBeenSet =
false;
144 bool m_scanTypeHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
bool ScanTypeHasBeenSet() const
bool TagsHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
CreateScanRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateScanRequest & WithResourceId(ResourceIdT &&value)
CreateScanRequest & WithScanName(ScanNameT &&value)
bool AnalysisTypeHasBeenSet() const
const ResourceId & GetResourceId() const
void SetScanName(ScanNameT &&value)
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetScanName() const
AnalysisType GetAnalysisType() const
bool ScanNameHasBeenSet() const
ScanType GetScanType() const
CreateScanRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreateScanRequest & WithAnalysisType(AnalysisType value)
CreateScanRequest & WithTags(TagsT &&value)
void SetScanType(ScanType value)
AWS_CODEGURUSECURITY_API CreateScanRequest()=default
bool ResourceIdHasBeenSet() const
void SetAnalysisType(AnalysisType value)
AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override
CreateScanRequest & WithScanType(ScanType 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