AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProductUserSummary.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager-user-subscriptions/model/IdentityProvider.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LicenseManagerUserSubscriptions
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary();
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDomain() const{ return m_domain; }
47 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
48 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
49 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
50 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
51 inline ProductUserSummary& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
52 inline ProductUserSummary& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
53 inline ProductUserSummary& WithDomain(const char* value) { SetDomain(value); return *this;}
55
57
60 inline const IdentityProvider& GetIdentityProvider() const{ return m_identityProvider; }
61 inline bool IdentityProviderHasBeenSet() const { return m_identityProviderHasBeenSet; }
62 inline void SetIdentityProvider(const IdentityProvider& value) { m_identityProviderHasBeenSet = true; m_identityProvider = value; }
63 inline void SetIdentityProvider(IdentityProvider&& value) { m_identityProviderHasBeenSet = true; m_identityProvider = std::move(value); }
64 inline ProductUserSummary& WithIdentityProvider(const IdentityProvider& value) { SetIdentityProvider(value); return *this;}
65 inline ProductUserSummary& WithIdentityProvider(IdentityProvider&& value) { SetIdentityProvider(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetProduct() const{ return m_product; }
73 inline bool ProductHasBeenSet() const { return m_productHasBeenSet; }
74 inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; }
75 inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); }
76 inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); }
77 inline ProductUserSummary& WithProduct(const Aws::String& value) { SetProduct(value); return *this;}
78 inline ProductUserSummary& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;}
79 inline ProductUserSummary& WithProduct(const char* value) { SetProduct(value); return *this;}
81
83
86 inline const Aws::String& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
91 inline ProductUserSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
92 inline ProductUserSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
93 inline ProductUserSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
95
97
100 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
101 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
102 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
103 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
104 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
105 inline ProductUserSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
106 inline ProductUserSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
107 inline ProductUserSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
109
111
114 inline const Aws::String& GetSubscriptionEndDate() const{ return m_subscriptionEndDate; }
115 inline bool SubscriptionEndDateHasBeenSet() const { return m_subscriptionEndDateHasBeenSet; }
116 inline void SetSubscriptionEndDate(const Aws::String& value) { m_subscriptionEndDateHasBeenSet = true; m_subscriptionEndDate = value; }
117 inline void SetSubscriptionEndDate(Aws::String&& value) { m_subscriptionEndDateHasBeenSet = true; m_subscriptionEndDate = std::move(value); }
118 inline void SetSubscriptionEndDate(const char* value) { m_subscriptionEndDateHasBeenSet = true; m_subscriptionEndDate.assign(value); }
120 inline ProductUserSummary& WithSubscriptionEndDate(Aws::String&& value) { SetSubscriptionEndDate(std::move(value)); return *this;}
121 inline ProductUserSummary& WithSubscriptionEndDate(const char* value) { SetSubscriptionEndDate(value); return *this;}
123
125
128 inline const Aws::String& GetSubscriptionStartDate() const{ return m_subscriptionStartDate; }
129 inline bool SubscriptionStartDateHasBeenSet() const { return m_subscriptionStartDateHasBeenSet; }
130 inline void SetSubscriptionStartDate(const Aws::String& value) { m_subscriptionStartDateHasBeenSet = true; m_subscriptionStartDate = value; }
131 inline void SetSubscriptionStartDate(Aws::String&& value) { m_subscriptionStartDateHasBeenSet = true; m_subscriptionStartDate = std::move(value); }
132 inline void SetSubscriptionStartDate(const char* value) { m_subscriptionStartDateHasBeenSet = true; m_subscriptionStartDate.assign(value); }
134 inline ProductUserSummary& WithSubscriptionStartDate(Aws::String&& value) { SetSubscriptionStartDate(std::move(value)); return *this;}
135 inline ProductUserSummary& WithSubscriptionStartDate(const char* value) { SetSubscriptionStartDate(value); return *this;}
137
139
142 inline const Aws::String& GetUsername() const{ return m_username; }
143 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
144 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
145 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
146 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
147 inline ProductUserSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
148 inline ProductUserSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
149 inline ProductUserSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
151 private:
152
153 Aws::String m_domain;
154 bool m_domainHasBeenSet = false;
155
156 IdentityProvider m_identityProvider;
157 bool m_identityProviderHasBeenSet = false;
158
159 Aws::String m_product;
160 bool m_productHasBeenSet = false;
161
162 Aws::String m_status;
163 bool m_statusHasBeenSet = false;
164
165 Aws::String m_statusMessage;
166 bool m_statusMessageHasBeenSet = false;
167
168 Aws::String m_subscriptionEndDate;
169 bool m_subscriptionEndDateHasBeenSet = false;
170
171 Aws::String m_subscriptionStartDate;
172 bool m_subscriptionStartDateHasBeenSet = false;
173
174 Aws::String m_username;
175 bool m_usernameHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace LicenseManagerUserSubscriptions
180} // namespace Aws
ProductUserSummary & WithSubscriptionStartDate(Aws::String &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ProductUserSummary & WithIdentityProvider(IdentityProvider &&value)
ProductUserSummary & WithIdentityProvider(const IdentityProvider &value)
ProductUserSummary & WithStatus(const Aws::String &value)
ProductUserSummary & WithUsername(const Aws::String &value)
ProductUserSummary & WithStatusMessage(const Aws::String &value)
ProductUserSummary & WithSubscriptionStartDate(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary()
ProductUserSummary & WithProduct(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary(Aws::Utils::Json::JsonView jsonValue)
ProductUserSummary & WithDomain(const Aws::String &value)
ProductUserSummary & WithSubscriptionEndDate(Aws::String &&value)
ProductUserSummary & WithSubscriptionEndDate(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API ProductUserSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProductUserSummary & WithSubscriptionStartDate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue