AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceUserSummary.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 InstanceUserSummary();
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API InstanceUserSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API InstanceUserSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAssociationDate() const{ return m_associationDate; }
47 inline bool AssociationDateHasBeenSet() const { return m_associationDateHasBeenSet; }
48 inline void SetAssociationDate(const Aws::String& value) { m_associationDateHasBeenSet = true; m_associationDate = value; }
49 inline void SetAssociationDate(Aws::String&& value) { m_associationDateHasBeenSet = true; m_associationDate = std::move(value); }
50 inline void SetAssociationDate(const char* value) { m_associationDateHasBeenSet = true; m_associationDate.assign(value); }
51 inline InstanceUserSummary& WithAssociationDate(const Aws::String& value) { SetAssociationDate(value); return *this;}
52 inline InstanceUserSummary& WithAssociationDate(Aws::String&& value) { SetAssociationDate(std::move(value)); return *this;}
53 inline InstanceUserSummary& WithAssociationDate(const char* value) { SetAssociationDate(value); return *this;}
55
57
60 inline const Aws::String& GetDisassociationDate() const{ return m_disassociationDate; }
61 inline bool DisassociationDateHasBeenSet() const { return m_disassociationDateHasBeenSet; }
62 inline void SetDisassociationDate(const Aws::String& value) { m_disassociationDateHasBeenSet = true; m_disassociationDate = value; }
63 inline void SetDisassociationDate(Aws::String&& value) { m_disassociationDateHasBeenSet = true; m_disassociationDate = std::move(value); }
64 inline void SetDisassociationDate(const char* value) { m_disassociationDateHasBeenSet = true; m_disassociationDate.assign(value); }
65 inline InstanceUserSummary& WithDisassociationDate(const Aws::String& value) { SetDisassociationDate(value); return *this;}
66 inline InstanceUserSummary& WithDisassociationDate(Aws::String&& value) { SetDisassociationDate(std::move(value)); return *this;}
67 inline InstanceUserSummary& WithDisassociationDate(const char* value) { SetDisassociationDate(value); return *this;}
69
71
74 inline const Aws::String& GetDomain() const{ return m_domain; }
75 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
76 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
77 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
78 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
79 inline InstanceUserSummary& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
80 inline InstanceUserSummary& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
81 inline InstanceUserSummary& WithDomain(const char* value) { SetDomain(value); return *this;}
83
85
88 inline const IdentityProvider& GetIdentityProvider() const{ return m_identityProvider; }
89 inline bool IdentityProviderHasBeenSet() const { return m_identityProviderHasBeenSet; }
90 inline void SetIdentityProvider(const IdentityProvider& value) { m_identityProviderHasBeenSet = true; m_identityProvider = value; }
91 inline void SetIdentityProvider(IdentityProvider&& value) { m_identityProviderHasBeenSet = true; m_identityProvider = std::move(value); }
93 inline InstanceUserSummary& WithIdentityProvider(IdentityProvider&& value) { SetIdentityProvider(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
101 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
102 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
103 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
104 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
105 inline InstanceUserSummary& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
106 inline InstanceUserSummary& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
107 inline InstanceUserSummary& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
109
111
114 inline const Aws::String& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
119 inline InstanceUserSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
120 inline InstanceUserSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
121 inline InstanceUserSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
123
125
128 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
129 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
130 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
131 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
132 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
133 inline InstanceUserSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
134 inline InstanceUserSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
135 inline InstanceUserSummary& WithStatusMessage(const char* value) { SetStatusMessage(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 InstanceUserSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
148 inline InstanceUserSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
149 inline InstanceUserSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
151 private:
152
153 Aws::String m_associationDate;
154 bool m_associationDateHasBeenSet = false;
155
156 Aws::String m_disassociationDate;
157 bool m_disassociationDateHasBeenSet = false;
158
159 Aws::String m_domain;
160 bool m_domainHasBeenSet = false;
161
162 IdentityProvider m_identityProvider;
163 bool m_identityProviderHasBeenSet = false;
164
165 Aws::String m_instanceId;
166 bool m_instanceIdHasBeenSet = false;
167
168 Aws::String m_status;
169 bool m_statusHasBeenSet = false;
170
171 Aws::String m_statusMessage;
172 bool m_statusMessageHasBeenSet = false;
173
174 Aws::String m_username;
175 bool m_usernameHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace LicenseManagerUserSubscriptions
180} // namespace Aws
InstanceUserSummary & WithStatus(const Aws::String &value)
InstanceUserSummary & WithAssociationDate(Aws::String &&value)
InstanceUserSummary & WithIdentityProvider(IdentityProvider &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceUserSummary & WithDomain(const Aws::String &value)
InstanceUserSummary & WithStatusMessage(const Aws::String &value)
InstanceUserSummary & WithUsername(const Aws::String &value)
InstanceUserSummary & WithIdentityProvider(const IdentityProvider &value)
InstanceUserSummary & WithDisassociationDate(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API InstanceUserSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API InstanceUserSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API InstanceUserSummary()
InstanceUserSummary & WithDisassociationDate(Aws::String &&value)
InstanceUserSummary & WithInstanceId(const Aws::String &value)
InstanceUserSummary & WithAssociationDate(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue