AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SamlConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_QBUSINESS_API SamlConfiguration() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMetadataXML() const { return m_metadataXML; }
47 inline bool MetadataXMLHasBeenSet() const { return m_metadataXMLHasBeenSet; }
48 template<typename MetadataXMLT = Aws::String>
49 void SetMetadataXML(MetadataXMLT&& value) { m_metadataXMLHasBeenSet = true; m_metadataXML = std::forward<MetadataXMLT>(value); }
50 template<typename MetadataXMLT = Aws::String>
51 SamlConfiguration& WithMetadataXML(MetadataXMLT&& value) { SetMetadataXML(std::forward<MetadataXMLT>(value)); return *this;}
53
55
61 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
62 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
63 template<typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<typename RoleArnT = Aws::String>
66 SamlConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetUserIdAttribute() const { return m_userIdAttribute; }
74 inline bool UserIdAttributeHasBeenSet() const { return m_userIdAttributeHasBeenSet; }
75 template<typename UserIdAttributeT = Aws::String>
76 void SetUserIdAttribute(UserIdAttributeT&& value) { m_userIdAttributeHasBeenSet = true; m_userIdAttribute = std::forward<UserIdAttributeT>(value); }
77 template<typename UserIdAttributeT = Aws::String>
78 SamlConfiguration& WithUserIdAttribute(UserIdAttributeT&& value) { SetUserIdAttribute(std::forward<UserIdAttributeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetUserGroupAttribute() const { return m_userGroupAttribute; }
86 inline bool UserGroupAttributeHasBeenSet() const { return m_userGroupAttributeHasBeenSet; }
87 template<typename UserGroupAttributeT = Aws::String>
88 void SetUserGroupAttribute(UserGroupAttributeT&& value) { m_userGroupAttributeHasBeenSet = true; m_userGroupAttribute = std::forward<UserGroupAttributeT>(value); }
89 template<typename UserGroupAttributeT = Aws::String>
90 SamlConfiguration& WithUserGroupAttribute(UserGroupAttributeT&& value) { SetUserGroupAttribute(std::forward<UserGroupAttributeT>(value)); return *this;}
92 private:
93
94 Aws::String m_metadataXML;
95 bool m_metadataXMLHasBeenSet = false;
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::String m_userIdAttribute;
101 bool m_userIdAttributeHasBeenSet = false;
102
103 Aws::String m_userGroupAttribute;
104 bool m_userGroupAttributeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace QBusiness
109} // namespace Aws
const Aws::String & GetUserIdAttribute() const
SamlConfiguration & WithUserIdAttribute(UserIdAttributeT &&value)
void SetUserGroupAttribute(UserGroupAttributeT &&value)
AWS_QBUSINESS_API SamlConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API SamlConfiguration()=default
AWS_QBUSINESS_API SamlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SamlConfiguration & WithMetadataXML(MetadataXMLT &&value)
const Aws::String & GetUserGroupAttribute() const
void SetUserIdAttribute(UserIdAttributeT &&value)
SamlConfiguration & WithRoleArn(RoleArnT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
SamlConfiguration & WithUserGroupAttribute(UserGroupAttributeT &&value)
const Aws::String & GetMetadataXML() const
void SetMetadataXML(MetadataXMLT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue