AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GetEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
11#include <aws/iotfleetwise/model/EncryptionStatus.h>
12#include <aws/iotfleetwise/model/EncryptionType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise {
26namespace Model {
28 public:
29 AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult() = default;
32
34
37 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
38 template <typename KmsKeyIdT = Aws::String>
39 void SetKmsKeyId(KmsKeyIdT&& value) {
40 m_kmsKeyIdHasBeenSet = true;
41 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
42 }
43 template <typename KmsKeyIdT = Aws::String>
45 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
46 return *this;
47 }
49
51
54 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
56 m_encryptionStatusHasBeenSet = true;
57 m_encryptionStatus = value;
58 }
64
66
72 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
73 inline void SetEncryptionType(EncryptionType value) {
74 m_encryptionTypeHasBeenSet = true;
75 m_encryptionType = value;
76 }
82
84
88 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
89 template <typename ErrorMessageT = Aws::String>
90 void SetErrorMessage(ErrorMessageT&& value) {
91 m_errorMessageHasBeenSet = true;
92 m_errorMessage = std::forward<ErrorMessageT>(value);
93 }
94 template <typename ErrorMessageT = Aws::String>
96 SetErrorMessage(std::forward<ErrorMessageT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
107 template <typename CreationTimeT = Aws::Utils::DateTime>
108 void SetCreationTime(CreationTimeT&& value) {
109 m_creationTimeHasBeenSet = true;
110 m_creationTime = std::forward<CreationTimeT>(value);
111 }
112 template <typename CreationTimeT = Aws::Utils::DateTime>
114 SetCreationTime(std::forward<CreationTimeT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
125 template <typename LastModificationTimeT = Aws::Utils::DateTime>
126 void SetLastModificationTime(LastModificationTimeT&& value) {
127 m_lastModificationTimeHasBeenSet = true;
128 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
129 }
130 template <typename LastModificationTimeT = Aws::Utils::DateTime>
132 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template <typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) {
142 m_requestIdHasBeenSet = true;
143 m_requestId = std::forward<RequestIdT>(value);
144 }
145 template <typename RequestIdT = Aws::String>
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
152
153 private:
154 Aws::String m_kmsKeyId;
155
157
158 EncryptionType m_encryptionType{EncryptionType::NOT_SET};
159
160 Aws::String m_errorMessage;
161
162 Aws::Utils::DateTime m_creationTime{};
163
164 Aws::Utils::DateTime m_lastModificationTime{};
165
166 Aws::String m_requestId;
167 Aws::Http::HttpResponseCode m_HttpResponseCode;
168 bool m_kmsKeyIdHasBeenSet = false;
169 bool m_encryptionStatusHasBeenSet = false;
170 bool m_encryptionTypeHasBeenSet = false;
171 bool m_errorMessageHasBeenSet = false;
172 bool m_creationTimeHasBeenSet = false;
173 bool m_lastModificationTimeHasBeenSet = false;
174 bool m_requestIdHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace IoTFleetWise
179} // 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