AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServerSideEncryptionUpdateDetails.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/model/ServerSideEncryptionUpdateStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VoiceID
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_VOICEID_API ServerSideEncryptionUpdateDetails() = default;
42 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetMessage() const { return m_message; }
51 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
52 template<typename MessageT = Aws::String>
53 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
54 template<typename MessageT = Aws::String>
55 ServerSideEncryptionUpdateDetails& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
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) { m_oldKmsKeyIdHasBeenSet = true; m_oldKmsKeyId = std::forward<OldKmsKeyIdT>(value); }
67 template<typename OldKmsKeyIdT = Aws::String>
68 ServerSideEncryptionUpdateDetails& WithOldKmsKeyId(OldKmsKeyIdT&& value) { SetOldKmsKeyId(std::forward<OldKmsKeyIdT>(value)); return *this;}
70
72
79 inline ServerSideEncryptionUpdateStatus GetUpdateStatus() const { return m_updateStatus; }
80 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
81 inline void SetUpdateStatus(ServerSideEncryptionUpdateStatus value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
84 private:
85
86 Aws::String m_message;
87 bool m_messageHasBeenSet = false;
88
89 Aws::String m_oldKmsKeyId;
90 bool m_oldKmsKeyIdHasBeenSet = false;
91
93 bool m_updateStatusHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace VoiceID
98} // 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