AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEventDataStoreResult.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 <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace CloudTrail
30{
31namespace Model
32{
34 {
35 public:
36 AWS_CLOUDTRAIL_API UpdateEventDataStoreResult();
39
40
42
45 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
46 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArn = value; }
47 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArn = std::move(value); }
48 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArn.assign(value); }
50 inline UpdateEventDataStoreResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
51 inline UpdateEventDataStoreResult& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline UpdateEventDataStoreResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateEventDataStoreResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateEventDataStoreResult& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const EventDataStoreStatus& GetStatus() const{ return m_status; }
72 inline void SetStatus(const EventDataStoreStatus& value) { m_status = value; }
73 inline void SetStatus(EventDataStoreStatus&& value) { m_status = std::move(value); }
74 inline UpdateEventDataStoreResult& WithStatus(const EventDataStoreStatus& value) { SetStatus(value); return *this;}
75 inline UpdateEventDataStoreResult& WithStatus(EventDataStoreStatus&& value) { SetStatus(std::move(value)); return *this;}
77
79
82 inline const Aws::Vector<AdvancedEventSelector>& GetAdvancedEventSelectors() const{ return m_advancedEventSelectors; }
83 inline void SetAdvancedEventSelectors(const Aws::Vector<AdvancedEventSelector>& value) { m_advancedEventSelectors = value; }
84 inline void SetAdvancedEventSelectors(Aws::Vector<AdvancedEventSelector>&& value) { m_advancedEventSelectors = std::move(value); }
87 inline UpdateEventDataStoreResult& AddAdvancedEventSelectors(const AdvancedEventSelector& value) { m_advancedEventSelectors.push_back(value); return *this; }
88 inline UpdateEventDataStoreResult& AddAdvancedEventSelectors(AdvancedEventSelector&& value) { m_advancedEventSelectors.push_back(std::move(value)); return *this; }
90
92
96 inline bool GetMultiRegionEnabled() const{ return m_multiRegionEnabled; }
97 inline void SetMultiRegionEnabled(bool value) { m_multiRegionEnabled = value; }
98 inline UpdateEventDataStoreResult& WithMultiRegionEnabled(bool value) { SetMultiRegionEnabled(value); return *this;}
100
102
106 inline bool GetOrganizationEnabled() const{ return m_organizationEnabled; }
107 inline void SetOrganizationEnabled(bool value) { m_organizationEnabled = value; }
110
112
115 inline int GetRetentionPeriod() const{ return m_retentionPeriod; }
116 inline void SetRetentionPeriod(int value) { m_retentionPeriod = value; }
117 inline UpdateEventDataStoreResult& WithRetentionPeriod(int value) { SetRetentionPeriod(value); return *this;}
119
121
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 UpdateEventDataStoreResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
166 inline UpdateEventDataStoreResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
167 inline UpdateEventDataStoreResult& 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 UpdateEventDataStoreResult& WithBillingMode(const BillingMode& value) { SetBillingMode(value); return *this;}
178 inline UpdateEventDataStoreResult& 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 UpdateEventDataStoreResult& 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 UpdateEventDataStoreResult& WithFederationRoleArn(Aws::String&& value) { SetFederationRoleArn(std::move(value)); return *this;}
208 inline UpdateEventDataStoreResult& WithFederationRoleArn(const char* value) { SetFederationRoleArn(value); return *this;}
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline UpdateEventDataStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline UpdateEventDataStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline UpdateEventDataStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 Aws::String m_eventDataStoreArn;
224
225 Aws::String m_name;
226
227 EventDataStoreStatus m_status;
228
229 Aws::Vector<AdvancedEventSelector> m_advancedEventSelectors;
230
231 bool m_multiRegionEnabled;
232
233 bool m_organizationEnabled;
234
235 int m_retentionPeriod;
236
237 bool m_terminationProtectionEnabled;
238
239 Aws::Utils::DateTime m_createdTimestamp;
240
241 Aws::Utils::DateTime m_updatedTimestamp;
242
243 Aws::String m_kmsKeyId;
244
245 BillingMode m_billingMode;
246
247 FederationStatus m_federationStatus;
248
249 Aws::String m_federationRoleArn;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace CloudTrail
256} // namespace Aws
UpdateEventDataStoreResult & WithBillingMode(BillingMode &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
UpdateEventDataStoreResult & WithTerminationProtectionEnabled(bool value)
void SetAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
UpdateEventDataStoreResult & WithAdvancedEventSelectors(Aws::Vector< AdvancedEventSelector > &&value)
UpdateEventDataStoreResult & WithName(const char *value)
UpdateEventDataStoreResult & WithBillingMode(const BillingMode &value)
UpdateEventDataStoreResult & WithEventDataStoreArn(const Aws::String &value)
UpdateEventDataStoreResult & WithFederationStatus(const FederationStatus &value)
AWS_CLOUDTRAIL_API UpdateEventDataStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventDataStoreResult & WithFederationStatus(FederationStatus &&value)
UpdateEventDataStoreResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
UpdateEventDataStoreResult & AddAdvancedEventSelectors(const AdvancedEventSelector &value)
AWS_CLOUDTRAIL_API UpdateEventDataStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventDataStoreResult & WithKmsKeyId(Aws::String &&value)
UpdateEventDataStoreResult & WithFederationRoleArn(const char *value)
UpdateEventDataStoreResult & WithKmsKeyId(const char *value)
UpdateEventDataStoreResult & WithStatus(const EventDataStoreStatus &value)
UpdateEventDataStoreResult & WithKmsKeyId(const Aws::String &value)
UpdateEventDataStoreResult & WithAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
UpdateEventDataStoreResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
UpdateEventDataStoreResult & WithFederationRoleArn(Aws::String &&value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
UpdateEventDataStoreResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
UpdateEventDataStoreResult & WithMultiRegionEnabled(bool value)
UpdateEventDataStoreResult & WithRequestId(const Aws::String &value)
UpdateEventDataStoreResult & WithStatus(EventDataStoreStatus &&value)
UpdateEventDataStoreResult & AddAdvancedEventSelectors(AdvancedEventSelector &&value)
UpdateEventDataStoreResult & WithName(Aws::String &&value)
UpdateEventDataStoreResult & WithEventDataStoreArn(const char *value)
void SetAdvancedEventSelectors(const Aws::Vector< AdvancedEventSelector > &value)
UpdateEventDataStoreResult & WithRetentionPeriod(int value)
const Aws::Vector< AdvancedEventSelector > & GetAdvancedEventSelectors() const
UpdateEventDataStoreResult & WithRequestId(Aws::String &&value)
UpdateEventDataStoreResult & WithOrganizationEnabled(bool value)
UpdateEventDataStoreResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
UpdateEventDataStoreResult & WithEventDataStoreArn(Aws::String &&value)
UpdateEventDataStoreResult & WithFederationRoleArn(const Aws::String &value)
UpdateEventDataStoreResult & WithName(const Aws::String &value)
UpdateEventDataStoreResult & WithRequestId(const char *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