AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityConfigSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary();
37 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetConfigVersion() const{ return m_configVersion; }
47 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
48 inline void SetConfigVersion(const Aws::String& value) { m_configVersionHasBeenSet = true; m_configVersion = value; }
49 inline void SetConfigVersion(Aws::String&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::move(value); }
50 inline void SetConfigVersion(const char* value) { m_configVersionHasBeenSet = true; m_configVersion.assign(value); }
51 inline SecurityConfigSummary& WithConfigVersion(const Aws::String& value) { SetConfigVersion(value); return *this;}
52 inline SecurityConfigSummary& WithConfigVersion(Aws::String&& value) { SetConfigVersion(std::move(value)); return *this;}
53 inline SecurityConfigSummary& WithConfigVersion(const char* value) { SetConfigVersion(value); return *this;}
55
57
60 inline long long GetCreatedDate() const{ return m_createdDate; }
61 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
62 inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
63 inline SecurityConfigSummary& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline SecurityConfigSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline SecurityConfigSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline SecurityConfigSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::String& GetId() const{ return m_id; }
85 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
86 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
87 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
88 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
89 inline SecurityConfigSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
90 inline SecurityConfigSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
91 inline SecurityConfigSummary& WithId(const char* value) { SetId(value); return *this;}
93
95
98 inline long long GetLastModifiedDate() const{ return m_lastModifiedDate; }
99 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
100 inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
101 inline SecurityConfigSummary& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;}
103
105
108 inline const SecurityConfigType& GetType() const{ return m_type; }
109 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110 inline void SetType(const SecurityConfigType& value) { m_typeHasBeenSet = true; m_type = value; }
111 inline void SetType(SecurityConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
112 inline SecurityConfigSummary& WithType(const SecurityConfigType& value) { SetType(value); return *this;}
113 inline SecurityConfigSummary& WithType(SecurityConfigType&& value) { SetType(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_configVersion;
118 bool m_configVersionHasBeenSet = false;
119
120 long long m_createdDate;
121 bool m_createdDateHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 long long m_lastModifiedDate;
130 bool m_lastModifiedDateHasBeenSet = false;
131
132 SecurityConfigType m_type;
133 bool m_typeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace OpenSearchServerless
138} // namespace Aws
SecurityConfigSummary & WithConfigVersion(const char *value)
SecurityConfigSummary & WithDescription(Aws::String &&value)
SecurityConfigSummary & WithId(const Aws::String &value)
SecurityConfigSummary & WithId(const char *value)
SecurityConfigSummary & WithDescription(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityConfigSummary & WithDescription(const char *value)
SecurityConfigSummary & WithId(Aws::String &&value)
SecurityConfigSummary & WithType(const SecurityConfigType &value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary()
SecurityConfigSummary & WithConfigVersion(const Aws::String &value)
SecurityConfigSummary & WithCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityConfigSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityConfigSummary & WithConfigVersion(Aws::String &&value)
SecurityConfigSummary & WithLastModifiedDate(long long value)
SecurityConfigSummary & WithType(SecurityConfigType &&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