AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeEncryptionConfigurationResult.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/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/ConfigurationDetails.h>
12#include <aws/iot/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 IoT {
26namespace Model {
28 public:
32
34
37 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
38 inline void SetEncryptionType(EncryptionType value) {
39 m_encryptionTypeHasBeenSet = true;
40 m_encryptionType = value;
41 }
43 SetEncryptionType(value);
44 return *this;
45 }
47
49
52 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
53 template <typename KmsKeyArnT = Aws::String>
54 void SetKmsKeyArn(KmsKeyArnT&& value) {
55 m_kmsKeyArnHasBeenSet = true;
56 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
57 }
58 template <typename KmsKeyArnT = Aws::String>
60 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetKmsAccessRoleArn() const { return m_kmsAccessRoleArn; }
71 template <typename KmsAccessRoleArnT = Aws::String>
72 void SetKmsAccessRoleArn(KmsAccessRoleArnT&& value) {
73 m_kmsAccessRoleArnHasBeenSet = true;
74 m_kmsAccessRoleArn = std::forward<KmsAccessRoleArnT>(value);
75 }
76 template <typename KmsAccessRoleArnT = Aws::String>
78 SetKmsAccessRoleArn(std::forward<KmsAccessRoleArnT>(value));
79 return *this;
80 }
82
84
88 inline const ConfigurationDetails& GetConfigurationDetails() const { return m_configurationDetails; }
89 template <typename ConfigurationDetailsT = ConfigurationDetails>
90 void SetConfigurationDetails(ConfigurationDetailsT&& value) {
91 m_configurationDetailsHasBeenSet = true;
92 m_configurationDetails = std::forward<ConfigurationDetailsT>(value);
93 }
94 template <typename ConfigurationDetailsT = ConfigurationDetails>
96 SetConfigurationDetails(std::forward<ConfigurationDetailsT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
106 template <typename LastModifiedDateT = Aws::Utils::DateTime>
107 void SetLastModifiedDate(LastModifiedDateT&& value) {
108 m_lastModifiedDateHasBeenSet = true;
109 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
110 }
111 template <typename LastModifiedDateT = Aws::Utils::DateTime>
113 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
114 return *this;
115 }
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template <typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) {
123 m_requestIdHasBeenSet = true;
124 m_requestId = std::forward<RequestIdT>(value);
125 }
126 template <typename RequestIdT = Aws::String>
128 SetRequestId(std::forward<RequestIdT>(value));
129 return *this;
130 }
132 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
133
134 private:
135 EncryptionType m_encryptionType{EncryptionType::NOT_SET};
136
137 Aws::String m_kmsKeyArn;
138
139 Aws::String m_kmsAccessRoleArn;
140
141 ConfigurationDetails m_configurationDetails;
142
143 Aws::Utils::DateTime m_lastModifiedDate{};
144
145 Aws::String m_requestId;
146 Aws::Http::HttpResponseCode m_HttpResponseCode;
147 bool m_encryptionTypeHasBeenSet = false;
148 bool m_kmsKeyArnHasBeenSet = false;
149 bool m_kmsAccessRoleArnHasBeenSet = false;
150 bool m_configurationDetailsHasBeenSet = false;
151 bool m_lastModifiedDateHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace IoT
157} // namespace Aws
AWS_IOT_API DescribeEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEncryptionConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeEncryptionConfigurationResult & WithKmsKeyArn(KmsKeyArnT &&value)
DescribeEncryptionConfigurationResult & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_IOT_API DescribeEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEncryptionConfigurationResult & WithEncryptionType(EncryptionType value)
DescribeEncryptionConfigurationResult & WithConfigurationDetails(ConfigurationDetailsT &&value)
DescribeEncryptionConfigurationResult & WithKmsAccessRoleArn(KmsAccessRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue