AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SingleSignOn.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AuthType.h>
9#include <aws/datazone/model/UserAssignment.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API SingleSignOn();
36 AWS_DATAZONE_API SingleSignOn(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AuthType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const AuthType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(AuthType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline SingleSignOn& WithType(const AuthType& value) { SetType(value); return *this;}
50 inline SingleSignOn& WithType(AuthType&& value) { SetType(std::move(value)); return *this;}
52
54
57 inline const UserAssignment& GetUserAssignment() const{ return m_userAssignment; }
58 inline bool UserAssignmentHasBeenSet() const { return m_userAssignmentHasBeenSet; }
59 inline void SetUserAssignment(const UserAssignment& value) { m_userAssignmentHasBeenSet = true; m_userAssignment = value; }
60 inline void SetUserAssignment(UserAssignment&& value) { m_userAssignmentHasBeenSet = true; m_userAssignment = std::move(value); }
61 inline SingleSignOn& WithUserAssignment(const UserAssignment& value) { SetUserAssignment(value); return *this;}
62 inline SingleSignOn& WithUserAssignment(UserAssignment&& value) { SetUserAssignment(std::move(value)); return *this;}
64 private:
65
66 AuthType m_type;
67 bool m_typeHasBeenSet = false;
68
69 UserAssignment m_userAssignment;
70 bool m_userAssignmentHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DataZone
75} // namespace Aws
AWS_DATAZONE_API SingleSignOn(Aws::Utils::Json::JsonView jsonValue)
void SetUserAssignment(const UserAssignment &value)
SingleSignOn & WithType(AuthType &&value)
const UserAssignment & GetUserAssignment() const
void SetUserAssignment(UserAssignment &&value)
SingleSignOn & WithUserAssignment(const UserAssignment &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API SingleSignOn & operator=(Aws::Utils::Json::JsonView jsonValue)
SingleSignOn & WithType(const AuthType &value)
void SetType(AuthType &&value)
const AuthType & GetType() const
SingleSignOn & WithUserAssignment(UserAssignment &&value)
void SetType(const AuthType &value)
Aws::Utils::Json::JsonValue JsonValue