AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UserStackAssociation.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AuthenticationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppStream {
21namespace Model {
22
30 public:
31 AWS_APPSTREAM_API UserStackAssociation() = default;
34 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetStackName() const { return m_stackName; }
41 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
42 template <typename StackNameT = Aws::String>
43 void SetStackName(StackNameT&& value) {
44 m_stackNameHasBeenSet = true;
45 m_stackName = std::forward<StackNameT>(value);
46 }
47 template <typename StackNameT = Aws::String>
48 UserStackAssociation& WithStackName(StackNameT&& value) {
49 SetStackName(std::forward<StackNameT>(value));
50 return *this;
51 }
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) {
63 m_userNameHasBeenSet = true;
64 m_userName = std::forward<UserNameT>(value);
65 }
66 template <typename UserNameT = Aws::String>
67 UserStackAssociation& WithUserName(UserNameT&& value) {
68 SetUserName(std::forward<UserNameT>(value));
69 return *this;
70 }
72
74
77 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
78 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
80 m_authenticationTypeHasBeenSet = true;
81 m_authenticationType = value;
82 }
85 return *this;
86 }
88
90
94 inline bool GetSendEmailNotification() const { return m_sendEmailNotification; }
95 inline bool SendEmailNotificationHasBeenSet() const { return m_sendEmailNotificationHasBeenSet; }
96 inline void SetSendEmailNotification(bool value) {
97 m_sendEmailNotificationHasBeenSet = true;
98 m_sendEmailNotification = value;
99 }
102 return *this;
103 }
105 private:
106 Aws::String m_stackName;
107
108 Aws::String m_userName;
109
111
112 bool m_sendEmailNotification{false};
113 bool m_stackNameHasBeenSet = false;
114 bool m_userNameHasBeenSet = false;
115 bool m_authenticationTypeHasBeenSet = false;
116 bool m_sendEmailNotificationHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace AppStream
121} // 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