AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetEncryptionKeyRequest.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 Http {
16class URI;
17} // namespace Http
18namespace Inspector2 {
19namespace Model {
20
24 public:
25 AWS_INSPECTOR2_API GetEncryptionKeyRequest() = 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 "GetEncryptionKey"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35 AWS_INSPECTOR2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline ScanType GetScanType() const { return m_scanType; }
42 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
43 inline void SetScanType(ScanType value) {
44 m_scanTypeHasBeenSet = true;
45 m_scanType = value;
46 }
48 SetScanType(value);
49 return *this;
50 }
52
54
57 inline ResourceType GetResourceType() const { return m_resourceType; }
58 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
59 inline void SetResourceType(ResourceType value) {
60 m_resourceTypeHasBeenSet = true;
61 m_resourceType = value;
62 }
64 SetResourceType(value);
65 return *this;
66 }
68 private:
69 ScanType m_scanType{ScanType::NOT_SET};
70
71 ResourceType m_resourceType{ResourceType::NOT_SET};
72 bool m_scanTypeHasBeenSet = false;
73 bool m_resourceTypeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Inspector2
78} // 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