AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
SecurityConfigDetail.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/SecurityConfigType.h>
10#include <aws/opensearchserverless/model/SamlConfigOptions.h>
11#include <aws/opensearchserverless/model/IamIdentityCenterConfigOptions.h>
12#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchServerless
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail() = default;
40 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 SecurityConfigDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
61 inline SecurityConfigType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(SecurityConfigType value) { m_typeHasBeenSet = true; m_type = value; }
64 inline SecurityConfigDetail& WithType(SecurityConfigType value) { SetType(value); return *this;}
66
68
71 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
72 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
73 template<typename ConfigVersionT = Aws::String>
74 void SetConfigVersion(ConfigVersionT&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::forward<ConfigVersionT>(value); }
75 template<typename ConfigVersionT = Aws::String>
76 SecurityConfigDetail& WithConfigVersion(ConfigVersionT&& value) { SetConfigVersion(std::forward<ConfigVersionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 SecurityConfigDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
97 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
98 template<typename SamlOptionsT = SamlConfigOptions>
99 void SetSamlOptions(SamlOptionsT&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::forward<SamlOptionsT>(value); }
100 template<typename SamlOptionsT = SamlConfigOptions>
101 SecurityConfigDetail& WithSamlOptions(SamlOptionsT&& value) { SetSamlOptions(std::forward<SamlOptionsT>(value)); return *this;}
103
105
108 inline const IamIdentityCenterConfigOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
109 inline bool IamIdentityCenterOptionsHasBeenSet() const { return m_iamIdentityCenterOptionsHasBeenSet; }
110 template<typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
111 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
112 template<typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
113 SecurityConfigDetail& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value)); return *this;}
115
117
122 inline const IamFederationConfigOptions& GetIamFederationOptions() const { return m_iamFederationOptions; }
123 inline bool IamFederationOptionsHasBeenSet() const { return m_iamFederationOptionsHasBeenSet; }
124 template<typename IamFederationOptionsT = IamFederationConfigOptions>
125 void SetIamFederationOptions(IamFederationOptionsT&& value) { m_iamFederationOptionsHasBeenSet = true; m_iamFederationOptions = std::forward<IamFederationOptionsT>(value); }
126 template<typename IamFederationOptionsT = IamFederationConfigOptions>
127 SecurityConfigDetail& WithIamFederationOptions(IamFederationOptionsT&& value) { SetIamFederationOptions(std::forward<IamFederationOptionsT>(value)); return *this;}
129
131
134 inline long long GetCreatedDate() const { return m_createdDate; }
135 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
136 inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
137 inline SecurityConfigDetail& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;}
139
141
144 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
145 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
146 inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
147 inline SecurityConfigDetail& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;}
149 private:
150
151 Aws::String m_id;
152 bool m_idHasBeenSet = false;
153
155 bool m_typeHasBeenSet = false;
156
157 Aws::String m_configVersion;
158 bool m_configVersionHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 SamlConfigOptions m_samlOptions;
164 bool m_samlOptionsHasBeenSet = false;
165
166 IamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
167 bool m_iamIdentityCenterOptionsHasBeenSet = false;
168
169 IamFederationConfigOptions m_iamFederationOptions;
170 bool m_iamFederationOptionsHasBeenSet = false;
171
172 long long m_createdDate{0};
173 bool m_createdDateHasBeenSet = false;
174
175 long long m_lastModifiedDate{0};
176 bool m_lastModifiedDateHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace OpenSearchServerless
181} // 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