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>
44 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
45 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
46 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
48 template<
typename AccountIdsT = Aws::String>
49 EnableRequest&
AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
return *
this; }
58 template<
typename ClientTokenT = Aws::String>
59 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
60 template<
typename ClientTokenT = Aws::String>
70 template<
typename ResourceTypesT = Aws::Vector<ResourceScanType>>
71 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet =
true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
72 template<
typename ResourceTypesT = Aws::Vector<ResourceScanType>>
79 bool m_accountIdsHasBeenSet =
false;
82 bool m_clientTokenHasBeenSet =
true;
85 bool m_resourceTypesHasBeenSet =
false;
bool AccountIdsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountIds() const
EnableRequest & AddAccountIds(AccountIdsT &&value)
const Aws::Vector< ResourceScanType > & GetResourceTypes() const
AWS_INSPECTOR2_API EnableRequest()=default
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
void SetAccountIds(AccountIdsT &&value)
void SetResourceTypes(ResourceTypesT &&value)
EnableRequest & WithResourceTypes(ResourceTypesT &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
bool ResourceTypesHasBeenSet() const
EnableRequest & WithClientToken(ClientTokenT &&value)
EnableRequest & AddResourceTypes(ResourceScanType value)
EnableRequest & WithAccountIds(AccountIdsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector