AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/model/EncryptionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTFleetWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTFLEETWISE_API PutEncryptionConfigurationRequest() = 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 "PutEncryptionConfiguration"; }
32
33 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
34
35 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
43 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
44 template<typename KmsKeyIdT = Aws::String>
45 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
46 template<typename KmsKeyIdT = Aws::String>
47 PutEncryptionConfigurationRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
49
51
56 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
57 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
58 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
61 private:
62
63 Aws::String m_kmsKeyId;
64 bool m_kmsKeyIdHasBeenSet = false;
65
67 bool m_encryptionTypeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoTFleetWise
72} // 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