AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ResourceType& GetResourceType() const{ return m_resourceType; }
41 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
42 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
43 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
44 inline ResetEncryptionKeyRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
45 inline ResetEncryptionKeyRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
47
49
52 inline const ScanType& GetScanType() const{ return m_scanType; }
53 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
54 inline void SetScanType(const ScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
55 inline void SetScanType(ScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
56 inline ResetEncryptionKeyRequest& WithScanType(const ScanType& value) { SetScanType(value); return *this;}
57 inline ResetEncryptionKeyRequest& WithScanType(ScanType&& value) { SetScanType(std::move(value)); return *this;}
59 private:
60
61 ResourceType m_resourceType;
62 bool m_resourceTypeHasBeenSet = false;
63
64 ScanType m_scanType;
65 bool m_scanTypeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Inspector2
70} // namespace Aws
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
ResetEncryptionKeyRequest & WithResourceType(const ResourceType &value)
ResetEncryptionKeyRequest & WithScanType(const ScanType &value)
virtual const char * GetServiceRequestName() const override
ResetEncryptionKeyRequest & WithScanType(ScanType &&value)
ResetEncryptionKeyRequest & WithResourceType(ResourceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String