AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
SamlConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
30 public:
31 AWS_QBUSINESS_API SamlConfiguration() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetMetadataXML() const { return m_metadataXML; }
41 inline bool MetadataXMLHasBeenSet() const { return m_metadataXMLHasBeenSet; }
42 template <typename MetadataXMLT = Aws::String>
44 m_metadataXMLHasBeenSet = true;
45 m_metadataXML = std::forward<MetadataXMLT>(value);
46 }
47 template <typename MetadataXMLT = Aws::String>
49 SetMetadataXML(std::forward<MetadataXMLT>(value));
50 return *this;
51 }
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) {
65 m_roleArnHasBeenSet = true;
66 m_roleArn = std::forward<RoleArnT>(value);
67 }
68 template <typename RoleArnT = Aws::String>
70 SetRoleArn(std::forward<RoleArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetUserIdAttribute() const { return m_userIdAttribute; }
80 inline bool UserIdAttributeHasBeenSet() const { return m_userIdAttributeHasBeenSet; }
81 template <typename UserIdAttributeT = Aws::String>
83 m_userIdAttributeHasBeenSet = true;
84 m_userIdAttribute = std::forward<UserIdAttributeT>(value);
85 }
86 template <typename UserIdAttributeT = Aws::String>
88 SetUserIdAttribute(std::forward<UserIdAttributeT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetUserGroupAttribute() const { return m_userGroupAttribute; }
98 inline bool UserGroupAttributeHasBeenSet() const { return m_userGroupAttributeHasBeenSet; }
99 template <typename UserGroupAttributeT = Aws::String>
101 m_userGroupAttributeHasBeenSet = true;
102 m_userGroupAttribute = std::forward<UserGroupAttributeT>(value);
103 }
104 template <typename UserGroupAttributeT = Aws::String>
106 SetUserGroupAttribute(std::forward<UserGroupAttributeT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_metadataXML;
112
113 Aws::String m_roleArn;
114
115 Aws::String m_userIdAttribute;
116
117 Aws::String m_userGroupAttribute;
118 bool m_metadataXMLHasBeenSet = false;
119 bool m_roleArnHasBeenSet = false;
120 bool m_userIdAttributeHasBeenSet = false;
121 bool m_userGroupAttributeHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace QBusiness
126} // 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