AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/EncryptionStatus.h>
10#include <aws/iotfleetwise/model/EncryptionType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult() = default;
35
36
38
41 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
42 template<typename KmsKeyIdT = Aws::String>
43 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
44 template<typename KmsKeyIdT = Aws::String>
45 PutEncryptionConfigurationResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
47
49
52 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
53 inline void SetEncryptionStatus(EncryptionStatus value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = value; }
56
58
64 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
65 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 PutEncryptionConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_kmsKeyId;
80 bool m_kmsKeyIdHasBeenSet = false;
81
83 bool m_encryptionStatusHasBeenSet = false;
84
86 bool m_encryptionTypeHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTFleetWise
94} // namespace Aws
PutEncryptionConfigurationResult & WithEncryptionStatus(EncryptionStatus value)
PutEncryptionConfigurationResult & WithKmsKeyId(KmsKeyIdT &&value)
PutEncryptionConfigurationResult & WithEncryptionType(EncryptionType value)
PutEncryptionConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult()=default
AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue