AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ServerSideEncryptionUpdateDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/voice-id/VoiceID_EXPORTS.h>
9#include <aws/voice-id/model/ServerSideEncryptionUpdateStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace VoiceID {
21namespace Model {
22
33 public:
34 AWS_VOICEID_API ServerSideEncryptionUpdateDetails() = default;
37 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetMessage() const { return m_message; }
45 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 template <typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) {
48 m_messageHasBeenSet = true;
49 m_message = std::forward<MessageT>(value);
50 }
51 template <typename MessageT = Aws::String>
53 SetMessage(std::forward<MessageT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetOldKmsKeyId() const { return m_oldKmsKeyId; }
64 inline bool OldKmsKeyIdHasBeenSet() const { return m_oldKmsKeyIdHasBeenSet; }
65 template <typename OldKmsKeyIdT = Aws::String>
66 void SetOldKmsKeyId(OldKmsKeyIdT&& value) {
67 m_oldKmsKeyIdHasBeenSet = true;
68 m_oldKmsKeyId = std::forward<OldKmsKeyIdT>(value);
69 }
70 template <typename OldKmsKeyIdT = Aws::String>
72 SetOldKmsKeyId(std::forward<OldKmsKeyIdT>(value));
73 return *this;
74 }
76
78
85 inline ServerSideEncryptionUpdateStatus GetUpdateStatus() const { return m_updateStatus; }
86 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
88 m_updateStatusHasBeenSet = true;
89 m_updateStatus = value;
90 }
92 SetUpdateStatus(value);
93 return *this;
94 }
96 private:
97 Aws::String m_message;
98
99 Aws::String m_oldKmsKeyId;
100
102 bool m_messageHasBeenSet = false;
103 bool m_oldKmsKeyIdHasBeenSet = false;
104 bool m_updateStatusHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace VoiceID
109} // namespace Aws
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
ServerSideEncryptionUpdateDetails & WithUpdateStatus(ServerSideEncryptionUpdateStatus value)
AWS_VOICEID_API ServerSideEncryptionUpdateDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API ServerSideEncryptionUpdateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerSideEncryptionUpdateDetails & WithMessage(MessageT &&value)
ServerSideEncryptionUpdateDetails & WithOldKmsKeyId(OldKmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue