AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchReinviteUserRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wickr/WickrRequest.h>
11#include <aws/wickr/Wickr_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Wickr {
17namespace Model {
18
22 public:
23 AWS_WICKR_API BatchReinviteUserRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "BatchReinviteUser"; }
30
31 AWS_WICKR_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetNetworkId() const { return m_networkId; }
40 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
41 template <typename NetworkIdT = Aws::String>
42 void SetNetworkId(NetworkIdT&& value) {
43 m_networkIdHasBeenSet = true;
44 m_networkId = std::forward<NetworkIdT>(value);
45 }
46 template <typename NetworkIdT = Aws::String>
48 SetNetworkId(std::forward<NetworkIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::Vector<Aws::String>& GetUserIds() const { return m_userIds; }
59 inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; }
60 template <typename UserIdsT = Aws::Vector<Aws::String>>
61 void SetUserIds(UserIdsT&& value) {
62 m_userIdsHasBeenSet = true;
63 m_userIds = std::forward<UserIdsT>(value);
64 }
65 template <typename UserIdsT = Aws::Vector<Aws::String>>
67 SetUserIds(std::forward<UserIdsT>(value));
68 return *this;
69 }
70 template <typename UserIdsT = Aws::String>
72 m_userIdsHasBeenSet = true;
73 m_userIds.emplace_back(std::forward<UserIdsT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetClientToken() const { return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 template <typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) {
86 m_clientTokenHasBeenSet = true;
87 m_clientToken = std::forward<ClientTokenT>(value);
88 }
89 template <typename ClientTokenT = Aws::String>
91 SetClientToken(std::forward<ClientTokenT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_networkId;
97
99
101 bool m_networkIdHasBeenSet = false;
102 bool m_userIdsHasBeenSet = false;
103 bool m_clientTokenHasBeenSet = true;
104};
105
106} // namespace Model
107} // namespace Wickr
108} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
BatchReinviteUserRequest & WithClientToken(ClientTokenT &&value)
BatchReinviteUserRequest & AddUserIds(UserIdsT &&value)
AWS_WICKR_API Aws::String SerializePayload() const override
BatchReinviteUserRequest & WithUserIds(UserIdsT &&value)
BatchReinviteUserRequest & WithNetworkId(NetworkIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WICKR_API BatchReinviteUserRequest()=default
const Aws::Vector< Aws::String > & GetUserIds() const
AWS_WICKR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector