AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SamlAuthentication.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/SamlConfiguration.h>
9#include <aws/grafana/model/SamlConfigurationStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ManagedGrafana {
21namespace Model {
22
30 public:
31 AWS_MANAGEDGRAFANA_API SamlAuthentication() = default;
32 AWS_MANAGEDGRAFANA_API SamlAuthentication(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MANAGEDGRAFANA_API SamlAuthentication& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SamlConfiguration& GetConfiguration() const { return m_configuration; }
41 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
42 template <typename ConfigurationT = SamlConfiguration>
43 void SetConfiguration(ConfigurationT&& value) {
44 m_configurationHasBeenSet = true;
45 m_configuration = std::forward<ConfigurationT>(value);
46 }
47 template <typename ConfigurationT = SamlConfiguration>
48 SamlAuthentication& WithConfiguration(ConfigurationT&& value) {
49 SetConfiguration(std::forward<ConfigurationT>(value));
50 return *this;
51 }
53
55
58 inline SamlConfigurationStatus GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 m_statusHasBeenSet = true;
62 m_status = value;
63 }
65 SetStatus(value);
66 return *this;
67 }
69 private:
70 SamlConfiguration m_configuration;
71
73 bool m_configurationHasBeenSet = false;
74 bool m_statusHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ManagedGrafana
79} // namespace Aws
SamlAuthentication & WithConfiguration(ConfigurationT &&value)
const SamlConfiguration & GetConfiguration() const
AWS_MANAGEDGRAFANA_API SamlAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API SamlAuthentication(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API SamlAuthentication()=default
SamlAuthentication & WithStatus(SamlConfigurationStatus value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(SamlConfigurationStatus value)
Aws::Utils::Json::JsonValue JsonValue