AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
SamlProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/SamlStatusEnum.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace WorkSpaces {
21namespace Model {
22
31 public:
32 AWS_WORKSPACES_API SamlProperties() = default;
33 AWS_WORKSPACES_API SamlProperties(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACES_API SamlProperties& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
51 inline SamlStatusEnum GetStatus() const { return m_status; }
52 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 inline void SetStatus(SamlStatusEnum value) {
54 m_statusHasBeenSet = true;
55 m_status = value;
56 }
58 SetStatus(value);
59 return *this;
60 }
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) {
73 m_userAccessUrlHasBeenSet = true;
74 m_userAccessUrl = std::forward<UserAccessUrlT>(value);
75 }
76 template <typename UserAccessUrlT = Aws::String>
77 SamlProperties& WithUserAccessUrl(UserAccessUrlT&& value) {
78 SetUserAccessUrl(std::forward<UserAccessUrlT>(value));
79 return *this;
80 }
82
84
93 inline const Aws::String& GetRelayStateParameterName() const { return m_relayStateParameterName; }
94 inline bool RelayStateParameterNameHasBeenSet() const { return m_relayStateParameterNameHasBeenSet; }
95 template <typename RelayStateParameterNameT = Aws::String>
96 void SetRelayStateParameterName(RelayStateParameterNameT&& value) {
97 m_relayStateParameterNameHasBeenSet = true;
98 m_relayStateParameterName = std::forward<RelayStateParameterNameT>(value);
99 }
100 template <typename RelayStateParameterNameT = Aws::String>
101 SamlProperties& WithRelayStateParameterName(RelayStateParameterNameT&& value) {
102 SetRelayStateParameterName(std::forward<RelayStateParameterNameT>(value));
103 return *this;
104 }
106 private:
108
109 Aws::String m_userAccessUrl;
110
111 Aws::String m_relayStateParameterName;
112 bool m_statusHasBeenSet = false;
113 bool m_userAccessUrlHasBeenSet = false;
114 bool m_relayStateParameterNameHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace WorkSpaces
119} // 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)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
SamlProperties & WithRelayStateParameterName(RelayStateParameterNameT &&value)
SamlProperties & WithStatus(SamlStatusEnum value)
void SetUserAccessUrl(UserAccessUrlT &&value)
AWS_WORKSPACES_API SamlProperties & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API SamlProperties(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String