AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BlockedGuestUser.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Wickr {
20namespace Model {
21
29 public:
30 AWS_WICKR_API BlockedGuestUser() = default;
33 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetUsername() const { return m_username; }
40 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
41 template <typename UsernameT = Aws::String>
42 void SetUsername(UsernameT&& value) {
43 m_usernameHasBeenSet = true;
44 m_username = std::forward<UsernameT>(value);
45 }
46 template <typename UsernameT = Aws::String>
47 BlockedGuestUser& WithUsername(UsernameT&& value) {
48 SetUsername(std::forward<UsernameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAdmin() const { return m_admin; }
58 inline bool AdminHasBeenSet() const { return m_adminHasBeenSet; }
59 template <typename AdminT = Aws::String>
60 void SetAdmin(AdminT&& value) {
61 m_adminHasBeenSet = true;
62 m_admin = std::forward<AdminT>(value);
63 }
64 template <typename AdminT = Aws::String>
65 BlockedGuestUser& WithAdmin(AdminT&& value) {
66 SetAdmin(std::forward<AdminT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetModified() const { return m_modified; }
76 inline bool ModifiedHasBeenSet() const { return m_modifiedHasBeenSet; }
77 template <typename ModifiedT = Aws::String>
78 void SetModified(ModifiedT&& value) {
79 m_modifiedHasBeenSet = true;
80 m_modified = std::forward<ModifiedT>(value);
81 }
82 template <typename ModifiedT = Aws::String>
83 BlockedGuestUser& WithModified(ModifiedT&& value) {
84 SetModified(std::forward<ModifiedT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetUsernameHash() const { return m_usernameHash; }
94 inline bool UsernameHashHasBeenSet() const { return m_usernameHashHasBeenSet; }
95 template <typename UsernameHashT = Aws::String>
96 void SetUsernameHash(UsernameHashT&& value) {
97 m_usernameHashHasBeenSet = true;
98 m_usernameHash = std::forward<UsernameHashT>(value);
99 }
100 template <typename UsernameHashT = Aws::String>
101 BlockedGuestUser& WithUsernameHash(UsernameHashT&& value) {
102 SetUsernameHash(std::forward<UsernameHashT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_username;
108
109 Aws::String m_admin;
110
111 Aws::String m_modified;
112
113 Aws::String m_usernameHash;
114 bool m_usernameHasBeenSet = false;
115 bool m_adminHasBeenSet = false;
116 bool m_modifiedHasBeenSet = false;
117 bool m_usernameHashHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Wickr
122} // namespace Aws
const Aws::String & GetModified() const
BlockedGuestUser & WithUsername(UsernameT &&value)
const Aws::String & GetUsernameHash() const
const Aws::String & GetUsername() const
AWS_WICKR_API BlockedGuestUser(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAdmin() const
BlockedGuestUser & WithUsernameHash(UsernameHashT &&value)
AWS_WICKR_API BlockedGuestUser & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModified(ModifiedT &&value)
void SetUsername(UsernameT &&value)
BlockedGuestUser & WithAdmin(AdminT &&value)
void SetUsernameHash(UsernameHashT &&value)
BlockedGuestUser & WithModified(ModifiedT &&value)
AWS_WICKR_API BlockedGuestUser()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue