AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateBotRequest.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 CreateBotRequest() = 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 "CreateBot"; }
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 CreateBotRequest& WithNetworkId(NetworkIdT&& value) {
44 SetNetworkId(std::forward<NetworkIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetUsername() const { return m_username; }
55 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
56 template <typename UsernameT = Aws::String>
57 void SetUsername(UsernameT&& value) {
58 m_usernameHasBeenSet = true;
59 m_username = std::forward<UsernameT>(value);
60 }
61 template <typename UsernameT = Aws::String>
62 CreateBotRequest& WithUsername(UsernameT&& value) {
63 SetUsername(std::forward<UsernameT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetDisplayName() const { return m_displayName; }
74 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
75 template <typename DisplayNameT = Aws::String>
76 void SetDisplayName(DisplayNameT&& value) {
77 m_displayNameHasBeenSet = true;
78 m_displayName = std::forward<DisplayNameT>(value);
79 }
80 template <typename DisplayNameT = Aws::String>
81 CreateBotRequest& WithDisplayName(DisplayNameT&& value) {
82 SetDisplayName(std::forward<DisplayNameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetGroupId() const { return m_groupId; }
92 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
93 template <typename GroupIdT = Aws::String>
94 void SetGroupId(GroupIdT&& value) {
95 m_groupIdHasBeenSet = true;
96 m_groupId = std::forward<GroupIdT>(value);
97 }
98 template <typename GroupIdT = Aws::String>
99 CreateBotRequest& WithGroupId(GroupIdT&& value) {
100 SetGroupId(std::forward<GroupIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetChallenge() const { return m_challenge; }
110 inline bool ChallengeHasBeenSet() const { return m_challengeHasBeenSet; }
111 template <typename ChallengeT = Aws::String>
112 void SetChallenge(ChallengeT&& value) {
113 m_challengeHasBeenSet = true;
114 m_challenge = std::forward<ChallengeT>(value);
115 }
116 template <typename ChallengeT = Aws::String>
117 CreateBotRequest& WithChallenge(ChallengeT&& value) {
118 SetChallenge(std::forward<ChallengeT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_networkId;
124
125 Aws::String m_username;
126
127 Aws::String m_displayName;
128
129 Aws::String m_groupId;
130
131 Aws::String m_challenge;
132 bool m_networkIdHasBeenSet = false;
133 bool m_usernameHasBeenSet = false;
134 bool m_displayNameHasBeenSet = false;
135 bool m_groupIdHasBeenSet = false;
136 bool m_challengeHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Wickr
141} // namespace Aws
const Aws::String & GetDisplayName() const
CreateBotRequest & WithGroupId(GroupIdT &&value)
CreateBotRequest & WithChallenge(ChallengeT &&value)
CreateBotRequest & WithDisplayName(DisplayNameT &&value)
void SetUsername(UsernameT &&value)
const Aws::String & GetChallenge() const
const Aws::String & GetUsername() const
AWS_WICKR_API CreateBotRequest()=default
void SetNetworkId(NetworkIdT &&value)
AWS_WICKR_API Aws::String SerializePayload() const override
const Aws::String & GetNetworkId() const
const Aws::String & GetGroupId() const
void SetDisplayName(DisplayNameT &&value)
CreateBotRequest & WithUsername(UsernameT &&value)
void SetChallenge(ChallengeT &&value)
virtual const char * GetServiceRequestName() const override
CreateBotRequest & WithNetworkId(NetworkIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String