AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GuestUser.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
28class GuestUser {
29 public:
30 AWS_WICKR_API GuestUser() = default;
31 AWS_WICKR_API GuestUser(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetBillingPeriod() const { return m_billingPeriod; }
41 inline bool BillingPeriodHasBeenSet() const { return m_billingPeriodHasBeenSet; }
42 template <typename BillingPeriodT = Aws::String>
43 void SetBillingPeriod(BillingPeriodT&& value) {
44 m_billingPeriodHasBeenSet = true;
45 m_billingPeriod = std::forward<BillingPeriodT>(value);
46 }
47 template <typename BillingPeriodT = Aws::String>
48 GuestUser& WithBillingPeriod(BillingPeriodT&& value) {
49 SetBillingPeriod(std::forward<BillingPeriodT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetUsername() const { return m_username; }
59 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
60 template <typename UsernameT = Aws::String>
61 void SetUsername(UsernameT&& value) {
62 m_usernameHasBeenSet = true;
63 m_username = std::forward<UsernameT>(value);
64 }
65 template <typename UsernameT = Aws::String>
66 GuestUser& WithUsername(UsernameT&& value) {
67 SetUsername(std::forward<UsernameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetUsernameHash() const { return m_usernameHash; }
77 inline bool UsernameHashHasBeenSet() const { return m_usernameHashHasBeenSet; }
78 template <typename UsernameHashT = Aws::String>
79 void SetUsernameHash(UsernameHashT&& value) {
80 m_usernameHashHasBeenSet = true;
81 m_usernameHash = std::forward<UsernameHashT>(value);
82 }
83 template <typename UsernameHashT = Aws::String>
84 GuestUser& WithUsernameHash(UsernameHashT&& value) {
85 SetUsernameHash(std::forward<UsernameHashT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_billingPeriod;
91
92 Aws::String m_username;
93
94 Aws::String m_usernameHash;
95 bool m_billingPeriodHasBeenSet = false;
96 bool m_usernameHasBeenSet = false;
97 bool m_usernameHashHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Wickr
102} // namespace Aws
GuestUser & WithUsernameHash(UsernameHashT &&value)
Definition GuestUser.h:84
bool BillingPeriodHasBeenSet() const
Definition GuestUser.h:41
AWS_WICKR_API GuestUser()=default
void SetBillingPeriod(BillingPeriodT &&value)
Definition GuestUser.h:43
GuestUser & WithBillingPeriod(BillingPeriodT &&value)
Definition GuestUser.h:48
AWS_WICKR_API GuestUser & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUsernameHash() const
Definition GuestUser.h:76
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
bool UsernameHashHasBeenSet() const
Definition GuestUser.h:77
const Aws::String & GetUsername() const
Definition GuestUser.h:58
AWS_WICKR_API GuestUser(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBillingPeriod() const
Definition GuestUser.h:40
void SetUsername(UsernameT &&value)
Definition GuestUser.h:61
GuestUser & WithUsername(UsernameT &&value)
Definition GuestUser.h:66
void SetUsernameHash(UsernameHashT &&value)
Definition GuestUser.h:79
bool UsernameHasBeenSet() const
Definition GuestUser.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue