AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
DescribeEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ConfigurationDetails.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 IoT
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
43 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
46
48
52 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
53 template<typename KmsKeyArnT = Aws::String>
54 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
55 template<typename KmsKeyArnT = Aws::String>
56 DescribeEncryptionConfigurationResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetKmsAccessRoleArn() const { return m_kmsAccessRoleArn; }
64 template<typename KmsAccessRoleArnT = Aws::String>
65 void SetKmsAccessRoleArn(KmsAccessRoleArnT&& value) { m_kmsAccessRoleArnHasBeenSet = true; m_kmsAccessRoleArn = std::forward<KmsAccessRoleArnT>(value); }
66 template<typename KmsAccessRoleArnT = Aws::String>
67 DescribeEncryptionConfigurationResult& WithKmsAccessRoleArn(KmsAccessRoleArnT&& value) { SetKmsAccessRoleArn(std::forward<KmsAccessRoleArnT>(value)); return *this;}
69
71
75 inline const ConfigurationDetails& GetConfigurationDetails() const { return m_configurationDetails; }
76 template<typename ConfigurationDetailsT = ConfigurationDetails>
77 void SetConfigurationDetails(ConfigurationDetailsT&& value) { m_configurationDetailsHasBeenSet = true; m_configurationDetails = std::forward<ConfigurationDetailsT>(value); }
78 template<typename ConfigurationDetailsT = ConfigurationDetails>
79 DescribeEncryptionConfigurationResult& WithConfigurationDetails(ConfigurationDetailsT&& value) { SetConfigurationDetails(std::forward<ConfigurationDetailsT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
87 template<typename LastModifiedDateT = Aws::Utils::DateTime>
88 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
89 template<typename LastModifiedDateT = Aws::Utils::DateTime>
90 DescribeEncryptionConfigurationResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template<typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
98 template<typename RequestIdT = Aws::String>
99 DescribeEncryptionConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
101 private:
102
103 EncryptionType m_encryptionType{EncryptionType::NOT_SET};
104 bool m_encryptionTypeHasBeenSet = false;
105
106 Aws::String m_kmsKeyArn;
107 bool m_kmsKeyArnHasBeenSet = false;
108
109 Aws::String m_kmsAccessRoleArn;
110 bool m_kmsAccessRoleArnHasBeenSet = false;
111
112 ConfigurationDetails m_configurationDetails;
113 bool m_configurationDetailsHasBeenSet = false;
114
115 Aws::Utils::DateTime m_lastModifiedDate{};
116 bool m_lastModifiedDateHasBeenSet = false;
117
118 Aws::String m_requestId;
119 bool m_requestIdHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoT
124} // 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