AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetEncryptionConfigurationResult.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 <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTFleetWise
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult() = default;
36
37
39
42 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
43 template<typename KmsKeyIdT = Aws::String>
44 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
45 template<typename KmsKeyIdT = Aws::String>
46 GetEncryptionConfigurationResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
48
50
53 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
54 inline void SetEncryptionStatus(EncryptionStatus value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = value; }
57
59
65 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
66 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
69
71
75 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
76 template<typename ErrorMessageT = Aws::String>
77 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
78 template<typename ErrorMessageT = Aws::String>
79 GetEncryptionConfigurationResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<typename CreationTimeT = Aws::Utils::DateTime>
91 GetEncryptionConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
100 template<typename LastModificationTimeT = Aws::Utils::DateTime>
101 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
102 template<typename LastModificationTimeT = Aws::Utils::DateTime>
103 GetEncryptionConfigurationResult& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 GetEncryptionConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_kmsKeyId;
117 bool m_kmsKeyIdHasBeenSet = false;
118
120 bool m_encryptionStatusHasBeenSet = false;
121
122 EncryptionType m_encryptionType{EncryptionType::NOT_SET};
123 bool m_encryptionTypeHasBeenSet = false;
124
125 Aws::String m_errorMessage;
126 bool m_errorMessageHasBeenSet = false;
127
128 Aws::Utils::DateTime m_creationTime{};
129 bool m_creationTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastModificationTime{};
132 bool m_lastModificationTimeHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace IoTFleetWise
140} // namespace Aws
GetEncryptionConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult()=default
AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEncryptionConfigurationResult & WithKmsKeyId(KmsKeyIdT &&value)
GetEncryptionConfigurationResult & WithEncryptionStatus(EncryptionStatus value)
GetEncryptionConfigurationResult & WithErrorMessage(ErrorMessageT &&value)
GetEncryptionConfigurationResult & WithRequestId(RequestIdT &&value)
GetEncryptionConfigurationResult & WithEncryptionType(EncryptionType value)
AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEncryptionConfigurationResult & WithLastModificationTime(LastModificationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue