AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_QBUSINESS_API SamlConfiguration(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetMetadataXML(const Aws::String& value) { m_metadataXMLHasBeenSet = true; m_metadataXML = value; }
49 inline void SetMetadataXML(Aws::String&& value) { m_metadataXMLHasBeenSet = true; m_metadataXML = std::move(value); }
50 inline void SetMetadataXML(const char* value) { m_metadataXMLHasBeenSet = true; m_metadataXML.assign(value); }
51 inline SamlConfiguration& WithMetadataXML(const Aws::String& value) { SetMetadataXML(value); return *this;}
52 inline SamlConfiguration& WithMetadataXML(Aws::String&& value) { SetMetadataXML(std::move(value)); return *this;}
53 inline SamlConfiguration& WithMetadataXML(const char* value) { SetMetadataXML(value); return *this;}
55
57
63 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
66 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
67 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
68 inline SamlConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
69 inline SamlConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
70 inline SamlConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
72
74
77 inline const Aws::String& GetUserIdAttribute() const{ return m_userIdAttribute; }
78 inline bool UserIdAttributeHasBeenSet() const { return m_userIdAttributeHasBeenSet; }
79 inline void SetUserIdAttribute(const Aws::String& value) { m_userIdAttributeHasBeenSet = true; m_userIdAttribute = value; }
80 inline void SetUserIdAttribute(Aws::String&& value) { m_userIdAttributeHasBeenSet = true; m_userIdAttribute = std::move(value); }
81 inline void SetUserIdAttribute(const char* value) { m_userIdAttributeHasBeenSet = true; m_userIdAttribute.assign(value); }
82 inline SamlConfiguration& WithUserIdAttribute(const Aws::String& value) { SetUserIdAttribute(value); return *this;}
83 inline SamlConfiguration& WithUserIdAttribute(Aws::String&& value) { SetUserIdAttribute(std::move(value)); return *this;}
84 inline SamlConfiguration& WithUserIdAttribute(const char* value) { SetUserIdAttribute(value); return *this;}
86
88
91 inline const Aws::String& GetUserGroupAttribute() const{ return m_userGroupAttribute; }
92 inline bool UserGroupAttributeHasBeenSet() const { return m_userGroupAttributeHasBeenSet; }
93 inline void SetUserGroupAttribute(const Aws::String& value) { m_userGroupAttributeHasBeenSet = true; m_userGroupAttribute = value; }
94 inline void SetUserGroupAttribute(Aws::String&& value) { m_userGroupAttributeHasBeenSet = true; m_userGroupAttribute = std::move(value); }
95 inline void SetUserGroupAttribute(const char* value) { m_userGroupAttributeHasBeenSet = true; m_userGroupAttribute.assign(value); }
96 inline SamlConfiguration& WithUserGroupAttribute(const Aws::String& value) { SetUserGroupAttribute(value); return *this;}
97 inline SamlConfiguration& WithUserGroupAttribute(Aws::String&& value) { SetUserGroupAttribute(std::move(value)); return *this;}
98 inline SamlConfiguration& WithUserGroupAttribute(const char* value) { SetUserGroupAttribute(value); return *this;}
100 private:
101
102 Aws::String m_metadataXML;
103 bool m_metadataXMLHasBeenSet = false;
104
105 Aws::String m_roleArn;
106 bool m_roleArnHasBeenSet = false;
107
108 Aws::String m_userIdAttribute;
109 bool m_userIdAttributeHasBeenSet = false;
110
111 Aws::String m_userGroupAttribute;
112 bool m_userGroupAttributeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace QBusiness
117} // namespace Aws
void SetUserIdAttribute(const Aws::String &value)
void SetUserIdAttribute(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
SamlConfiguration & WithUserGroupAttribute(Aws::String &&value)
const Aws::String & GetUserIdAttribute() const
SamlConfiguration & WithUserIdAttribute(const Aws::String &value)
SamlConfiguration & WithRoleArn(const char *value)
AWS_QBUSINESS_API SamlConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API SamlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SamlConfiguration & WithUserIdAttribute(const char *value)
const Aws::String & GetUserGroupAttribute() const
void SetMetadataXML(const Aws::String &value)
SamlConfiguration & WithMetadataXML(const char *value)
SamlConfiguration & WithRoleArn(Aws::String &&value)
void SetUserGroupAttribute(Aws::String &&value)
SamlConfiguration & WithUserIdAttribute(Aws::String &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserGroupAttribute(const Aws::String &value)
SamlConfiguration & WithUserGroupAttribute(const char *value)
SamlConfiguration & WithRoleArn(const Aws::String &value)
SamlConfiguration & WithMetadataXML(const Aws::String &value)
SamlConfiguration & WithMetadataXML(Aws::String &&value)
const Aws::String & GetMetadataXML() const
SamlConfiguration & WithUserGroupAttribute(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue