AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
IdentityCenterOptionsInput.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
31 public:
32 AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput() = default;
33 AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline bool GetEnabledAPIAccess() const { return m_enabledAPIAccess; }
43 inline bool EnabledAPIAccessHasBeenSet() const { return m_enabledAPIAccessHasBeenSet; }
44 inline void SetEnabledAPIAccess(bool value) {
45 m_enabledAPIAccessHasBeenSet = true;
46 m_enabledAPIAccess = value;
47 }
50 return *this;
51 }
53
55
59 inline const Aws::String& GetIdentityCenterInstanceARN() const { return m_identityCenterInstanceARN; }
60 inline bool IdentityCenterInstanceARNHasBeenSet() const { return m_identityCenterInstanceARNHasBeenSet; }
61 template <typename IdentityCenterInstanceARNT = Aws::String>
62 void SetIdentityCenterInstanceARN(IdentityCenterInstanceARNT&& value) {
63 m_identityCenterInstanceARNHasBeenSet = true;
64 m_identityCenterInstanceARN = std::forward<IdentityCenterInstanceARNT>(value);
65 }
66 template <typename IdentityCenterInstanceARNT = Aws::String>
67 IdentityCenterOptionsInput& WithIdentityCenterInstanceARN(IdentityCenterInstanceARNT&& value) {
68 SetIdentityCenterInstanceARN(std::forward<IdentityCenterInstanceARNT>(value));
69 return *this;
70 }
72
74
78 inline SubjectKeyIdCOption GetSubjectKey() const { return m_subjectKey; }
79 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
81 m_subjectKeyHasBeenSet = true;
82 m_subjectKey = value;
83 }
85 SetSubjectKey(value);
86 return *this;
87 }
89
91
95 inline RolesKeyIdCOption GetRolesKey() const { return m_rolesKey; }
96 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
97 inline void SetRolesKey(RolesKeyIdCOption value) {
98 m_rolesKeyHasBeenSet = true;
99 m_rolesKey = value;
100 }
102 SetRolesKey(value);
103 return *this;
104 }
106 private:
107 bool m_enabledAPIAccess{false};
108
109 Aws::String m_identityCenterInstanceARN;
110
112
114 bool m_enabledAPIAccessHasBeenSet = false;
115 bool m_identityCenterInstanceARNHasBeenSet = false;
116 bool m_subjectKeyHasBeenSet = false;
117 bool m_rolesKeyHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace OpenSearchService
122} // namespace Aws
void SetIdentityCenterInstanceARN(IdentityCenterInstanceARNT &&value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput()=default
IdentityCenterOptionsInput & WithIdentityCenterInstanceARN(IdentityCenterInstanceARNT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityCenterOptionsInput & WithSubjectKey(SubjectKeyIdCOption value)
IdentityCenterOptionsInput & WithRolesKey(RolesKeyIdCOption value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue