AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
PutDefaultEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/EncryptionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTManagedIntegrations {
16namespace Model {
17
21 public:
22 AWS_IOTMANAGEDINTEGRATIONS_API PutDefaultEncryptionConfigurationRequest() = 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 "PutDefaultEncryptionConfiguration"; }
29
30 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
31
33
36 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
37 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
38 inline void SetEncryptionType(EncryptionType value) {
39 m_encryptionTypeHasBeenSet = true;
40 m_encryptionType = value;
41 }
47
49
53 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
54 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
55 template <typename KmsKeyArnT = Aws::String>
56 void SetKmsKeyArn(KmsKeyArnT&& value) {
57 m_kmsKeyArnHasBeenSet = true;
58 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
59 }
60 template <typename KmsKeyArnT = Aws::String>
62 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
63 return *this;
64 }
66 private:
68
69 Aws::String m_kmsKeyArn;
70 bool m_encryptionTypeHasBeenSet = false;
71 bool m_kmsKeyArnHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace IoTManagedIntegrations
76} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API PutDefaultEncryptionConfigurationRequest()=default
PutDefaultEncryptionConfigurationRequest & WithEncryptionType(EncryptionType value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String