AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventDataStoreResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/EventDataStoreStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudtrail/model/BillingMode.h>
13#include <aws/cloudtrail/model/FederationStatus.h>
14#include <aws/cloudtrail/model/AdvancedEventSelector.h>
15#include <aws/cloudtrail/model/PartitionKey.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace CloudTrail
31{
32namespace Model
33{
35 {
36 public:
37 AWS_CLOUDTRAIL_API GetEventDataStoreResult();
40
41
43
46 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
47 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArn = value; }
48 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArn = std::move(value); }
49 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArn.assign(value); }
51 inline GetEventDataStoreResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
52 inline GetEventDataStoreResult& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline void SetName(const Aws::String& value) { m_name = value; }
61 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
62 inline void SetName(const char* value) { m_name.assign(value); }
63 inline GetEventDataStoreResult& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline GetEventDataStoreResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline GetEventDataStoreResult& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const EventDataStoreStatus& GetStatus() const{ return m_status; }
73 inline void SetStatus(const EventDataStoreStatus& value) { m_status = value; }
74 inline void SetStatus(EventDataStoreStatus&& value) { m_status = std::move(value); }
75 inline GetEventDataStoreResult& WithStatus(const EventDataStoreStatus& value) { SetStatus(value); return *this;}
76 inline GetEventDataStoreResult& WithStatus(EventDataStoreStatus&& value) { SetStatus(std::move(value)); return *this;}
78
80
83 inline const Aws::Vector<AdvancedEventSelector>& GetAdvancedEventSelectors() const{ return m_advancedEventSelectors; }
84 inline void SetAdvancedEventSelectors(const Aws::Vector<AdvancedEventSelector>& value) { m_advancedEventSelectors = value; }
85 inline void SetAdvancedEventSelectors(Aws::Vector<AdvancedEventSelector>&& value) { m_advancedEventSelectors = std::move(value); }
88 inline GetEventDataStoreResult& AddAdvancedEventSelectors(const AdvancedEventSelector& value) { m_advancedEventSelectors.push_back(value); return *this; }
89 inline GetEventDataStoreResult& AddAdvancedEventSelectors(AdvancedEventSelector&& value) { m_advancedEventSelectors.push_back(std::move(value)); return *this; }
91
93
97 inline bool GetMultiRegionEnabled() const{ return m_multiRegionEnabled; }
98 inline void SetMultiRegionEnabled(bool value) { m_multiRegionEnabled = value; }
99 inline GetEventDataStoreResult& WithMultiRegionEnabled(bool value) { SetMultiRegionEnabled(value); return *this;}
101
103
107 inline bool GetOrganizationEnabled() const{ return m_organizationEnabled; }
108 inline void SetOrganizationEnabled(bool value) { m_organizationEnabled = value; }
109 inline GetEventDataStoreResult& WithOrganizationEnabled(bool value) { SetOrganizationEnabled(value); return *this;}
111
113
116 inline int GetRetentionPeriod() const{ return m_retentionPeriod; }
117 inline void SetRetentionPeriod(int value) { m_retentionPeriod = value; }
118 inline GetEventDataStoreResult& WithRetentionPeriod(int value) { SetRetentionPeriod(value); return *this;}
120
122
125 inline bool GetTerminationProtectionEnabled() const{ return m_terminationProtectionEnabled; }
126 inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabled = value; }
129
131
134 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
135 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
136 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
140
142
147 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
148 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestamp = value; }
149 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestamp = std::move(value); }
153
155
161 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
162 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
163 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
164 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
165 inline GetEventDataStoreResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
166 inline GetEventDataStoreResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
167 inline GetEventDataStoreResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
169
171
174 inline const BillingMode& GetBillingMode() const{ return m_billingMode; }
175 inline void SetBillingMode(const BillingMode& value) { m_billingMode = value; }
176 inline void SetBillingMode(BillingMode&& value) { m_billingMode = std::move(value); }
177 inline GetEventDataStoreResult& WithBillingMode(const BillingMode& value) { SetBillingMode(value); return *this;}
178 inline GetEventDataStoreResult& WithBillingMode(BillingMode&& value) { SetBillingMode(std::move(value)); return *this;}
180
182
190 inline const FederationStatus& GetFederationStatus() const{ return m_federationStatus; }
191 inline void SetFederationStatus(const FederationStatus& value) { m_federationStatus = value; }
192 inline void SetFederationStatus(FederationStatus&& value) { m_federationStatus = std::move(value); }
194 inline GetEventDataStoreResult& WithFederationStatus(FederationStatus&& value) { SetFederationStatus(std::move(value)); return *this;}
196
198
202 inline const Aws::String& GetFederationRoleArn() const{ return m_federationRoleArn; }
203 inline void SetFederationRoleArn(const Aws::String& value) { m_federationRoleArn = value; }
204 inline void SetFederationRoleArn(Aws::String&& value) { m_federationRoleArn = std::move(value); }
205 inline void SetFederationRoleArn(const char* value) { m_federationRoleArn.assign(value); }
207 inline GetEventDataStoreResult& WithFederationRoleArn(Aws::String&& value) { SetFederationRoleArn(std::move(value)); return *this;}
208 inline GetEventDataStoreResult& WithFederationRoleArn(const char* value) { SetFederationRoleArn(value); return *this;}
210
212
217 inline const Aws::Vector<PartitionKey>& GetPartitionKeys() const{ return m_partitionKeys; }
218 inline void SetPartitionKeys(const Aws::Vector<PartitionKey>& value) { m_partitionKeys = value; }
219 inline void SetPartitionKeys(Aws::Vector<PartitionKey>&& value) { m_partitionKeys = std::move(value); }
221 inline GetEventDataStoreResult& WithPartitionKeys(Aws::Vector<PartitionKey>&& value) { SetPartitionKeys(std::move(value)); return *this;}
222 inline GetEventDataStoreResult& AddPartitionKeys(const PartitionKey& value) { m_partitionKeys.push_back(value); return *this; }
223 inline GetEventDataStoreResult& AddPartitionKeys(PartitionKey&& value) { m_partitionKeys.push_back(std::move(value)); return *this; }
225
227
228 inline const Aws::String& GetRequestId() const{ return m_requestId; }
229 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
230 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
231 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
232 inline GetEventDataStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
233 inline GetEventDataStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
234 inline GetEventDataStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
236 private:
237
238 Aws::String m_eventDataStoreArn;
239
240 Aws::String m_name;
241
242 EventDataStoreStatus m_status;
243
244 Aws::Vector<AdvancedEventSelector> m_advancedEventSelectors;
245
246 bool m_multiRegionEnabled;
247
248 bool m_organizationEnabled;
249
250 int m_retentionPeriod;
251
252 bool m_terminationProtectionEnabled;
253
254 Aws::Utils::DateTime m_createdTimestamp;
255
256 Aws::Utils::DateTime m_updatedTimestamp;
257
258 Aws::String m_kmsKeyId;
259
260 BillingMode m_billingMode;
261
262 FederationStatus m_federationStatus;
263
264 Aws::String m_federationRoleArn;
265
266 Aws::Vector<PartitionKey> m_partitionKeys;
267
268 Aws::String m_requestId;
269 };
270
271} // namespace Model
272} // namespace CloudTrail
273} // namespace Aws
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
GetEventDataStoreResult & WithMultiRegionEnabled(bool value)
GetEventDataStoreResult & AddPartitionKeys(const PartitionKey &value)
GetEventDataStoreResult & WithBillingMode(const BillingMode &value)
GetEventDataStoreResult & WithKmsKeyId(Aws::String &&value)
GetEventDataStoreResult & WithTerminationProtectionEnabled(bool value)
GetEventDataStoreResult & WithPartitionKeys(Aws::Vector< PartitionKey > &&value)
GetEventDataStoreResult & WithName(const char *value)
GetEventDataStoreResult & WithName(const Aws::String &value)
GetEventDataStoreResult & WithEventDataStoreArn(Aws::String &&value)
void SetStatus(const EventDataStoreStatus &value)
GetEventDataStoreResult & AddPartitionKeys(PartitionKey &&value)
GetEventDataStoreResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithStatus(EventDataStoreStatus &&value)
GetEventDataStoreResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
GetEventDataStoreResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CLOUDTRAIL_API GetEventDataStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventDataStoreResult & WithFederationStatus(FederationStatus &&value)
GetEventDataStoreResult & WithKmsKeyId(const Aws::String &value)
const Aws::Vector< PartitionKey > & GetPartitionKeys() const
void SetPartitionKeys(Aws::Vector< PartitionKey > &&value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
GetEventDataStoreResult & WithEventDataStoreArn(const Aws::String &value)
GetEventDataStoreResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithName(Aws::String &&value)
GetEventDataStoreResult & WithPartitionKeys(const Aws::Vector< PartitionKey > &value)
GetEventDataStoreResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
GetEventDataStoreResult & WithRequestId(Aws::String &&value)
void SetPartitionKeys(const Aws::Vector< PartitionKey > &value)
GetEventDataStoreResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetEventDataStoreResult & WithKmsKeyId(const char *value)
GetEventDataStoreResult & WithRetentionPeriod(int value)
GetEventDataStoreResult & WithOrganizationEnabled(bool value)
AWS_CLOUDTRAIL_API GetEventDataStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetEventDataStoreResult & WithBillingMode(BillingMode &&value)
GetEventDataStoreResult & WithFederationRoleArn(const char *value)
GetEventDataStoreResult & WithFederationStatus(const FederationStatus &value)
GetEventDataStoreResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetEventDataStoreResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
GetEventDataStoreResult & WithEventDataStoreArn(const char *value)
GetEventDataStoreResult & WithRequestId(const char *value)
GetEventDataStoreResult & WithFederationRoleArn(const Aws::String &value)
GetEventDataStoreResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetFederationStatus(const FederationStatus &value)
GetEventDataStoreResult & WithStatus(const EventDataStoreStatus &value)
GetEventDataStoreResult & WithFederationRoleArn(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