AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateBotRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/WickrRequest.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Wickr {
15namespace Model {
16
20 public:
21 AWS_WICKR_API UpdateBotRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateBot"; }
28
29 AWS_WICKR_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetNetworkId() const { return m_networkId; }
36 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
37 template <typename NetworkIdT = Aws::String>
38 void SetNetworkId(NetworkIdT&& value) {
39 m_networkIdHasBeenSet = true;
40 m_networkId = std::forward<NetworkIdT>(value);
41 }
42 template <typename NetworkIdT = Aws::String>
43 UpdateBotRequest& WithNetworkId(NetworkIdT&& value) {
44 SetNetworkId(std::forward<NetworkIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetBotId() const { return m_botId; }
54 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
55 template <typename BotIdT = Aws::String>
56 void SetBotId(BotIdT&& value) {
57 m_botIdHasBeenSet = true;
58 m_botId = std::forward<BotIdT>(value);
59 }
60 template <typename BotIdT = Aws::String>
61 UpdateBotRequest& WithBotId(BotIdT&& value) {
62 SetBotId(std::forward<BotIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDisplayName() const { return m_displayName; }
72 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
73 template <typename DisplayNameT = Aws::String>
74 void SetDisplayName(DisplayNameT&& value) {
75 m_displayNameHasBeenSet = true;
76 m_displayName = std::forward<DisplayNameT>(value);
77 }
78 template <typename DisplayNameT = Aws::String>
79 UpdateBotRequest& WithDisplayName(DisplayNameT&& value) {
80 SetDisplayName(std::forward<DisplayNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetGroupId() const { return m_groupId; }
90 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
91 template <typename GroupIdT = Aws::String>
92 void SetGroupId(GroupIdT&& value) {
93 m_groupIdHasBeenSet = true;
94 m_groupId = std::forward<GroupIdT>(value);
95 }
96 template <typename GroupIdT = Aws::String>
97 UpdateBotRequest& WithGroupId(GroupIdT&& value) {
98 SetGroupId(std::forward<GroupIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetChallenge() const { return m_challenge; }
108 inline bool ChallengeHasBeenSet() const { return m_challengeHasBeenSet; }
109 template <typename ChallengeT = Aws::String>
110 void SetChallenge(ChallengeT&& value) {
111 m_challengeHasBeenSet = true;
112 m_challenge = std::forward<ChallengeT>(value);
113 }
114 template <typename ChallengeT = Aws::String>
115 UpdateBotRequest& WithChallenge(ChallengeT&& value) {
116 SetChallenge(std::forward<ChallengeT>(value));
117 return *this;
118 }
120
122
126 inline bool GetSuspend() const { return m_suspend; }
127 inline bool SuspendHasBeenSet() const { return m_suspendHasBeenSet; }
128 inline void SetSuspend(bool value) {
129 m_suspendHasBeenSet = true;
130 m_suspend = value;
131 }
132 inline UpdateBotRequest& WithSuspend(bool value) {
133 SetSuspend(value);
134 return *this;
135 }
137 private:
138 Aws::String m_networkId;
139
140 Aws::String m_botId;
141
142 Aws::String m_displayName;
143
144 Aws::String m_groupId;
145
146 Aws::String m_challenge;
147
148 bool m_suspend{false};
149 bool m_networkIdHasBeenSet = false;
150 bool m_botIdHasBeenSet = false;
151 bool m_displayNameHasBeenSet = false;
152 bool m_groupIdHasBeenSet = false;
153 bool m_challengeHasBeenSet = false;
154 bool m_suspendHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace Wickr
159} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBotRequest & WithChallenge(ChallengeT &&value)
void SetChallenge(ChallengeT &&value)
UpdateBotRequest & WithGroupId(GroupIdT &&value)
UpdateBotRequest & WithNetworkId(NetworkIdT &&value)
const Aws::String & GetNetworkId() const
void SetDisplayName(DisplayNameT &&value)
AWS_WICKR_API UpdateBotRequest()=default
const Aws::String & GetChallenge() const
const Aws::String & GetDisplayName() const
AWS_WICKR_API Aws::String SerializePayload() const override
const Aws::String & GetGroupId() const
UpdateBotRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetBotId() const
UpdateBotRequest & WithSuspend(bool value)
UpdateBotRequest & WithBotId(BotIdT &&value)
void SetNetworkId(NetworkIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String