AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackNameT = Aws::String>
49 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
50 template<typename StackNameT = Aws::String>
51 UserStackAssociation& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetUserName() const { return m_userName; }
60 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
61 template<typename UserNameT = Aws::String>
62 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
63 template<typename UserNameT = Aws::String>
64 UserStackAssociation& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
66
68
71 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
72 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
73 inline void SetAuthenticationType(AuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
76
78
82 inline bool GetSendEmailNotification() const { return m_sendEmailNotification; }
83 inline bool SendEmailNotificationHasBeenSet() const { return m_sendEmailNotificationHasBeenSet; }
84 inline void SetSendEmailNotification(bool value) { m_sendEmailNotificationHasBeenSet = true; m_sendEmailNotification = value; }
85 inline UserStackAssociation& WithSendEmailNotification(bool value) { SetSendEmailNotification(value); return *this;}
87 private:
88
89 Aws::String m_stackName;
90 bool m_stackNameHasBeenSet = false;
91
92 Aws::String m_userName;
93 bool m_userNameHasBeenSet = false;
94
96 bool m_authenticationTypeHasBeenSet = false;
97
98 bool m_sendEmailNotification{false};
99 bool m_sendEmailNotificationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace AppStream
104} // namespace Aws
UserStackAssociation & WithSendEmailNotification(bool value)
void SetAuthenticationType(AuthenticationType value)
AWS_APPSTREAM_API UserStackAssociation(Aws::Utils::Json::JsonView jsonValue)
UserStackAssociation & WithAuthenticationType(AuthenticationType value)
AWS_APPSTREAM_API UserStackAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API UserStackAssociation()=default
UserStackAssociation & WithUserName(UserNameT &&value)
UserStackAssociation & WithStackName(StackNameT &&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