7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/ResourceType.h>
11#include <aws/inspector2/model/ScanType.h>
45 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
70 inline void SetScanType(
ScanType&& value) { m_scanTypeHasBeenSet =
true; m_scanType = std::move(value); }
77 bool m_kmsKeyIdHasBeenSet =
false;
80 bool m_resourceTypeHasBeenSet =
false;
83 bool m_scanTypeHasBeenSet =
false;
UpdateEncryptionKeyRequest & WithKmsKeyId(Aws::String &&value)
UpdateEncryptionKeyRequest & WithKmsKeyId(const char *value)
void SetScanType(const ScanType &value)
const ResourceType & GetResourceType() const
UpdateEncryptionKeyRequest & WithScanType(const ScanType &value)
void SetKmsKeyId(const Aws::String &value)
AWS_INSPECTOR2_API UpdateEncryptionKeyRequest()
bool ScanTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateEncryptionKeyRequest & WithScanType(ScanType &&value)
void SetResourceType(const ResourceType &value)
void SetScanType(ScanType &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
bool ResourceTypeHasBeenSet() const
const ScanType & GetScanType() const
UpdateEncryptionKeyRequest & WithKmsKeyId(const Aws::String &value)
UpdateEncryptionKeyRequest & WithResourceType(ResourceType &&value)
void SetResourceType(ResourceType &&value)
void SetKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const char *value)
UpdateEncryptionKeyRequest & WithResourceType(const ResourceType &value)
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String