AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SamlProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/SamlStatusEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.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 WorkSpaces
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_WORKSPACES_API SamlProperties();
38 AWS_WORKSPACES_API SamlProperties(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WORKSPACES_API SamlProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
57 inline const SamlStatusEnum& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const SamlStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(SamlStatusEnum&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline SamlProperties& WithStatus(const SamlStatusEnum& value) { SetStatus(value); return *this;}
62 inline SamlProperties& WithStatus(SamlStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
64
66
71 inline const Aws::String& GetUserAccessUrl() const{ return m_userAccessUrl; }
72 inline bool UserAccessUrlHasBeenSet() const { return m_userAccessUrlHasBeenSet; }
73 inline void SetUserAccessUrl(const Aws::String& value) { m_userAccessUrlHasBeenSet = true; m_userAccessUrl = value; }
74 inline void SetUserAccessUrl(Aws::String&& value) { m_userAccessUrlHasBeenSet = true; m_userAccessUrl = std::move(value); }
75 inline void SetUserAccessUrl(const char* value) { m_userAccessUrlHasBeenSet = true; m_userAccessUrl.assign(value); }
76 inline SamlProperties& WithUserAccessUrl(const Aws::String& value) { SetUserAccessUrl(value); return *this;}
77 inline SamlProperties& WithUserAccessUrl(Aws::String&& value) { SetUserAccessUrl(std::move(value)); return *this;}
78 inline SamlProperties& WithUserAccessUrl(const char* value) { SetUserAccessUrl(value); return *this;}
80
82
91 inline const Aws::String& GetRelayStateParameterName() const{ return m_relayStateParameterName; }
92 inline bool RelayStateParameterNameHasBeenSet() const { return m_relayStateParameterNameHasBeenSet; }
93 inline void SetRelayStateParameterName(const Aws::String& value) { m_relayStateParameterNameHasBeenSet = true; m_relayStateParameterName = value; }
94 inline void SetRelayStateParameterName(Aws::String&& value) { m_relayStateParameterNameHasBeenSet = true; m_relayStateParameterName = std::move(value); }
95 inline void SetRelayStateParameterName(const char* value) { m_relayStateParameterNameHasBeenSet = true; m_relayStateParameterName.assign(value); }
97 inline SamlProperties& WithRelayStateParameterName(Aws::String&& value) { SetRelayStateParameterName(std::move(value)); return *this;}
98 inline SamlProperties& WithRelayStateParameterName(const char* value) { SetRelayStateParameterName(value); return *this;}
100 private:
101
102 SamlStatusEnum m_status;
103 bool m_statusHasBeenSet = false;
104
105 Aws::String m_userAccessUrl;
106 bool m_userAccessUrlHasBeenSet = false;
107
108 Aws::String m_relayStateParameterName;
109 bool m_relayStateParameterNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace WorkSpaces
114} // namespace Aws
const Aws::String & GetUserAccessUrl() const
const Aws::String & GetRelayStateParameterName() const
SamlProperties & WithUserAccessUrl(const char *value)
void SetStatus(const SamlStatusEnum &value)
SamlProperties & WithRelayStateParameterName(const Aws::String &value)
void SetRelayStateParameterName(Aws::String &&value)
void SetUserAccessUrl(const char *value)
SamlProperties & WithStatus(SamlStatusEnum &&value)
void SetStatus(SamlStatusEnum &&value)
SamlProperties & WithRelayStateParameterName(Aws::String &&value)
void SetUserAccessUrl(Aws::String &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelayStateParameterName(const Aws::String &value)
SamlProperties & WithUserAccessUrl(Aws::String &&value)
SamlProperties & WithUserAccessUrl(const Aws::String &value)
SamlProperties & WithStatus(const SamlStatusEnum &value)
SamlProperties & WithRelayStateParameterName(const char *value)
void SetUserAccessUrl(const Aws::String &value)
AWS_WORKSPACES_API SamlProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API SamlProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelayStateParameterName(const char *value)
const SamlStatusEnum & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue