AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityCenterOptions.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/SubjectKeyIdCOption.h>
10#include <aws/opensearch/model/RolesKeyIdCOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions();
38 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API IdentityCenterOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetEnabledAPIAccess() const{ return m_enabledAPIAccess; }
49 inline bool EnabledAPIAccessHasBeenSet() const { return m_enabledAPIAccessHasBeenSet; }
50 inline void SetEnabledAPIAccess(bool value) { m_enabledAPIAccessHasBeenSet = true; m_enabledAPIAccess = value; }
51 inline IdentityCenterOptions& WithEnabledAPIAccess(bool value) { SetEnabledAPIAccess(value); return *this;}
53
55
58 inline const Aws::String& GetIdentityCenterInstanceARN() const{ return m_identityCenterInstanceARN; }
59 inline bool IdentityCenterInstanceARNHasBeenSet() const { return m_identityCenterInstanceARNHasBeenSet; }
60 inline void SetIdentityCenterInstanceARN(const Aws::String& value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN = value; }
61 inline void SetIdentityCenterInstanceARN(Aws::String&& value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN = std::move(value); }
62 inline void SetIdentityCenterInstanceARN(const char* value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN.assign(value); }
65 inline IdentityCenterOptions& WithIdentityCenterInstanceARN(const char* value) { SetIdentityCenterInstanceARN(value); return *this;}
67
69
73 inline const SubjectKeyIdCOption& GetSubjectKey() const{ return m_subjectKey; }
74 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
75 inline void SetSubjectKey(const SubjectKeyIdCOption& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
76 inline void SetSubjectKey(SubjectKeyIdCOption&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
77 inline IdentityCenterOptions& WithSubjectKey(const SubjectKeyIdCOption& value) { SetSubjectKey(value); return *this;}
78 inline IdentityCenterOptions& WithSubjectKey(SubjectKeyIdCOption&& value) { SetSubjectKey(std::move(value)); return *this;}
80
82
86 inline const RolesKeyIdCOption& GetRolesKey() const{ return m_rolesKey; }
87 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
88 inline void SetRolesKey(const RolesKeyIdCOption& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
89 inline void SetRolesKey(RolesKeyIdCOption&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
90 inline IdentityCenterOptions& WithRolesKey(const RolesKeyIdCOption& value) { SetRolesKey(value); return *this;}
91 inline IdentityCenterOptions& WithRolesKey(RolesKeyIdCOption&& value) { SetRolesKey(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetIdentityCenterApplicationARN() const{ return m_identityCenterApplicationARN; }
100 inline bool IdentityCenterApplicationARNHasBeenSet() const { return m_identityCenterApplicationARNHasBeenSet; }
101 inline void SetIdentityCenterApplicationARN(const Aws::String& value) { m_identityCenterApplicationARNHasBeenSet = true; m_identityCenterApplicationARN = value; }
102 inline void SetIdentityCenterApplicationARN(Aws::String&& value) { m_identityCenterApplicationARNHasBeenSet = true; m_identityCenterApplicationARN = std::move(value); }
103 inline void SetIdentityCenterApplicationARN(const char* value) { m_identityCenterApplicationARNHasBeenSet = true; m_identityCenterApplicationARN.assign(value); }
108
110
113 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
114 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
115 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
116 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
117 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
118 inline IdentityCenterOptions& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
119 inline IdentityCenterOptions& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
120 inline IdentityCenterOptions& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
122 private:
123
124 bool m_enabledAPIAccess;
125 bool m_enabledAPIAccessHasBeenSet = false;
126
127 Aws::String m_identityCenterInstanceARN;
128 bool m_identityCenterInstanceARNHasBeenSet = false;
129
130 SubjectKeyIdCOption m_subjectKey;
131 bool m_subjectKeyHasBeenSet = false;
132
133 RolesKeyIdCOption m_rolesKey;
134 bool m_rolesKeyHasBeenSet = false;
135
136 Aws::String m_identityCenterApplicationARN;
137 bool m_identityCenterApplicationARNHasBeenSet = false;
138
139 Aws::String m_identityStoreId;
140 bool m_identityStoreIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace OpenSearchService
145} // namespace Aws
IdentityCenterOptions & WithIdentityCenterApplicationARN(const Aws::String &value)
IdentityCenterOptions & WithIdentityCenterInstanceARN(const char *value)
IdentityCenterOptions & WithRolesKey(RolesKeyIdCOption &&value)
IdentityCenterOptions & WithIdentityStoreId(const char *value)
void SetSubjectKey(const SubjectKeyIdCOption &value)
IdentityCenterOptions & WithSubjectKey(SubjectKeyIdCOption &&value)
IdentityCenterOptions & WithIdentityStoreId(Aws::String &&value)
IdentityCenterOptions & WithIdentityCenterApplicationARN(const char *value)
IdentityCenterOptions & WithRolesKey(const RolesKeyIdCOption &value)
IdentityCenterOptions & WithEnabledAPIAccess(bool value)
IdentityCenterOptions & WithIdentityCenterApplicationARN(Aws::String &&value)
IdentityCenterOptions & WithIdentityStoreId(const Aws::String &value)
IdentityCenterOptions & WithIdentityCenterInstanceARN(const Aws::String &value)
IdentityCenterOptions & WithIdentityCenterInstanceARN(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API IdentityCenterOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityCenterOptions & WithSubjectKey(const SubjectKeyIdCOption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue