AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
45 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
46 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
47 inline PutEncryptionConfigurationRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
48 inline PutEncryptionConfigurationRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
49 inline PutEncryptionConfigurationRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
51
53
58 inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
59 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
60 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
61 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
63 inline PutEncryptionConfigurationRequest& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_kmsKeyId;
68 bool m_kmsKeyIdHasBeenSet = false;
69
70 EncryptionType m_encryptionType;
71 bool m_encryptionTypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTFleetWise
76} // namespace Aws
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
PutEncryptionConfigurationRequest & WithEncryptionType(EncryptionType &&value)
PutEncryptionConfigurationRequest & WithKmsKeyId(Aws::String &&value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutEncryptionConfigurationRequest & WithKmsKeyId(const char *value)
PutEncryptionConfigurationRequest & WithEncryptionType(const EncryptionType &value)
PutEncryptionConfigurationRequest & WithKmsKeyId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String