AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SecurityConfigSummary.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/SecurityConfigType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace OpenSearchServerless {
21namespace Model {
22
30 public:
31 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary() = default;
32 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline SecurityConfigType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(SecurityConfigType value) {
61 m_typeHasBeenSet = true;
62 m_type = value;
63 }
65 SetType(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
75 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
76 template <typename ConfigVersionT = Aws::String>
77 void SetConfigVersion(ConfigVersionT&& value) {
78 m_configVersionHasBeenSet = true;
79 m_configVersion = std::forward<ConfigVersionT>(value);
80 }
81 template <typename ConfigVersionT = Aws::String>
82 SecurityConfigSummary& WithConfigVersion(ConfigVersionT&& value) {
83 SetConfigVersion(std::forward<ConfigVersionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
100 SecurityConfigSummary& WithDescription(DescriptionT&& value) {
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105
107
110 inline long long GetCreatedDate() const { return m_createdDate; }
111 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
112 inline void SetCreatedDate(long long value) {
113 m_createdDateHasBeenSet = true;
114 m_createdDate = value;
115 }
116 inline SecurityConfigSummary& WithCreatedDate(long long value) {
117 SetCreatedDate(value);
118 return *this;
119 }
121
123
126 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
127 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
128 inline void SetLastModifiedDate(long long value) {
129 m_lastModifiedDateHasBeenSet = true;
130 m_lastModifiedDate = value;
131 }
133 SetLastModifiedDate(value);
134 return *this;
135 }
137 private:
138 Aws::String m_id;
139
141
142 Aws::String m_configVersion;
143
144 Aws::String m_description;
145
146 long long m_createdDate{0};
147
148 long long m_lastModifiedDate{0};
149 bool m_idHasBeenSet = false;
150 bool m_typeHasBeenSet = false;
151 bool m_configVersionHasBeenSet = false;
152 bool m_descriptionHasBeenSet = false;
153 bool m_createdDateHasBeenSet = false;
154 bool m_lastModifiedDateHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace OpenSearchServerless
159} // namespace Aws
SecurityConfigSummary & WithConfigVersion(ConfigVersionT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityConfigSummary & WithType(SecurityConfigType value)
SecurityConfigSummary & WithDescription(DescriptionT &&value)
SecurityConfigSummary & WithCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary()=default
SecurityConfigSummary & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue