AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetEncryptionKeyRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace Inspector2
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_INSPECTOR2_API GetEncryptionKeyRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetEncryptionKey"; }
36
37 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
38
39 AWS_INSPECTOR2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline ResourceType GetResourceType() const { return m_resourceType; }
47 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
48 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
51
53
56 inline ScanType GetScanType() const { return m_scanType; }
57 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
58 inline void SetScanType(ScanType value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
59 inline GetEncryptionKeyRequest& WithScanType(ScanType value) { SetScanType(value); return *this;}
61 private:
62
63 ResourceType m_resourceType{ResourceType::NOT_SET};
64 bool m_resourceTypeHasBeenSet = false;
65
66 ScanType m_scanType{ScanType::NOT_SET};
67 bool m_scanTypeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Inspector2
72} // namespace Aws
GetEncryptionKeyRequest & WithScanType(ScanType value)
AWS_INSPECTOR2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
AWS_INSPECTOR2_API GetEncryptionKeyRequest()=default
GetEncryptionKeyRequest & WithResourceType(ResourceType value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String