7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/inspector2/model/ResourceScanType.h>
13#include <aws/core/utils/UUID.h>
61 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
83 bool m_accountIdsHasBeenSet =
false;
86 bool m_clientTokenHasBeenSet =
false;
89 bool m_resourceTypesHasBeenSet =
false;
EnableRequest & WithClientToken(const char *value)
bool AccountIdsHasBeenSet() const
void SetResourceTypes(const Aws::Vector< ResourceScanType > &value)
EnableRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
EnableRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
EnableRequest & WithClientToken(Aws::String &&value)
void SetAccountIds(Aws::Vector< Aws::String > &&value)
bool ClientTokenHasBeenSet() const
void SetResourceTypes(Aws::Vector< ResourceScanType > &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
AWS_INSPECTOR2_API EnableRequest()
EnableRequest & AddAccountIds(Aws::String &&value)
EnableRequest & WithResourceTypes(Aws::Vector< ResourceScanType > &&value)
EnableRequest & AddAccountIds(const char *value)
void SetClientToken(const char *value)
void SetClientToken(Aws::String &&value)
const Aws::Vector< ResourceScanType > & GetResourceTypes() const
EnableRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
EnableRequest & AddResourceTypes(ResourceScanType &&value)
void SetClientToken(const Aws::String &value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
EnableRequest & AddResourceTypes(const ResourceScanType &value)
bool ResourceTypesHasBeenSet() const
EnableRequest & AddAccountIds(const Aws::String &value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
EnableRequest & WithResourceTypes(const Aws::Vector< ResourceScanType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector