AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsEventSubscriptionDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCustSubscriptionId() const{ return m_custSubscriptionId; }
48 inline bool CustSubscriptionIdHasBeenSet() const { return m_custSubscriptionIdHasBeenSet; }
49 inline void SetCustSubscriptionId(const Aws::String& value) { m_custSubscriptionIdHasBeenSet = true; m_custSubscriptionId = value; }
50 inline void SetCustSubscriptionId(Aws::String&& value) { m_custSubscriptionIdHasBeenSet = true; m_custSubscriptionId = std::move(value); }
51 inline void SetCustSubscriptionId(const char* value) { m_custSubscriptionIdHasBeenSet = true; m_custSubscriptionId.assign(value); }
54 inline AwsRdsEventSubscriptionDetails& WithCustSubscriptionId(const char* value) { SetCustSubscriptionId(value); return *this;}
56
58
61 inline const Aws::String& GetCustomerAwsId() const{ return m_customerAwsId; }
62 inline bool CustomerAwsIdHasBeenSet() const { return m_customerAwsIdHasBeenSet; }
63 inline void SetCustomerAwsId(const Aws::String& value) { m_customerAwsIdHasBeenSet = true; m_customerAwsId = value; }
64 inline void SetCustomerAwsId(Aws::String&& value) { m_customerAwsIdHasBeenSet = true; m_customerAwsId = std::move(value); }
65 inline void SetCustomerAwsId(const char* value) { m_customerAwsIdHasBeenSet = true; m_customerAwsId.assign(value); }
67 inline AwsRdsEventSubscriptionDetails& WithCustomerAwsId(Aws::String&& value) { SetCustomerAwsId(std::move(value)); return *this;}
68 inline AwsRdsEventSubscriptionDetails& WithCustomerAwsId(const char* value) { SetCustomerAwsId(value); return *this;}
70
72
75 inline bool GetEnabled() const{ return m_enabled; }
76 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
77 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
78 inline AwsRdsEventSubscriptionDetails& WithEnabled(bool value) { SetEnabled(value); return *this;}
80
82
85 inline const Aws::Vector<Aws::String>& GetEventCategoriesList() const{ return m_eventCategoriesList; }
86 inline bool EventCategoriesListHasBeenSet() const { return m_eventCategoriesListHasBeenSet; }
87 inline void SetEventCategoriesList(const Aws::Vector<Aws::String>& value) { m_eventCategoriesListHasBeenSet = true; m_eventCategoriesList = value; }
88 inline void SetEventCategoriesList(Aws::Vector<Aws::String>&& value) { m_eventCategoriesListHasBeenSet = true; m_eventCategoriesList = std::move(value); }
91 inline AwsRdsEventSubscriptionDetails& AddEventCategoriesList(const Aws::String& value) { m_eventCategoriesListHasBeenSet = true; m_eventCategoriesList.push_back(value); return *this; }
92 inline AwsRdsEventSubscriptionDetails& AddEventCategoriesList(Aws::String&& value) { m_eventCategoriesListHasBeenSet = true; m_eventCategoriesList.push_back(std::move(value)); return *this; }
93 inline AwsRdsEventSubscriptionDetails& AddEventCategoriesList(const char* value) { m_eventCategoriesListHasBeenSet = true; m_eventCategoriesList.push_back(value); return *this; }
95
97
100 inline const Aws::String& GetEventSubscriptionArn() const{ return m_eventSubscriptionArn; }
101 inline bool EventSubscriptionArnHasBeenSet() const { return m_eventSubscriptionArnHasBeenSet; }
102 inline void SetEventSubscriptionArn(const Aws::String& value) { m_eventSubscriptionArnHasBeenSet = true; m_eventSubscriptionArn = value; }
103 inline void SetEventSubscriptionArn(Aws::String&& value) { m_eventSubscriptionArnHasBeenSet = true; m_eventSubscriptionArn = std::move(value); }
104 inline void SetEventSubscriptionArn(const char* value) { m_eventSubscriptionArnHasBeenSet = true; m_eventSubscriptionArn.assign(value); }
107 inline AwsRdsEventSubscriptionDetails& WithEventSubscriptionArn(const char* value) { SetEventSubscriptionArn(value); return *this;}
109
111
114 inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
115 inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
116 inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
117 inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
118 inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
119 inline AwsRdsEventSubscriptionDetails& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
120 inline AwsRdsEventSubscriptionDetails& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
121 inline AwsRdsEventSubscriptionDetails& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
123
125
128 inline const Aws::Vector<Aws::String>& GetSourceIdsList() const{ return m_sourceIdsList; }
129 inline bool SourceIdsListHasBeenSet() const { return m_sourceIdsListHasBeenSet; }
130 inline void SetSourceIdsList(const Aws::Vector<Aws::String>& value) { m_sourceIdsListHasBeenSet = true; m_sourceIdsList = value; }
131 inline void SetSourceIdsList(Aws::Vector<Aws::String>&& value) { m_sourceIdsListHasBeenSet = true; m_sourceIdsList = std::move(value); }
134 inline AwsRdsEventSubscriptionDetails& AddSourceIdsList(const Aws::String& value) { m_sourceIdsListHasBeenSet = true; m_sourceIdsList.push_back(value); return *this; }
135 inline AwsRdsEventSubscriptionDetails& AddSourceIdsList(Aws::String&& value) { m_sourceIdsListHasBeenSet = true; m_sourceIdsList.push_back(std::move(value)); return *this; }
136 inline AwsRdsEventSubscriptionDetails& AddSourceIdsList(const char* value) { m_sourceIdsListHasBeenSet = true; m_sourceIdsList.push_back(value); return *this; }
138
140
143 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
144 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
145 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
146 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
147 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
148 inline AwsRdsEventSubscriptionDetails& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
149 inline AwsRdsEventSubscriptionDetails& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
150 inline AwsRdsEventSubscriptionDetails& WithSourceType(const char* value) { SetSourceType(value); return *this;}
152
154
160 inline const Aws::String& GetStatus() const{ return m_status; }
161 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
162 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
163 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
164 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
165 inline AwsRdsEventSubscriptionDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
166 inline AwsRdsEventSubscriptionDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
167 inline AwsRdsEventSubscriptionDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
169
171
188 inline const Aws::String& GetSubscriptionCreationTime() const{ return m_subscriptionCreationTime; }
189 inline bool SubscriptionCreationTimeHasBeenSet() const { return m_subscriptionCreationTimeHasBeenSet; }
190 inline void SetSubscriptionCreationTime(const Aws::String& value) { m_subscriptionCreationTimeHasBeenSet = true; m_subscriptionCreationTime = value; }
191 inline void SetSubscriptionCreationTime(Aws::String&& value) { m_subscriptionCreationTimeHasBeenSet = true; m_subscriptionCreationTime = std::move(value); }
192 inline void SetSubscriptionCreationTime(const char* value) { m_subscriptionCreationTimeHasBeenSet = true; m_subscriptionCreationTime.assign(value); }
197 private:
198
199 Aws::String m_custSubscriptionId;
200 bool m_custSubscriptionIdHasBeenSet = false;
201
202 Aws::String m_customerAwsId;
203 bool m_customerAwsIdHasBeenSet = false;
204
205 bool m_enabled;
206 bool m_enabledHasBeenSet = false;
207
208 Aws::Vector<Aws::String> m_eventCategoriesList;
209 bool m_eventCategoriesListHasBeenSet = false;
210
211 Aws::String m_eventSubscriptionArn;
212 bool m_eventSubscriptionArnHasBeenSet = false;
213
214 Aws::String m_snsTopicArn;
215 bool m_snsTopicArnHasBeenSet = false;
216
217 Aws::Vector<Aws::String> m_sourceIdsList;
218 bool m_sourceIdsListHasBeenSet = false;
219
220 Aws::String m_sourceType;
221 bool m_sourceTypeHasBeenSet = false;
222
223 Aws::String m_status;
224 bool m_statusHasBeenSet = false;
225
226 Aws::String m_subscriptionCreationTime;
227 bool m_subscriptionCreationTimeHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace SecurityHub
232} // namespace Aws
AwsRdsEventSubscriptionDetails & WithCustomerAwsId(const Aws::String &value)
AwsRdsEventSubscriptionDetails & WithSubscriptionCreationTime(const Aws::String &value)
AwsRdsEventSubscriptionDetails & AddSourceIdsList(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithCustomerAwsId(const char *value)
AwsRdsEventSubscriptionDetails & WithStatus(const char *value)
AwsRdsEventSubscriptionDetails & AddEventCategoriesList(const Aws::String &value)
AwsRdsEventSubscriptionDetails & WithSourceType(const Aws::String &value)
AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsEventSubscriptionDetails & WithCustSubscriptionId(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithCustSubscriptionId(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsEventSubscriptionDetails & WithSnsTopicArn(const Aws::String &value)
AwsRdsEventSubscriptionDetails & AddEventCategoriesList(Aws::String &&value)
AwsRdsEventSubscriptionDetails & AddSourceIdsList(const char *value)
AwsRdsEventSubscriptionDetails & WithSubscriptionCreationTime(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithSourceIdsList(Aws::Vector< Aws::String > &&value)
void SetEventCategoriesList(const Aws::Vector< Aws::String > &value)
AwsRdsEventSubscriptionDetails & AddEventCategoriesList(const char *value)
AwsRdsEventSubscriptionDetails & WithEventCategoriesList(const Aws::Vector< Aws::String > &value)
AwsRdsEventSubscriptionDetails & WithSourceType(const char *value)
AwsRdsEventSubscriptionDetails & WithEventSubscriptionArn(const Aws::String &value)
AwsRdsEventSubscriptionDetails & WithEventCategoriesList(Aws::Vector< Aws::String > &&value)
AwsRdsEventSubscriptionDetails & WithCustomerAwsId(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithSourceType(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithEventSubscriptionArn(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithStatus(Aws::String &&value)
AwsRdsEventSubscriptionDetails & WithSnsTopicArn(Aws::String &&value)
AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsEventSubscriptionDetails & AddSourceIdsList(const Aws::String &value)
AwsRdsEventSubscriptionDetails & WithEventSubscriptionArn(const char *value)
AwsRdsEventSubscriptionDetails & WithSourceIdsList(const Aws::Vector< Aws::String > &value)
void SetSourceIdsList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
AwsRdsEventSubscriptionDetails & WithSnsTopicArn(const char *value)
AwsRdsEventSubscriptionDetails & WithStatus(const Aws::String &value)
AwsRdsEventSubscriptionDetails & WithSubscriptionCreationTime(const char *value)
AwsRdsEventSubscriptionDetails & WithCustSubscriptionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue