AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UserStackAssociation.h
Go to the documentation of this file.
1
6#pragma once
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 AppStream
23{
24namespace Model
25{
26
34 {
35 public:
40
41
45 inline const Aws::String& GetStackName() const{ return m_stackName; }
46
50 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
51
55 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
56
60 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
61
65 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
66
70 inline UserStackAssociation& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
71
75 inline UserStackAssociation& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
76
80 inline UserStackAssociation& WithStackName(const char* value) { SetStackName(value); return *this;}
81
82
87 inline const Aws::String& GetUserName() const{ return m_userName; }
88
93 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
94
99 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
100
105 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
106
111 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
112
117 inline UserStackAssociation& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
118
123 inline UserStackAssociation& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
124
129 inline UserStackAssociation& WithUserName(const char* value) { SetUserName(value); return *this;}
130
131
135 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
136
140 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
141
145 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
146
150 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
151
156
160 inline UserStackAssociation& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
161
162
167 inline bool GetSendEmailNotification() const{ return m_sendEmailNotification; }
168
173 inline bool SendEmailNotificationHasBeenSet() const { return m_sendEmailNotificationHasBeenSet; }
174
179 inline void SetSendEmailNotification(bool value) { m_sendEmailNotificationHasBeenSet = true; m_sendEmailNotification = value; }
180
186
187 private:
188
189 Aws::String m_stackName;
190 bool m_stackNameHasBeenSet = false;
191
192 Aws::String m_userName;
193 bool m_userNameHasBeenSet = false;
194
195 AuthenticationType m_authenticationType;
196 bool m_authenticationTypeHasBeenSet = false;
197
198 bool m_sendEmailNotification;
199 bool m_sendEmailNotificationHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace AppStream
204} // namespace Aws
#define AWS_APPSTREAM_API
UserStackAssociation & WithUserName(Aws::String &&value)
const AuthenticationType & GetAuthenticationType() const
UserStackAssociation & WithStackName(Aws::String &&value)
UserStackAssociation & WithAuthenticationType(const AuthenticationType &value)
UserStackAssociation & WithAuthenticationType(AuthenticationType &&value)
UserStackAssociation & WithSendEmailNotification(bool value)
UserStackAssociation & WithUserName(const char *value)
UserStackAssociation & WithUserName(const Aws::String &value)
AWS_APPSTREAM_API UserStackAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API UserStackAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationType(AuthenticationType &&value)
void SetAuthenticationType(const AuthenticationType &value)
UserStackAssociation & WithStackName(const char *value)
UserStackAssociation & WithStackName(const Aws::String &value)
void SetStackName(const Aws::String &value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String