AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
43 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
44 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
45 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
46 inline GetEncryptionConfigurationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
47 inline GetEncryptionConfigurationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
48 inline GetEncryptionConfigurationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
50
52
55 inline const EncryptionStatus& GetEncryptionStatus() const{ return m_encryptionStatus; }
56 inline void SetEncryptionStatus(const EncryptionStatus& value) { m_encryptionStatus = value; }
57 inline void SetEncryptionStatus(EncryptionStatus&& value) { m_encryptionStatus = std::move(value); }
61
63
69 inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
70 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
71 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
73 inline GetEncryptionConfigurationResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
75
77
81 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
82 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
83 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
84 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
86 inline GetEncryptionConfigurationResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
87 inline GetEncryptionConfigurationResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
89
91
95 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
96 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
97 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
101
103
107 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
108 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
109 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline GetEncryptionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline GetEncryptionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetEncryptionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_kmsKeyId;
127
128 EncryptionStatus m_encryptionStatus;
129
130 EncryptionType m_encryptionType;
131
132 Aws::String m_errorMessage;
133
134 Aws::Utils::DateTime m_creationTime;
135
136 Aws::Utils::DateTime m_lastModificationTime;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace IoTFleetWise
143} // namespace Aws
GetEncryptionConfigurationResult & WithEncryptionStatus(EncryptionStatus &&value)
GetEncryptionConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetEncryptionConfigurationResult & WithRequestId(const char *value)
GetEncryptionConfigurationResult & WithKmsKeyId(const char *value)
AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEncryptionConfigurationResult & WithErrorMessage(const char *value)
GetEncryptionConfigurationResult & WithErrorMessage(const Aws::String &value)
GetEncryptionConfigurationResult & WithEncryptionType(const EncryptionType &value)
GetEncryptionConfigurationResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
GetEncryptionConfigurationResult & WithEncryptionStatus(const EncryptionStatus &value)
GetEncryptionConfigurationResult & WithKmsKeyId(const Aws::String &value)
GetEncryptionConfigurationResult & WithKmsKeyId(Aws::String &&value)
GetEncryptionConfigurationResult & WithRequestId(const Aws::String &value)
GetEncryptionConfigurationResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
AWS_IOTFLEETWISE_API GetEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEncryptionConfigurationResult & WithErrorMessage(Aws::String &&value)
GetEncryptionConfigurationResult & WithEncryptionType(EncryptionType &&value)
GetEncryptionConfigurationResult & WithRequestId(Aws::String &&value)
GetEncryptionConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue