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
66 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
94 inline void SetScanName(
const char* value) { m_scanNameHasBeenSet =
true; m_scanName.assign(value); }
138 inline CreateScanRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
143 bool m_analysisTypeHasBeenSet =
false;
146 bool m_clientTokenHasBeenSet =
false;
149 bool m_resourceIdHasBeenSet =
false;
152 bool m_scanNameHasBeenSet =
false;
155 bool m_scanTypeHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
bool ScanTypeHasBeenSet() const
bool TagsHasBeenSet() const
void SetScanName(Aws::String &&value)
void SetResourceId(const ResourceId &value)
CreateScanRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateScanRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(const char *value)
CreateScanRequest & WithAnalysisType(AnalysisType &&value)
CreateScanRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateScanRequest & WithResourceId(const ResourceId &value)
const ScanType & GetScanType() const
void SetResourceId(ResourceId &&value)
CreateScanRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateScanRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetScanType(ScanType &&value)
void SetAnalysisType(AnalysisType &&value)
CreateScanRequest & WithScanName(Aws::String &&value)
void SetScanName(const Aws::String &value)
CreateScanRequest & AddTags(const char *key, const char *value)
void SetScanType(const ScanType &value)
bool AnalysisTypeHasBeenSet() const
CreateScanRequest & WithScanType(const ScanType &value)
const ResourceId & GetResourceId() const
bool ClientTokenHasBeenSet() const
CreateScanRequest & WithAnalysisType(const AnalysisType &value)
CreateScanRequest & WithScanName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateScanRequest & WithClientToken(const char *value)
const Aws::String & GetScanName() const
CreateScanRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool ScanNameHasBeenSet() const
CreateScanRequest & WithResourceId(ResourceId &&value)
CreateScanRequest & WithScanType(ScanType &&value)
CreateScanRequest & AddTags(Aws::String &&key, const char *value)
CreateScanRequest & AddTags(const char *key, Aws::String &&value)
CreateScanRequest & WithClientToken(Aws::String &&value)
CreateScanRequest & WithScanName(const Aws::String &value)
void SetScanName(const char *value)
const Aws::String & GetClientToken() const
void SetClientToken(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ResourceIdHasBeenSet() const
const AnalysisType & GetAnalysisType() const
AWS_CODEGURUSECURITY_API CreateScanRequest()
AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override
void SetAnalysisType(const AnalysisType &value)
CreateScanRequest & AddTags(const Aws::String &key, Aws::String &&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