AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
41 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
42 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
43 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
47
49
53 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
54 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
55 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
56 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
57 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
59 inline PutDefaultEncryptionConfigurationRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
60 inline PutDefaultEncryptionConfigurationRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
62 private:
63
64 EncryptionType m_encryptionType;
65 bool m_encryptionTypeHasBeenSet = false;
66
67 Aws::String m_kmsKeyId;
68 bool m_kmsKeyIdHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTSiteWise
73} // namespace Aws
PutDefaultEncryptionConfigurationRequest & WithKmsKeyId(Aws::String &&value)
PutDefaultEncryptionConfigurationRequest & WithKmsKeyId(const char *value)
PutDefaultEncryptionConfigurationRequest & WithEncryptionType(const EncryptionType &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
PutDefaultEncryptionConfigurationRequest & WithEncryptionType(EncryptionType &&value)
PutDefaultEncryptionConfigurationRequest & WithKmsKeyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String