/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Inspector2 { namespace Model { /** */ class ResetEncryptionKeyRequest : public Inspector2Request { public: AWS_INSPECTOR2_API ResetEncryptionKeyRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ResetEncryptionKey"; } AWS_INSPECTOR2_API Aws::String SerializePayload() const override; /** *

The resource type the key encrypts.

*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *

The resource type the key encrypts.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The resource type the key encrypts.

*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The resource type the key encrypts.

*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The resource type the key encrypts.

*/ inline ResetEncryptionKeyRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *

The resource type the key encrypts.

*/ inline ResetEncryptionKeyRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *

The scan type the key encrypts.

*/ inline const ScanType& GetScanType() const{ return m_scanType; } /** *

The scan type the key encrypts.

*/ inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; } /** *

The scan type the key encrypts.

*/ inline void SetScanType(const ScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; } /** *

The scan type the key encrypts.

*/ inline void SetScanType(ScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); } /** *

The scan type the key encrypts.

*/ inline ResetEncryptionKeyRequest& WithScanType(const ScanType& value) { SetScanType(value); return *this;} /** *

The scan type the key encrypts.

*/ inline ResetEncryptionKeyRequest& WithScanType(ScanType&& value) { SetScanType(std::move(value)); return *this;} private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; ScanType m_scanType; bool m_scanTypeHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws