AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ResetEncryptionKeyRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2Request.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/ResourceType.h>
10#include <aws/inspector2/model/ScanType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Inspector2 {
16namespace Model {
17
21 public:
22 AWS_INSPECTOR2_API ResetEncryptionKeyRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ResetEncryptionKey"; }
29
30 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
31
33
36 inline ScanType GetScanType() const { return m_scanType; }
37 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
38 inline void SetScanType(ScanType value) {
39 m_scanTypeHasBeenSet = true;
40 m_scanType = value;
41 }
43 SetScanType(value);
44 return *this;
45 }
47
49
52 inline ResourceType GetResourceType() const { return m_resourceType; }
53 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
54 inline void SetResourceType(ResourceType value) {
55 m_resourceTypeHasBeenSet = true;
56 m_resourceType = value;
57 }
59 SetResourceType(value);
60 return *this;
61 }
63 private:
64 ScanType m_scanType{ScanType::NOT_SET};
65
66 ResourceType m_resourceType{ResourceType::NOT_SET};
67 bool m_scanTypeHasBeenSet = false;
68 bool m_resourceTypeHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Inspector2
73} // 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