AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
PutEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
10#include <aws/iotfleetwise/model/EncryptionStatus.h>
11#include <aws/iotfleetwise/model/EncryptionType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTFleetWise {
25namespace Model {
27 public:
28 AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult() = default;
31
33
36 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
37 template <typename KmsKeyIdT = Aws::String>
38 void SetKmsKeyId(KmsKeyIdT&& value) {
39 m_kmsKeyIdHasBeenSet = true;
40 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
41 }
42 template <typename KmsKeyIdT = Aws::String>
44 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
45 return *this;
46 }
48
50
53 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
55 m_encryptionStatusHasBeenSet = true;
56 m_encryptionStatus = value;
57 }
63
65
71 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
72 inline void SetEncryptionType(EncryptionType value) {
73 m_encryptionTypeHasBeenSet = true;
74 m_encryptionType = value;
75 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_kmsKeyId;
100
102
103 EncryptionType m_encryptionType{EncryptionType::NOT_SET};
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_kmsKeyIdHasBeenSet = false;
108 bool m_encryptionStatusHasBeenSet = false;
109 bool m_encryptionTypeHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace IoTFleetWise
115} // 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