AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResetEncryptionKeyRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/ResourceType.h>
10#include <aws/inspector2/model/ScanType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR2_API ResetEncryptionKeyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ResetEncryptionKey"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
40 inline ResourceType GetResourceType() const { return m_resourceType; }
41 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
42 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
45
47
50 inline ScanType GetScanType() const { return m_scanType; }
51 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
52 inline void SetScanType(ScanType value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
53 inline ResetEncryptionKeyRequest& WithScanType(ScanType value) { SetScanType(value); return *this;}
55 private:
56
57 ResourceType m_resourceType{ResourceType::NOT_SET};
58 bool m_resourceTypeHasBeenSet = false;
59
60 ScanType m_scanType{ScanType::NOT_SET};
61 bool m_scanTypeHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Inspector2
66} // namespace Aws
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ResetEncryptionKeyRequest & WithScanType(ScanType value)
AWS_INSPECTOR2_API ResetEncryptionKeyRequest()=default
ResetEncryptionKeyRequest & WithResourceType(ResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String