AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/IamIdentityCenterConfigOptions.h>
10#include <aws/opensearchserverless/model/SamlConfigOptions.h>
11#include <aws/opensearchserverless/model/SecurityConfigType.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();
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& GetConfigVersion() const{ return m_configVersion; }
49 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
50 inline void SetConfigVersion(const Aws::String& value) { m_configVersionHasBeenSet = true; m_configVersion = value; }
51 inline void SetConfigVersion(Aws::String&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::move(value); }
52 inline void SetConfigVersion(const char* value) { m_configVersionHasBeenSet = true; m_configVersion.assign(value); }
53 inline SecurityConfigDetail& WithConfigVersion(const Aws::String& value) { SetConfigVersion(value); return *this;}
54 inline SecurityConfigDetail& WithConfigVersion(Aws::String&& value) { SetConfigVersion(std::move(value)); return *this;}
55 inline SecurityConfigDetail& WithConfigVersion(const char* value) { SetConfigVersion(value); return *this;}
57
59
62 inline long long GetCreatedDate() const{ return m_createdDate; }
63 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
64 inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
65 inline SecurityConfigDetail& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline SecurityConfigDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline SecurityConfigDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline SecurityConfigDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const IamIdentityCenterConfigOptions& GetIamIdentityCenterOptions() const{ return m_iamIdentityCenterOptions; }
87 inline bool IamIdentityCenterOptionsHasBeenSet() const { return m_iamIdentityCenterOptionsHasBeenSet; }
88 inline void SetIamIdentityCenterOptions(const IamIdentityCenterConfigOptions& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = value; }
89 inline void SetIamIdentityCenterOptions(IamIdentityCenterConfigOptions&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::move(value); }
93
95
98 inline const Aws::String& GetId() const{ return m_id; }
99 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
100 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
101 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
102 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
103 inline SecurityConfigDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
104 inline SecurityConfigDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
105 inline SecurityConfigDetail& WithId(const char* value) { SetId(value); return *this;}
107
109
112 inline long long GetLastModifiedDate() const{ return m_lastModifiedDate; }
113 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
114 inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
115 inline SecurityConfigDetail& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;}
117
119
123 inline const SamlConfigOptions& GetSamlOptions() const{ return m_samlOptions; }
124 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
125 inline void SetSamlOptions(const SamlConfigOptions& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = value; }
126 inline void SetSamlOptions(SamlConfigOptions&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::move(value); }
127 inline SecurityConfigDetail& WithSamlOptions(const SamlConfigOptions& value) { SetSamlOptions(value); return *this;}
128 inline SecurityConfigDetail& WithSamlOptions(SamlConfigOptions&& value) { SetSamlOptions(std::move(value)); return *this;}
130
132
135 inline const SecurityConfigType& GetType() const{ return m_type; }
136 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
137 inline void SetType(const SecurityConfigType& value) { m_typeHasBeenSet = true; m_type = value; }
138 inline void SetType(SecurityConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
139 inline SecurityConfigDetail& WithType(const SecurityConfigType& value) { SetType(value); return *this;}
140 inline SecurityConfigDetail& WithType(SecurityConfigType&& value) { SetType(std::move(value)); return *this;}
142 private:
143
144 Aws::String m_configVersion;
145 bool m_configVersionHasBeenSet = false;
146
147 long long m_createdDate;
148 bool m_createdDateHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 IamIdentityCenterConfigOptions m_iamIdentityCenterOptions;
154 bool m_iamIdentityCenterOptionsHasBeenSet = false;
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 long long m_lastModifiedDate;
160 bool m_lastModifiedDateHasBeenSet = false;
161
162 SamlConfigOptions m_samlOptions;
163 bool m_samlOptionsHasBeenSet = false;
164
165 SecurityConfigType m_type;
166 bool m_typeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace OpenSearchServerless
171} // namespace Aws
void SetIamIdentityCenterOptions(IamIdentityCenterConfigOptions &&value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigDetail & WithDescription(const char *value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail()
SecurityConfigDetail & WithDescription(const Aws::String &value)
const IamIdentityCenterConfigOptions & GetIamIdentityCenterOptions() const
SecurityConfigDetail & WithCreatedDate(long long value)
SecurityConfigDetail & WithId(const char *value)
SecurityConfigDetail & WithIamIdentityCenterOptions(const IamIdentityCenterConfigOptions &value)
SecurityConfigDetail & WithType(SecurityConfigType &&value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigDetail(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigDetail & WithConfigVersion(Aws::String &&value)
SecurityConfigDetail & WithDescription(Aws::String &&value)
SecurityConfigDetail & WithLastModifiedDate(long long value)
SecurityConfigDetail & WithType(const SecurityConfigType &value)
SecurityConfigDetail & WithConfigVersion(const char *value)
SecurityConfigDetail & WithConfigVersion(const Aws::String &value)
SecurityConfigDetail & WithIamIdentityCenterOptions(IamIdentityCenterConfigOptions &&value)
void SetIamIdentityCenterOptions(const IamIdentityCenterConfigOptions &value)
SecurityConfigDetail & WithId(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityConfigDetail & WithSamlOptions(const SamlConfigOptions &value)
SecurityConfigDetail & WithId(const Aws::String &value)
SecurityConfigDetail & WithSamlOptions(SamlConfigOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue