AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SecurityConfigDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
10#include <aws/opensearchserverless/model/IamIdentityCenterConfigOptions.h>
11#include <aws/opensearchserverless/model/SamlConfigOptions.h>
12#include <aws/opensearchserverless/model/SecurityConfigType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchServerless {
24namespace Model {
25
33 public:
34 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail() = default;
35 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline SecurityConfigType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(SecurityConfigType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
78 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
79 template <typename ConfigVersionT = Aws::String>
80 void SetConfigVersion(ConfigVersionT&& value) {
81 m_configVersionHasBeenSet = true;
82 m_configVersion = std::forward<ConfigVersionT>(value);
83 }
84 template <typename ConfigVersionT = Aws::String>
85 SecurityConfigDetail& WithConfigVersion(ConfigVersionT&& value) {
86 SetConfigVersion(std::forward<ConfigVersionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 SecurityConfigDetail& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
114 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
115 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
116 template <typename SamlOptionsT = SamlConfigOptions>
117 void SetSamlOptions(SamlOptionsT&& value) {
118 m_samlOptionsHasBeenSet = true;
119 m_samlOptions = std::forward<SamlOptionsT>(value);
120 }
121 template <typename SamlOptionsT = SamlConfigOptions>
122 SecurityConfigDetail& WithSamlOptions(SamlOptionsT&& value) {
123 SetSamlOptions(std::forward<SamlOptionsT>(value));
124 return *this;
125 }
127
129
132 inline const IamIdentityCenterConfigOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
133 inline bool IamIdentityCenterOptionsHasBeenSet() const { return m_iamIdentityCenterOptionsHasBeenSet; }
134 template <typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
135 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) {
136 m_iamIdentityCenterOptionsHasBeenSet = true;
137 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
138 }
139 template <typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
140 SecurityConfigDetail& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) {
141 SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value));
142 return *this;
143 }
145
147
152 inline const IamFederationConfigOptions& GetIamFederationOptions() const { return m_iamFederationOptions; }
153 inline bool IamFederationOptionsHasBeenSet() const { return m_iamFederationOptionsHasBeenSet; }
154 template <typename IamFederationOptionsT = IamFederationConfigOptions>
155 void SetIamFederationOptions(IamFederationOptionsT&& value) {
156 m_iamFederationOptionsHasBeenSet = true;
157 m_iamFederationOptions = std::forward<IamFederationOptionsT>(value);
158 }
159 template <typename IamFederationOptionsT = IamFederationConfigOptions>
160 SecurityConfigDetail& WithIamFederationOptions(IamFederationOptionsT&& value) {
161 SetIamFederationOptions(std::forward<IamFederationOptionsT>(value));
162 return *this;
163 }
165
167
170 inline long long GetCreatedDate() const { return m_createdDate; }
171 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
172 inline void SetCreatedDate(long long value) {
173 m_createdDateHasBeenSet = true;
174 m_createdDate = value;
175 }
176 inline SecurityConfigDetail& WithCreatedDate(long long value) {
177 SetCreatedDate(value);
178 return *this;
179 }
181
183
186 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
187 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
188 inline void SetLastModifiedDate(long long value) {
189 m_lastModifiedDateHasBeenSet = true;
190 m_lastModifiedDate = value;
191 }
193 SetLastModifiedDate(value);
194 return *this;
195 }
197 private:
198 Aws::String m_id;
199
201
202 Aws::String m_configVersion;
203
204 Aws::String m_description;
205
206 SamlConfigOptions m_samlOptions;
207
208 IamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
209
210 IamFederationConfigOptions m_iamFederationOptions;
211
212 long long m_createdDate{0};
213
214 long long m_lastModifiedDate{0};
215 bool m_idHasBeenSet = false;
216 bool m_typeHasBeenSet = false;
217 bool m_configVersionHasBeenSet = false;
218 bool m_descriptionHasBeenSet = false;
219 bool m_samlOptionsHasBeenSet = false;
220 bool m_iamIdentityCenterOptionsHasBeenSet = false;
221 bool m_iamFederationOptionsHasBeenSet = false;
222 bool m_createdDateHasBeenSet = false;
223 bool m_lastModifiedDateHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace OpenSearchServerless
228} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigDetail & WithConfigVersion(ConfigVersionT &&value)
const IamIdentityCenterConfigOptions & GetIamIdentityCenterOptions() const
SecurityConfigDetail & WithCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail()=default
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigDetail & WithType(SecurityConfigType value)
const IamFederationConfigOptions & GetIamFederationOptions() const
SecurityConfigDetail & WithLastModifiedDate(long long value)
SecurityConfigDetail & WithIamFederationOptions(IamFederationOptionsT &&value)
SecurityConfigDetail & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
SecurityConfigDetail & WithSamlOptions(SamlOptionsT &&value)
SecurityConfigDetail & WithDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
void SetIamFederationOptions(IamFederationOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue