AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDataRetentionBotResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Wickr {
23namespace Model {
25 public:
26 AWS_WICKR_API GetDataRetentionBotResult() = default;
29
31
34 inline const Aws::String& GetBotName() const { return m_botName; }
35 template <typename BotNameT = Aws::String>
36 void SetBotName(BotNameT&& value) {
37 m_botNameHasBeenSet = true;
38 m_botName = std::forward<BotNameT>(value);
39 }
40 template <typename BotNameT = Aws::String>
42 SetBotName(std::forward<BotNameT>(value));
43 return *this;
44 }
46
48
51 inline bool GetBotExists() const { return m_botExists; }
52 inline void SetBotExists(bool value) {
53 m_botExistsHasBeenSet = true;
54 m_botExists = value;
55 }
57 SetBotExists(value);
58 return *this;
59 }
61
63
66 inline bool GetIsBotActive() const { return m_isBotActive; }
67 inline void SetIsBotActive(bool value) {
68 m_isBotActiveHasBeenSet = true;
69 m_isBotActive = value;
70 }
72 SetIsBotActive(value);
73 return *this;
74 }
76
78
82 inline bool GetIsDataRetentionBotRegistered() const { return m_isDataRetentionBotRegistered; }
83 inline void SetIsDataRetentionBotRegistered(bool value) {
84 m_isDataRetentionBotRegisteredHasBeenSet = true;
85 m_isDataRetentionBotRegistered = value;
86 }
89 return *this;
90 }
92
94
97 inline bool GetIsDataRetentionServiceEnabled() const { return m_isDataRetentionServiceEnabled; }
98 inline void SetIsDataRetentionServiceEnabled(bool value) {
99 m_isDataRetentionServiceEnabledHasBeenSet = true;
100 m_isDataRetentionServiceEnabled = value;
101 }
104 return *this;
105 }
107
109
113 inline bool GetIsPubkeyMsgAcked() const { return m_isPubkeyMsgAcked; }
114 inline void SetIsPubkeyMsgAcked(bool value) {
115 m_isPubkeyMsgAckedHasBeenSet = true;
116 m_isPubkeyMsgAcked = value;
117 }
119 SetIsPubkeyMsgAcked(value);
120 return *this;
121 }
123
125
126 inline const Aws::String& GetRequestId() const { return m_requestId; }
127 template <typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) {
129 m_requestIdHasBeenSet = true;
130 m_requestId = std::forward<RequestIdT>(value);
131 }
132 template <typename RequestIdT = Aws::String>
134 SetRequestId(std::forward<RequestIdT>(value));
135 return *this;
136 }
138 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
139
140 private:
141 Aws::String m_botName;
142
143 bool m_botExists{false};
144
145 bool m_isBotActive{false};
146
147 bool m_isDataRetentionBotRegistered{false};
148
149 bool m_isDataRetentionServiceEnabled{false};
150
151 bool m_isPubkeyMsgAcked{false};
152
153 Aws::String m_requestId;
154 Aws::Http::HttpResponseCode m_HttpResponseCode;
155 bool m_botNameHasBeenSet = false;
156 bool m_botExistsHasBeenSet = false;
157 bool m_isBotActiveHasBeenSet = false;
158 bool m_isDataRetentionBotRegisteredHasBeenSet = false;
159 bool m_isDataRetentionServiceEnabledHasBeenSet = false;
160 bool m_isPubkeyMsgAckedHasBeenSet = false;
161 bool m_requestIdHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace Wickr
166} // namespace Aws
AWS_WICKR_API GetDataRetentionBotResult()=default
GetDataRetentionBotResult & WithRequestId(RequestIdT &&value)
GetDataRetentionBotResult & WithIsPubkeyMsgAcked(bool value)
AWS_WICKR_API GetDataRetentionBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataRetentionBotResult & WithIsDataRetentionBotRegistered(bool value)
GetDataRetentionBotResult & WithBotExists(bool value)
GetDataRetentionBotResult & WithIsDataRetentionServiceEnabled(bool value)
AWS_WICKR_API GetDataRetentionBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDataRetentionBotResult & WithBotName(BotNameT &&value)
GetDataRetentionBotResult & WithIsBotActive(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue