AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PutDefaultEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/model/EncryptionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTManagedIntegrations
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTMANAGEDINTEGRATIONS_API PutDefaultEncryptionConfigurationRequest() = 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 "PutDefaultEncryptionConfiguration"; }
32
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
34
35
37
40 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
41 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
42 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
45
47
51 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
52 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
53 template<typename KmsKeyArnT = Aws::String>
54 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
55 template<typename KmsKeyArnT = Aws::String>
56 PutDefaultEncryptionConfigurationRequest& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
58 private:
59
61 bool m_encryptionTypeHasBeenSet = false;
62
63 Aws::String m_kmsKeyArn;
64 bool m_kmsKeyArnHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace IoTManagedIntegrations
69} // 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