AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PutDefaultEncryptionConfigurationRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/iotsitewise/model/EncryptionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTSiteWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTSITEWISE_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_IOTSITEWISE_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& GetKmsKeyId() const { return m_kmsKeyId; }
52 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
53 template<typename KmsKeyIdT = Aws::String>
54 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
55 template<typename KmsKeyIdT = Aws::String>
56 PutDefaultEncryptionConfigurationRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
58 private:
59
61 bool m_encryptionTypeHasBeenSet = false;
62
63 Aws::String m_kmsKeyId;
64 bool m_kmsKeyIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace IoTSiteWise
69} // namespace Aws
PutDefaultEncryptionConfigurationRequest & WithKmsKeyId(KmsKeyIdT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
PutDefaultEncryptionConfigurationRequest & WithEncryptionType(EncryptionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String