AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SamlConfigOptions.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_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 OpenSearchServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions();
36 AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetGroupAttribute() const{ return m_groupAttribute; }
46 inline bool GroupAttributeHasBeenSet() const { return m_groupAttributeHasBeenSet; }
47 inline void SetGroupAttribute(const Aws::String& value) { m_groupAttributeHasBeenSet = true; m_groupAttribute = value; }
48 inline void SetGroupAttribute(Aws::String&& value) { m_groupAttributeHasBeenSet = true; m_groupAttribute = std::move(value); }
49 inline void SetGroupAttribute(const char* value) { m_groupAttributeHasBeenSet = true; m_groupAttribute.assign(value); }
50 inline SamlConfigOptions& WithGroupAttribute(const Aws::String& value) { SetGroupAttribute(value); return *this;}
51 inline SamlConfigOptions& WithGroupAttribute(Aws::String&& value) { SetGroupAttribute(std::move(value)); return *this;}
52 inline SamlConfigOptions& WithGroupAttribute(const char* value) { SetGroupAttribute(value); return *this;}
54
56
59 inline const Aws::String& GetMetadata() const{ return m_metadata; }
60 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
61 inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
62 inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
63 inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
64 inline SamlConfigOptions& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
65 inline SamlConfigOptions& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
66 inline SamlConfigOptions& WithMetadata(const char* value) { SetMetadata(value); return *this;}
68
70
73 inline int GetSessionTimeout() const{ return m_sessionTimeout; }
74 inline bool SessionTimeoutHasBeenSet() const { return m_sessionTimeoutHasBeenSet; }
75 inline void SetSessionTimeout(int value) { m_sessionTimeoutHasBeenSet = true; m_sessionTimeout = value; }
76 inline SamlConfigOptions& WithSessionTimeout(int value) { SetSessionTimeout(value); return *this;}
78
80
83 inline const Aws::String& GetUserAttribute() const{ return m_userAttribute; }
84 inline bool UserAttributeHasBeenSet() const { return m_userAttributeHasBeenSet; }
85 inline void SetUserAttribute(const Aws::String& value) { m_userAttributeHasBeenSet = true; m_userAttribute = value; }
86 inline void SetUserAttribute(Aws::String&& value) { m_userAttributeHasBeenSet = true; m_userAttribute = std::move(value); }
87 inline void SetUserAttribute(const char* value) { m_userAttributeHasBeenSet = true; m_userAttribute.assign(value); }
88 inline SamlConfigOptions& WithUserAttribute(const Aws::String& value) { SetUserAttribute(value); return *this;}
89 inline SamlConfigOptions& WithUserAttribute(Aws::String&& value) { SetUserAttribute(std::move(value)); return *this;}
90 inline SamlConfigOptions& WithUserAttribute(const char* value) { SetUserAttribute(value); return *this;}
92 private:
93
94 Aws::String m_groupAttribute;
95 bool m_groupAttributeHasBeenSet = false;
96
97 Aws::String m_metadata;
98 bool m_metadataHasBeenSet = false;
99
100 int m_sessionTimeout;
101 bool m_sessionTimeoutHasBeenSet = false;
102
103 Aws::String m_userAttribute;
104 bool m_userAttributeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace OpenSearchServerless
109} // namespace Aws
SamlConfigOptions & WithMetadata(Aws::String &&value)
SamlConfigOptions & WithGroupAttribute(const char *value)
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions()
SamlConfigOptions & WithGroupAttribute(const Aws::String &value)
SamlConfigOptions & WithUserAttribute(const char *value)
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
SamlConfigOptions & WithUserAttribute(Aws::String &&value)
SamlConfigOptions & WithMetadata(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
SamlConfigOptions & WithMetadata(const char *value)
SamlConfigOptions & WithUserAttribute(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API SamlConfigOptions(Aws::Utils::Json::JsonView jsonValue)
SamlConfigOptions & WithGroupAttribute(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue