AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserStackAssociation.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/AuthenticationType.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 AppStream
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSTREAM_API UserStackAssociation();
39 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetStackName() const{ return m_stackName; }
47 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
48 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
49 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
50 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
51 inline UserStackAssociation& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
52 inline UserStackAssociation& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
53 inline UserStackAssociation& WithStackName(const char* value) { SetStackName(value); return *this;}
55
57
61 inline const Aws::String& GetUserName() const{ return m_userName; }
62 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
63 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
64 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
65 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
66 inline UserStackAssociation& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
67 inline UserStackAssociation& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
68 inline UserStackAssociation& WithUserName(const char* value) { SetUserName(value); return *this;}
70
72
75 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
76 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
77 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
78 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
80 inline UserStackAssociation& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
82
84
88 inline bool GetSendEmailNotification() const{ return m_sendEmailNotification; }
89 inline bool SendEmailNotificationHasBeenSet() const { return m_sendEmailNotificationHasBeenSet; }
90 inline void SetSendEmailNotification(bool value) { m_sendEmailNotificationHasBeenSet = true; m_sendEmailNotification = value; }
91 inline UserStackAssociation& WithSendEmailNotification(bool value) { SetSendEmailNotification(value); return *this;}
93 private:
94
95 Aws::String m_stackName;
96 bool m_stackNameHasBeenSet = false;
97
98 Aws::String m_userName;
99 bool m_userNameHasBeenSet = false;
100
101 AuthenticationType m_authenticationType;
102 bool m_authenticationTypeHasBeenSet = false;
103
104 bool m_sendEmailNotification;
105 bool m_sendEmailNotificationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace AppStream
110} // namespace Aws
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)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue