AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetDataRetentionBotResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Wickr {
22namespace Model {
24 public:
25 AWS_WICKR_API GetDataRetentionBotResult() = default;
28
30
33 inline const Aws::String& GetBotName() const { return m_botName; }
34 template <typename BotNameT = Aws::String>
35 void SetBotName(BotNameT&& value) {
36 m_botNameHasBeenSet = true;
37 m_botName = std::forward<BotNameT>(value);
38 }
39 template <typename BotNameT = Aws::String>
41 SetBotName(std::forward<BotNameT>(value));
42 return *this;
43 }
45
47
50 inline bool GetBotExists() const { return m_botExists; }
51 inline void SetBotExists(bool value) {
52 m_botExistsHasBeenSet = true;
53 m_botExists = value;
54 }
56 SetBotExists(value);
57 return *this;
58 }
60
62
65 inline bool GetIsBotActive() const { return m_isBotActive; }
66 inline void SetIsBotActive(bool value) {
67 m_isBotActiveHasBeenSet = true;
68 m_isBotActive = value;
69 }
71 SetIsBotActive(value);
72 return *this;
73 }
75
77
81 inline bool GetIsDataRetentionBotRegistered() const { return m_isDataRetentionBotRegistered; }
82 inline void SetIsDataRetentionBotRegistered(bool value) {
83 m_isDataRetentionBotRegisteredHasBeenSet = true;
84 m_isDataRetentionBotRegistered = value;
85 }
88 return *this;
89 }
91
93
96 inline bool GetIsDataRetentionServiceEnabled() const { return m_isDataRetentionServiceEnabled; }
97 inline void SetIsDataRetentionServiceEnabled(bool value) {
98 m_isDataRetentionServiceEnabledHasBeenSet = true;
99 m_isDataRetentionServiceEnabled = value;
100 }
103 return *this;
104 }
106
108
112 inline bool GetIsPubkeyMsgAcked() const { return m_isPubkeyMsgAcked; }
113 inline void SetIsPubkeyMsgAcked(bool value) {
114 m_isPubkeyMsgAckedHasBeenSet = true;
115 m_isPubkeyMsgAcked = value;
116 }
118 SetIsPubkeyMsgAcked(value);
119 return *this;
120 }
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template <typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) {
128 m_requestIdHasBeenSet = true;
129 m_requestId = std::forward<RequestIdT>(value);
130 }
131 template <typename RequestIdT = Aws::String>
133 SetRequestId(std::forward<RequestIdT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_botName;
139
140 bool m_botExists{false};
141
142 bool m_isBotActive{false};
143
144 bool m_isDataRetentionBotRegistered{false};
145
146 bool m_isDataRetentionServiceEnabled{false};
147
148 bool m_isPubkeyMsgAcked{false};
149
150 Aws::String m_requestId;
151 bool m_botNameHasBeenSet = false;
152 bool m_botExistsHasBeenSet = false;
153 bool m_isBotActiveHasBeenSet = false;
154 bool m_isDataRetentionBotRegisteredHasBeenSet = false;
155 bool m_isDataRetentionServiceEnabledHasBeenSet = false;
156 bool m_isPubkeyMsgAckedHasBeenSet = false;
157 bool m_requestIdHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Wickr
162} // 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)
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