AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
53 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
54 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 inline ServerSideEncryptionUpdateDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
56 inline ServerSideEncryptionUpdateDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
57 inline ServerSideEncryptionUpdateDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
59
61
65 inline const Aws::String& GetOldKmsKeyId() const{ return m_oldKmsKeyId; }
66 inline bool OldKmsKeyIdHasBeenSet() const { return m_oldKmsKeyIdHasBeenSet; }
67 inline void SetOldKmsKeyId(const Aws::String& value) { m_oldKmsKeyIdHasBeenSet = true; m_oldKmsKeyId = value; }
68 inline void SetOldKmsKeyId(Aws::String&& value) { m_oldKmsKeyIdHasBeenSet = true; m_oldKmsKeyId = std::move(value); }
69 inline void SetOldKmsKeyId(const char* value) { m_oldKmsKeyIdHasBeenSet = true; m_oldKmsKeyId.assign(value); }
70 inline ServerSideEncryptionUpdateDetails& WithOldKmsKeyId(const Aws::String& value) { SetOldKmsKeyId(value); return *this;}
71 inline ServerSideEncryptionUpdateDetails& WithOldKmsKeyId(Aws::String&& value) { SetOldKmsKeyId(std::move(value)); return *this;}
72 inline ServerSideEncryptionUpdateDetails& WithOldKmsKeyId(const char* value) { SetOldKmsKeyId(value); return *this;}
74
76
83 inline const ServerSideEncryptionUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
84 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
85 inline void SetUpdateStatus(const ServerSideEncryptionUpdateStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
86 inline void SetUpdateStatus(ServerSideEncryptionUpdateStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
90 private:
91
92 Aws::String m_message;
93 bool m_messageHasBeenSet = false;
94
95 Aws::String m_oldKmsKeyId;
96 bool m_oldKmsKeyIdHasBeenSet = false;
97
99 bool m_updateStatusHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace VoiceID
104} // namespace Aws
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
ServerSideEncryptionUpdateDetails & WithMessage(const char *value)
AWS_VOICEID_API ServerSideEncryptionUpdateDetails(Aws::Utils::Json::JsonView jsonValue)
ServerSideEncryptionUpdateDetails & WithOldKmsKeyId(const Aws::String &value)
const ServerSideEncryptionUpdateStatus & GetUpdateStatus() const
ServerSideEncryptionUpdateDetails & WithMessage(Aws::String &&value)
ServerSideEncryptionUpdateDetails & WithOldKmsKeyId(Aws::String &&value)
ServerSideEncryptionUpdateDetails & WithOldKmsKeyId(const char *value)
AWS_VOICEID_API ServerSideEncryptionUpdateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateStatus(ServerSideEncryptionUpdateStatus &&value)
ServerSideEncryptionUpdateDetails & WithMessage(const Aws::String &value)
ServerSideEncryptionUpdateDetails & WithUpdateStatus(ServerSideEncryptionUpdateStatus &&value)
void SetUpdateStatus(const ServerSideEncryptionUpdateStatus &value)
ServerSideEncryptionUpdateDetails & WithUpdateStatus(const ServerSideEncryptionUpdateStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue