AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
IdentityCenterOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/RolesKeyIdCOption.h>
10#include <aws/opensearch/model/SubjectKeyIdCOption.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService {
22namespace Model {
23
34 public:
35 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions() = default;
36 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline bool GetEnabledAPIAccess() const { return m_enabledAPIAccess; }
45 inline bool EnabledAPIAccessHasBeenSet() const { return m_enabledAPIAccessHasBeenSet; }
46 inline void SetEnabledAPIAccess(bool value) {
47 m_enabledAPIAccessHasBeenSet = true;
48 m_enabledAPIAccess = value;
49 }
52 return *this;
53 }
55
57
60 inline const Aws::String& GetIdentityCenterInstanceARN() const { return m_identityCenterInstanceARN; }
61 inline bool IdentityCenterInstanceARNHasBeenSet() const { return m_identityCenterInstanceARNHasBeenSet; }
62 template <typename IdentityCenterInstanceARNT = Aws::String>
63 void SetIdentityCenterInstanceARN(IdentityCenterInstanceARNT&& value) {
64 m_identityCenterInstanceARNHasBeenSet = true;
65 m_identityCenterInstanceARN = std::forward<IdentityCenterInstanceARNT>(value);
66 }
67 template <typename IdentityCenterInstanceARNT = Aws::String>
68 IdentityCenterOptions& WithIdentityCenterInstanceARN(IdentityCenterInstanceARNT&& value) {
69 SetIdentityCenterInstanceARN(std::forward<IdentityCenterInstanceARNT>(value));
70 return *this;
71 }
73
75
79 inline SubjectKeyIdCOption GetSubjectKey() const { return m_subjectKey; }
80 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
82 m_subjectKeyHasBeenSet = true;
83 m_subjectKey = value;
84 }
86 SetSubjectKey(value);
87 return *this;
88 }
90
92
96 inline RolesKeyIdCOption GetRolesKey() const { return m_rolesKey; }
97 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
98 inline void SetRolesKey(RolesKeyIdCOption value) {
99 m_rolesKeyHasBeenSet = true;
100 m_rolesKey = value;
101 }
103 SetRolesKey(value);
104 return *this;
105 }
107
109
113 inline const Aws::String& GetIdentityCenterApplicationARN() const { return m_identityCenterApplicationARN; }
114 inline bool IdentityCenterApplicationARNHasBeenSet() const { return m_identityCenterApplicationARNHasBeenSet; }
115 template <typename IdentityCenterApplicationARNT = Aws::String>
116 void SetIdentityCenterApplicationARN(IdentityCenterApplicationARNT&& value) {
117 m_identityCenterApplicationARNHasBeenSet = true;
118 m_identityCenterApplicationARN = std::forward<IdentityCenterApplicationARNT>(value);
119 }
120 template <typename IdentityCenterApplicationARNT = Aws::String>
121 IdentityCenterOptions& WithIdentityCenterApplicationARN(IdentityCenterApplicationARNT&& value) {
122 SetIdentityCenterApplicationARN(std::forward<IdentityCenterApplicationARNT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
132 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
133 template <typename IdentityStoreIdT = Aws::String>
134 void SetIdentityStoreId(IdentityStoreIdT&& value) {
135 m_identityStoreIdHasBeenSet = true;
136 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
137 }
138 template <typename IdentityStoreIdT = Aws::String>
139 IdentityCenterOptions& WithIdentityStoreId(IdentityStoreIdT&& value) {
140 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
141 return *this;
142 }
144 private:
145 bool m_enabledAPIAccess{false};
146
147 Aws::String m_identityCenterInstanceARN;
148
150
152
153 Aws::String m_identityCenterApplicationARN;
154
155 Aws::String m_identityStoreId;
156 bool m_enabledAPIAccessHasBeenSet = false;
157 bool m_identityCenterInstanceARNHasBeenSet = false;
158 bool m_subjectKeyHasBeenSet = false;
159 bool m_rolesKeyHasBeenSet = false;
160 bool m_identityCenterApplicationARNHasBeenSet = false;
161 bool m_identityStoreIdHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace OpenSearchService
166} // namespace Aws
IdentityCenterOptions & WithRolesKey(RolesKeyIdCOption value)
IdentityCenterOptions & WithIdentityCenterApplicationARN(IdentityCenterApplicationARNT &&value)
IdentityCenterOptions & WithSubjectKey(SubjectKeyIdCOption value)
IdentityCenterOptions & WithIdentityStoreId(IdentityStoreIdT &&value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptions()=default
void SetIdentityCenterInstanceARN(IdentityCenterInstanceARNT &&value)
IdentityCenterOptions & WithEnabledAPIAccess(bool value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptions(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityCenterApplicationARN(IdentityCenterApplicationARNT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API IdentityCenterOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityCenterOptions & WithIdentityCenterInstanceARN(IdentityCenterInstanceARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue