AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OpenSearchServerless
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail() = default;
39 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 SecurityConfigDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline SecurityConfigType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(SecurityConfigType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline SecurityConfigDetail& WithType(SecurityConfigType value) { SetType(value); return *this;}
65
67
70 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
71 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
72 template<typename ConfigVersionT = Aws::String>
73 void SetConfigVersion(ConfigVersionT&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::forward<ConfigVersionT>(value); }
74 template<typename ConfigVersionT = Aws::String>
75 SecurityConfigDetail& WithConfigVersion(ConfigVersionT&& value) { SetConfigVersion(std::forward<ConfigVersionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 SecurityConfigDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
95 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
96 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
97 template<typename SamlOptionsT = SamlConfigOptions>
98 void SetSamlOptions(SamlOptionsT&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::forward<SamlOptionsT>(value); }
99 template<typename SamlOptionsT = SamlConfigOptions>
100 SecurityConfigDetail& WithSamlOptions(SamlOptionsT&& value) { SetSamlOptions(std::forward<SamlOptionsT>(value)); return *this;}
102
104
107 inline const IamIdentityCenterConfigOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
108 inline bool IamIdentityCenterOptionsHasBeenSet() const { return m_iamIdentityCenterOptionsHasBeenSet; }
109 template<typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
110 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
111 template<typename IamIdentityCenterOptionsT = IamIdentityCenterConfigOptions>
112 SecurityConfigDetail& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value)); return *this;}
114
116
119 inline long long GetCreatedDate() const { return m_createdDate; }
120 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
121 inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
122 inline SecurityConfigDetail& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;}
124
126
129 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
130 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
131 inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
132 inline SecurityConfigDetail& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;}
134 private:
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
140 bool m_typeHasBeenSet = false;
141
142 Aws::String m_configVersion;
143 bool m_configVersionHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 SamlConfigOptions m_samlOptions;
149 bool m_samlOptionsHasBeenSet = false;
150
151 IamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
152 bool m_iamIdentityCenterOptionsHasBeenSet = false;
153
154 long long m_createdDate{0};
155 bool m_createdDateHasBeenSet = false;
156
157 long long m_lastModifiedDate{0};
158 bool m_lastModifiedDateHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace OpenSearchServerless
163} // 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)
SecurityConfigDetail & WithLastModifiedDate(long long 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue