AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 SamlStatusEnum GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(SamlStatusEnum value) { m_statusHasBeenSet = true; m_status = value; }
60 inline SamlProperties& WithStatus(SamlStatusEnum value) { SetStatus(value); return *this;}
62
64
69 inline const Aws::String& GetUserAccessUrl() const { return m_userAccessUrl; }
70 inline bool UserAccessUrlHasBeenSet() const { return m_userAccessUrlHasBeenSet; }
71 template<typename UserAccessUrlT = Aws::String>
72 void SetUserAccessUrl(UserAccessUrlT&& value) { m_userAccessUrlHasBeenSet = true; m_userAccessUrl = std::forward<UserAccessUrlT>(value); }
73 template<typename UserAccessUrlT = Aws::String>
74 SamlProperties& WithUserAccessUrl(UserAccessUrlT&& value) { SetUserAccessUrl(std::forward<UserAccessUrlT>(value)); return *this;}
76
78
87 inline const Aws::String& GetRelayStateParameterName() const { return m_relayStateParameterName; }
88 inline bool RelayStateParameterNameHasBeenSet() const { return m_relayStateParameterNameHasBeenSet; }
89 template<typename RelayStateParameterNameT = Aws::String>
90 void SetRelayStateParameterName(RelayStateParameterNameT&& value) { m_relayStateParameterNameHasBeenSet = true; m_relayStateParameterName = std::forward<RelayStateParameterNameT>(value); }
91 template<typename RelayStateParameterNameT = Aws::String>
92 SamlProperties& WithRelayStateParameterName(RelayStateParameterNameT&& value) { SetRelayStateParameterName(std::forward<RelayStateParameterNameT>(value)); return *this;}
94 private:
95
97 bool m_statusHasBeenSet = false;
98
99 Aws::String m_userAccessUrl;
100 bool m_userAccessUrlHasBeenSet = false;
101
102 Aws::String m_relayStateParameterName;
103 bool m_relayStateParameterNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace WorkSpaces
108} // namespace Aws
const Aws::String & GetUserAccessUrl() const
const Aws::String & GetRelayStateParameterName() const
void SetRelayStateParameterName(RelayStateParameterNameT &&value)
AWS_WORKSPACES_API SamlProperties()=default
void SetStatus(SamlStatusEnum value)
SamlProperties & WithUserAccessUrl(UserAccessUrlT &&value)
SamlProperties & WithRelayStateParameterName(RelayStateParameterNameT &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
SamlProperties & WithStatus(SamlStatusEnum value)
void SetUserAccessUrl(UserAccessUrlT &&value)
AWS_WORKSPACES_API SamlProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API SamlProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue