AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateGuestUserRequest.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 UpdateGuestUserRequest() = 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 "UpdateGuestUser"; }
28
29 AWS_WICKR_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetNetworkId() const { return m_networkId; }
37 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
38 template <typename NetworkIdT = Aws::String>
39 void SetNetworkId(NetworkIdT&& value) {
40 m_networkIdHasBeenSet = true;
41 m_networkId = std::forward<NetworkIdT>(value);
42 }
43 template <typename NetworkIdT = Aws::String>
45 SetNetworkId(std::forward<NetworkIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUsernameHash() const { return m_usernameHash; }
55 inline bool UsernameHashHasBeenSet() const { return m_usernameHashHasBeenSet; }
56 template <typename UsernameHashT = Aws::String>
57 void SetUsernameHash(UsernameHashT&& value) {
58 m_usernameHashHasBeenSet = true;
59 m_usernameHash = std::forward<UsernameHashT>(value);
60 }
61 template <typename UsernameHashT = Aws::String>
62 UpdateGuestUserRequest& WithUsernameHash(UsernameHashT&& value) {
63 SetUsernameHash(std::forward<UsernameHashT>(value));
64 return *this;
65 }
67
69
72 inline bool GetBlock() const { return m_block; }
73 inline bool BlockHasBeenSet() const { return m_blockHasBeenSet; }
74 inline void SetBlock(bool value) {
75 m_blockHasBeenSet = true;
76 m_block = value;
77 }
78 inline UpdateGuestUserRequest& WithBlock(bool value) {
79 SetBlock(value);
80 return *this;
81 }
83 private:
84 Aws::String m_networkId;
85
86 Aws::String m_usernameHash;
87
88 bool m_block{false};
89 bool m_networkIdHasBeenSet = false;
90 bool m_usernameHashHasBeenSet = false;
91 bool m_blockHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Wickr
96} // namespace Aws
UpdateGuestUserRequest & WithBlock(bool value)
virtual const char * GetServiceRequestName() const override
UpdateGuestUserRequest & WithNetworkId(NetworkIdT &&value)
UpdateGuestUserRequest & WithUsernameHash(UsernameHashT &&value)
AWS_WICKR_API UpdateGuestUserRequest()=default
AWS_WICKR_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String