AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
PutEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
10#include <aws/iotfleetwise/model/EncryptionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTFleetWise {
16namespace Model {
17
21 public:
22 AWS_IOTFLEETWISE_API PutEncryptionConfigurationRequest() = 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 "PutEncryptionConfiguration"; }
29
30 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
31
32 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
39 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
40 template <typename KmsKeyIdT = Aws::String>
41 void SetKmsKeyId(KmsKeyIdT&& value) {
42 m_kmsKeyIdHasBeenSet = true;
43 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
44 }
45 template <typename KmsKeyIdT = Aws::String>
47 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
48 return *this;
49 }
51
53
58 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
59 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
60 inline void SetEncryptionType(EncryptionType value) {
61 m_encryptionTypeHasBeenSet = true;
62 m_encryptionType = value;
63 }
69 private:
70 Aws::String m_kmsKeyId;
71
73 bool m_kmsKeyIdHasBeenSet = false;
74 bool m_encryptionTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoTFleetWise
79} // namespace Aws
AWS_IOTFLEETWISE_API PutEncryptionConfigurationRequest()=default
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutEncryptionConfigurationRequest & WithEncryptionType(EncryptionType value)
PutEncryptionConfigurationRequest & WithKmsKeyId(KmsKeyIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String