AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowLog.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/TrafficType.h>
12#include <aws/ec2/model/LogDestinationType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/DestinationOptionsResponse.h>
15#include <aws/ec2/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
31
37 class FlowLog
38 {
39 public:
40 AWS_EC2_API FlowLog();
41 AWS_EC2_API FlowLog(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_EC2_API FlowLog& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
53 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
54 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
55 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
56 inline FlowLog& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
57 inline FlowLog& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
59
61
69 inline const Aws::String& GetDeliverLogsErrorMessage() const{ return m_deliverLogsErrorMessage; }
70 inline bool DeliverLogsErrorMessageHasBeenSet() const { return m_deliverLogsErrorMessageHasBeenSet; }
71 inline void SetDeliverLogsErrorMessage(const Aws::String& value) { m_deliverLogsErrorMessageHasBeenSet = true; m_deliverLogsErrorMessage = value; }
72 inline void SetDeliverLogsErrorMessage(Aws::String&& value) { m_deliverLogsErrorMessageHasBeenSet = true; m_deliverLogsErrorMessage = std::move(value); }
73 inline void SetDeliverLogsErrorMessage(const char* value) { m_deliverLogsErrorMessageHasBeenSet = true; m_deliverLogsErrorMessage.assign(value); }
74 inline FlowLog& WithDeliverLogsErrorMessage(const Aws::String& value) { SetDeliverLogsErrorMessage(value); return *this;}
75 inline FlowLog& WithDeliverLogsErrorMessage(Aws::String&& value) { SetDeliverLogsErrorMessage(std::move(value)); return *this;}
76 inline FlowLog& WithDeliverLogsErrorMessage(const char* value) { SetDeliverLogsErrorMessage(value); return *this;}
78
80
84 inline const Aws::String& GetDeliverLogsPermissionArn() const{ return m_deliverLogsPermissionArn; }
85 inline bool DeliverLogsPermissionArnHasBeenSet() const { return m_deliverLogsPermissionArnHasBeenSet; }
86 inline void SetDeliverLogsPermissionArn(const Aws::String& value) { m_deliverLogsPermissionArnHasBeenSet = true; m_deliverLogsPermissionArn = value; }
87 inline void SetDeliverLogsPermissionArn(Aws::String&& value) { m_deliverLogsPermissionArnHasBeenSet = true; m_deliverLogsPermissionArn = std::move(value); }
88 inline void SetDeliverLogsPermissionArn(const char* value) { m_deliverLogsPermissionArnHasBeenSet = true; m_deliverLogsPermissionArn.assign(value); }
89 inline FlowLog& WithDeliverLogsPermissionArn(const Aws::String& value) { SetDeliverLogsPermissionArn(value); return *this;}
90 inline FlowLog& WithDeliverLogsPermissionArn(Aws::String&& value) { SetDeliverLogsPermissionArn(std::move(value)); return *this;}
91 inline FlowLog& WithDeliverLogsPermissionArn(const char* value) { SetDeliverLogsPermissionArn(value); return *this;}
93
95
99 inline const Aws::String& GetDeliverCrossAccountRole() const{ return m_deliverCrossAccountRole; }
100 inline bool DeliverCrossAccountRoleHasBeenSet() const { return m_deliverCrossAccountRoleHasBeenSet; }
101 inline void SetDeliverCrossAccountRole(const Aws::String& value) { m_deliverCrossAccountRoleHasBeenSet = true; m_deliverCrossAccountRole = value; }
102 inline void SetDeliverCrossAccountRole(Aws::String&& value) { m_deliverCrossAccountRoleHasBeenSet = true; m_deliverCrossAccountRole = std::move(value); }
103 inline void SetDeliverCrossAccountRole(const char* value) { m_deliverCrossAccountRoleHasBeenSet = true; m_deliverCrossAccountRole.assign(value); }
104 inline FlowLog& WithDeliverCrossAccountRole(const Aws::String& value) { SetDeliverCrossAccountRole(value); return *this;}
105 inline FlowLog& WithDeliverCrossAccountRole(Aws::String&& value) { SetDeliverCrossAccountRole(std::move(value)); return *this;}
106 inline FlowLog& WithDeliverCrossAccountRole(const char* value) { SetDeliverCrossAccountRole(value); return *this;}
108
110
114 inline const Aws::String& GetDeliverLogsStatus() const{ return m_deliverLogsStatus; }
115 inline bool DeliverLogsStatusHasBeenSet() const { return m_deliverLogsStatusHasBeenSet; }
116 inline void SetDeliverLogsStatus(const Aws::String& value) { m_deliverLogsStatusHasBeenSet = true; m_deliverLogsStatus = value; }
117 inline void SetDeliverLogsStatus(Aws::String&& value) { m_deliverLogsStatusHasBeenSet = true; m_deliverLogsStatus = std::move(value); }
118 inline void SetDeliverLogsStatus(const char* value) { m_deliverLogsStatusHasBeenSet = true; m_deliverLogsStatus.assign(value); }
119 inline FlowLog& WithDeliverLogsStatus(const Aws::String& value) { SetDeliverLogsStatus(value); return *this;}
120 inline FlowLog& WithDeliverLogsStatus(Aws::String&& value) { SetDeliverLogsStatus(std::move(value)); return *this;}
121 inline FlowLog& WithDeliverLogsStatus(const char* value) { SetDeliverLogsStatus(value); return *this;}
123
125
128 inline const Aws::String& GetFlowLogId() const{ return m_flowLogId; }
129 inline bool FlowLogIdHasBeenSet() const { return m_flowLogIdHasBeenSet; }
130 inline void SetFlowLogId(const Aws::String& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = value; }
131 inline void SetFlowLogId(Aws::String&& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = std::move(value); }
132 inline void SetFlowLogId(const char* value) { m_flowLogIdHasBeenSet = true; m_flowLogId.assign(value); }
133 inline FlowLog& WithFlowLogId(const Aws::String& value) { SetFlowLogId(value); return *this;}
134 inline FlowLog& WithFlowLogId(Aws::String&& value) { SetFlowLogId(std::move(value)); return *this;}
135 inline FlowLog& WithFlowLogId(const char* value) { SetFlowLogId(value); return *this;}
137
139
142 inline const Aws::String& GetFlowLogStatus() const{ return m_flowLogStatus; }
143 inline bool FlowLogStatusHasBeenSet() const { return m_flowLogStatusHasBeenSet; }
144 inline void SetFlowLogStatus(const Aws::String& value) { m_flowLogStatusHasBeenSet = true; m_flowLogStatus = value; }
145 inline void SetFlowLogStatus(Aws::String&& value) { m_flowLogStatusHasBeenSet = true; m_flowLogStatus = std::move(value); }
146 inline void SetFlowLogStatus(const char* value) { m_flowLogStatusHasBeenSet = true; m_flowLogStatus.assign(value); }
147 inline FlowLog& WithFlowLogStatus(const Aws::String& value) { SetFlowLogStatus(value); return *this;}
148 inline FlowLog& WithFlowLogStatus(Aws::String&& value) { SetFlowLogStatus(std::move(value)); return *this;}
149 inline FlowLog& WithFlowLogStatus(const char* value) { SetFlowLogStatus(value); return *this;}
151
153
156 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
157 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
158 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
159 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
160 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
161 inline FlowLog& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
162 inline FlowLog& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
163 inline FlowLog& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
165
167
170 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
171 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
172 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
173 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
174 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
175 inline FlowLog& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
176 inline FlowLog& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
177 inline FlowLog& WithResourceId(const char* value) { SetResourceId(value); return *this;}
179
181
184 inline const TrafficType& GetTrafficType() const{ return m_trafficType; }
185 inline bool TrafficTypeHasBeenSet() const { return m_trafficTypeHasBeenSet; }
186 inline void SetTrafficType(const TrafficType& value) { m_trafficTypeHasBeenSet = true; m_trafficType = value; }
187 inline void SetTrafficType(TrafficType&& value) { m_trafficTypeHasBeenSet = true; m_trafficType = std::move(value); }
188 inline FlowLog& WithTrafficType(const TrafficType& value) { SetTrafficType(value); return *this;}
189 inline FlowLog& WithTrafficType(TrafficType&& value) { SetTrafficType(std::move(value)); return *this;}
191
193
196 inline const LogDestinationType& GetLogDestinationType() const{ return m_logDestinationType; }
197 inline bool LogDestinationTypeHasBeenSet() const { return m_logDestinationTypeHasBeenSet; }
198 inline void SetLogDestinationType(const LogDestinationType& value) { m_logDestinationTypeHasBeenSet = true; m_logDestinationType = value; }
199 inline void SetLogDestinationType(LogDestinationType&& value) { m_logDestinationTypeHasBeenSet = true; m_logDestinationType = std::move(value); }
200 inline FlowLog& WithLogDestinationType(const LogDestinationType& value) { SetLogDestinationType(value); return *this;}
201 inline FlowLog& WithLogDestinationType(LogDestinationType&& value) { SetLogDestinationType(std::move(value)); return *this;}
203
205
208 inline const Aws::String& GetLogDestination() const{ return m_logDestination; }
209 inline bool LogDestinationHasBeenSet() const { return m_logDestinationHasBeenSet; }
210 inline void SetLogDestination(const Aws::String& value) { m_logDestinationHasBeenSet = true; m_logDestination = value; }
211 inline void SetLogDestination(Aws::String&& value) { m_logDestinationHasBeenSet = true; m_logDestination = std::move(value); }
212 inline void SetLogDestination(const char* value) { m_logDestinationHasBeenSet = true; m_logDestination.assign(value); }
213 inline FlowLog& WithLogDestination(const Aws::String& value) { SetLogDestination(value); return *this;}
214 inline FlowLog& WithLogDestination(Aws::String&& value) { SetLogDestination(std::move(value)); return *this;}
215 inline FlowLog& WithLogDestination(const char* value) { SetLogDestination(value); return *this;}
217
219
222 inline const Aws::String& GetLogFormat() const{ return m_logFormat; }
223 inline bool LogFormatHasBeenSet() const { return m_logFormatHasBeenSet; }
224 inline void SetLogFormat(const Aws::String& value) { m_logFormatHasBeenSet = true; m_logFormat = value; }
225 inline void SetLogFormat(Aws::String&& value) { m_logFormatHasBeenSet = true; m_logFormat = std::move(value); }
226 inline void SetLogFormat(const char* value) { m_logFormatHasBeenSet = true; m_logFormat.assign(value); }
227 inline FlowLog& WithLogFormat(const Aws::String& value) { SetLogFormat(value); return *this;}
228 inline FlowLog& WithLogFormat(Aws::String&& value) { SetLogFormat(std::move(value)); return *this;}
229 inline FlowLog& WithLogFormat(const char* value) { SetLogFormat(value); return *this;}
231
233
236 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
237 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
238 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
239 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
240 inline FlowLog& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
241 inline FlowLog& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
242 inline FlowLog& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
243 inline FlowLog& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
245
247
256 inline int GetMaxAggregationInterval() const{ return m_maxAggregationInterval; }
257 inline bool MaxAggregationIntervalHasBeenSet() const { return m_maxAggregationIntervalHasBeenSet; }
258 inline void SetMaxAggregationInterval(int value) { m_maxAggregationIntervalHasBeenSet = true; m_maxAggregationInterval = value; }
259 inline FlowLog& WithMaxAggregationInterval(int value) { SetMaxAggregationInterval(value); return *this;}
261
263
266 inline const DestinationOptionsResponse& GetDestinationOptions() const{ return m_destinationOptions; }
267 inline bool DestinationOptionsHasBeenSet() const { return m_destinationOptionsHasBeenSet; }
268 inline void SetDestinationOptions(const DestinationOptionsResponse& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = value; }
269 inline void SetDestinationOptions(DestinationOptionsResponse&& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = std::move(value); }
271 inline FlowLog& WithDestinationOptions(DestinationOptionsResponse&& value) { SetDestinationOptions(std::move(value)); return *this;}
273 private:
274
275 Aws::Utils::DateTime m_creationTime;
276 bool m_creationTimeHasBeenSet = false;
277
278 Aws::String m_deliverLogsErrorMessage;
279 bool m_deliverLogsErrorMessageHasBeenSet = false;
280
281 Aws::String m_deliverLogsPermissionArn;
282 bool m_deliverLogsPermissionArnHasBeenSet = false;
283
284 Aws::String m_deliverCrossAccountRole;
285 bool m_deliverCrossAccountRoleHasBeenSet = false;
286
287 Aws::String m_deliverLogsStatus;
288 bool m_deliverLogsStatusHasBeenSet = false;
289
290 Aws::String m_flowLogId;
291 bool m_flowLogIdHasBeenSet = false;
292
293 Aws::String m_flowLogStatus;
294 bool m_flowLogStatusHasBeenSet = false;
295
296 Aws::String m_logGroupName;
297 bool m_logGroupNameHasBeenSet = false;
298
299 Aws::String m_resourceId;
300 bool m_resourceIdHasBeenSet = false;
301
302 TrafficType m_trafficType;
303 bool m_trafficTypeHasBeenSet = false;
304
305 LogDestinationType m_logDestinationType;
306 bool m_logDestinationTypeHasBeenSet = false;
307
308 Aws::String m_logDestination;
309 bool m_logDestinationHasBeenSet = false;
310
311 Aws::String m_logFormat;
312 bool m_logFormatHasBeenSet = false;
313
314 Aws::Vector<Tag> m_tags;
315 bool m_tagsHasBeenSet = false;
316
317 int m_maxAggregationInterval;
318 bool m_maxAggregationIntervalHasBeenSet = false;
319
320 DestinationOptionsResponse m_destinationOptions;
321 bool m_destinationOptionsHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace EC2
326} // namespace Aws
const Aws::String & GetFlowLogId() const
Definition FlowLog.h:128
void SetLogDestinationType(LogDestinationType &&value)
Definition FlowLog.h:199
void SetResourceId(const Aws::String &value)
Definition FlowLog.h:172
void SetDeliverLogsPermissionArn(const char *value)
Definition FlowLog.h:88
FlowLog & WithFlowLogStatus(Aws::String &&value)
Definition FlowLog.h:148
void SetTags(const Aws::Vector< Tag > &value)
Definition FlowLog.h:238
const TrafficType & GetTrafficType() const
Definition FlowLog.h:184
void SetDeliverLogsErrorMessage(Aws::String &&value)
Definition FlowLog.h:72
bool DeliverLogsErrorMessageHasBeenSet() const
Definition FlowLog.h:70
FlowLog & WithDeliverLogsPermissionArn(const Aws::String &value)
Definition FlowLog.h:89
FlowLog & WithFlowLogStatus(const char *value)
Definition FlowLog.h:149
FlowLog & WithDeliverCrossAccountRole(const char *value)
Definition FlowLog.h:106
FlowLog & WithDeliverLogsErrorMessage(const char *value)
Definition FlowLog.h:76
const Aws::String & GetLogDestination() const
Definition FlowLog.h:208
int GetMaxAggregationInterval() const
Definition FlowLog.h:256
bool LogFormatHasBeenSet() const
Definition FlowLog.h:223
FlowLog & AddTags(const Tag &value)
Definition FlowLog.h:242
bool DestinationOptionsHasBeenSet() const
Definition FlowLog.h:267
bool DeliverLogsStatusHasBeenSet() const
Definition FlowLog.h:115
FlowLog & WithDeliverLogsStatus(const Aws::String &value)
Definition FlowLog.h:119
FlowLog & WithDeliverLogsPermissionArn(Aws::String &&value)
Definition FlowLog.h:90
bool FlowLogStatusHasBeenSet() const
Definition FlowLog.h:143
bool ResourceIdHasBeenSet() const
Definition FlowLog.h:171
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FlowLog & WithDeliverLogsStatus(Aws::String &&value)
Definition FlowLog.h:120
FlowLog & WithResourceId(Aws::String &&value)
Definition FlowLog.h:176
const Aws::String & GetFlowLogStatus() const
Definition FlowLog.h:142
void SetLogDestination(const char *value)
Definition FlowLog.h:212
const Aws::Utils::DateTime & GetCreationTime() const
Definition FlowLog.h:52
const Aws::String & GetLogGroupName() const
Definition FlowLog.h:156
void SetLogFormat(Aws::String &&value)
Definition FlowLog.h:225
FlowLog & WithLogDestinationType(LogDestinationType &&value)
Definition FlowLog.h:201
void SetDeliverCrossAccountRole(const char *value)
Definition FlowLog.h:103
FlowLog & WithDeliverCrossAccountRole(Aws::String &&value)
Definition FlowLog.h:105
void SetDeliverLogsErrorMessage(const Aws::String &value)
Definition FlowLog.h:71
void SetLogFormat(const char *value)
Definition FlowLog.h:226
void SetFlowLogStatus(Aws::String &&value)
Definition FlowLog.h:145
const Aws::String & GetDeliverCrossAccountRole() const
Definition FlowLog.h:99
bool CreationTimeHasBeenSet() const
Definition FlowLog.h:53
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition FlowLog.h:54
void SetLogGroupName(const char *value)
Definition FlowLog.h:160
FlowLog & WithFlowLogStatus(const Aws::String &value)
Definition FlowLog.h:147
void SetResourceId(Aws::String &&value)
Definition FlowLog.h:173
FlowLog & WithResourceId(const char *value)
Definition FlowLog.h:177
void SetDeliverCrossAccountRole(const Aws::String &value)
Definition FlowLog.h:101
FlowLog & WithLogGroupName(const Aws::String &value)
Definition FlowLog.h:161
FlowLog & WithTags(const Aws::Vector< Tag > &value)
Definition FlowLog.h:240
FlowLog & WithCreationTime(Aws::Utils::DateTime &&value)
Definition FlowLog.h:57
void SetTags(Aws::Vector< Tag > &&value)
Definition FlowLog.h:239
void SetLogDestination(const Aws::String &value)
Definition FlowLog.h:210
FlowLog & WithDestinationOptions(DestinationOptionsResponse &&value)
Definition FlowLog.h:271
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DeliverCrossAccountRoleHasBeenSet() const
Definition FlowLog.h:100
void SetFlowLogId(Aws::String &&value)
Definition FlowLog.h:131
FlowLog & WithResourceId(const Aws::String &value)
Definition FlowLog.h:175
FlowLog & WithLogDestination(const Aws::String &value)
Definition FlowLog.h:213
bool MaxAggregationIntervalHasBeenSet() const
Definition FlowLog.h:257
FlowLog & WithLogDestination(const char *value)
Definition FlowLog.h:215
FlowLog & WithLogDestinationType(const LogDestinationType &value)
Definition FlowLog.h:200
void SetTrafficType(TrafficType &&value)
Definition FlowLog.h:187
void SetLogFormat(const Aws::String &value)
Definition FlowLog.h:224
FlowLog & WithDeliverLogsStatus(const char *value)
Definition FlowLog.h:121
bool TrafficTypeHasBeenSet() const
Definition FlowLog.h:185
void SetDestinationOptions(const DestinationOptionsResponse &value)
Definition FlowLog.h:268
FlowLog & WithLogFormat(Aws::String &&value)
Definition FlowLog.h:228
FlowLog & WithCreationTime(const Aws::Utils::DateTime &value)
Definition FlowLog.h:56
AWS_EC2_API FlowLog & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FlowLog & WithLogGroupName(const char *value)
Definition FlowLog.h:163
AWS_EC2_API FlowLog(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDeliverLogsErrorMessage() const
Definition FlowLog.h:69
void SetDeliverLogsPermissionArn(const Aws::String &value)
Definition FlowLog.h:86
void SetDestinationOptions(DestinationOptionsResponse &&value)
Definition FlowLog.h:269
FlowLog & WithDeliverLogsErrorMessage(Aws::String &&value)
Definition FlowLog.h:75
const DestinationOptionsResponse & GetDestinationOptions() const
Definition FlowLog.h:266
FlowLog & WithLogFormat(const Aws::String &value)
Definition FlowLog.h:227
bool LogGroupNameHasBeenSet() const
Definition FlowLog.h:157
void SetLogGroupName(const Aws::String &value)
Definition FlowLog.h:158
FlowLog & WithDestinationOptions(const DestinationOptionsResponse &value)
Definition FlowLog.h:270
const Aws::String & GetResourceId() const
Definition FlowLog.h:170
FlowLog & WithFlowLogId(Aws::String &&value)
Definition FlowLog.h:134
void SetLogDestination(Aws::String &&value)
Definition FlowLog.h:211
FlowLog & WithMaxAggregationInterval(int value)
Definition FlowLog.h:259
FlowLog & AddTags(Tag &&value)
Definition FlowLog.h:243
const Aws::String & GetDeliverLogsPermissionArn() const
Definition FlowLog.h:84
void SetDeliverLogsStatus(const Aws::String &value)
Definition FlowLog.h:116
void SetFlowLogId(const Aws::String &value)
Definition FlowLog.h:130
void SetResourceId(const char *value)
Definition FlowLog.h:174
const LogDestinationType & GetLogDestinationType() const
Definition FlowLog.h:196
void SetFlowLogId(const char *value)
Definition FlowLog.h:132
bool LogDestinationTypeHasBeenSet() const
Definition FlowLog.h:197
bool LogDestinationHasBeenSet() const
Definition FlowLog.h:209
FlowLog & WithLogFormat(const char *value)
Definition FlowLog.h:229
FlowLog & WithDeliverLogsPermissionArn(const char *value)
Definition FlowLog.h:91
FlowLog & WithTrafficType(const TrafficType &value)
Definition FlowLog.h:188
void SetDeliverLogsStatus(const char *value)
Definition FlowLog.h:118
void SetLogDestinationType(const LogDestinationType &value)
Definition FlowLog.h:198
FlowLog & WithDeliverLogsErrorMessage(const Aws::String &value)
Definition FlowLog.h:74
bool TagsHasBeenSet() const
Definition FlowLog.h:237
FlowLog & WithTrafficType(TrafficType &&value)
Definition FlowLog.h:189
void SetTrafficType(const TrafficType &value)
Definition FlowLog.h:186
const Aws::String & GetLogFormat() const
Definition FlowLog.h:222
void SetMaxAggregationInterval(int value)
Definition FlowLog.h:258
FlowLog & WithFlowLogId(const char *value)
Definition FlowLog.h:135
FlowLog & WithDeliverCrossAccountRole(const Aws::String &value)
Definition FlowLog.h:104
FlowLog & WithFlowLogId(const Aws::String &value)
Definition FlowLog.h:133
void SetLogGroupName(Aws::String &&value)
Definition FlowLog.h:159
const Aws::Vector< Tag > & GetTags() const
Definition FlowLog.h:236
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition FlowLog.h:55
void SetFlowLogStatus(const char *value)
Definition FlowLog.h:146
FlowLog & WithTags(Aws::Vector< Tag > &&value)
Definition FlowLog.h:241
bool DeliverLogsPermissionArnHasBeenSet() const
Definition FlowLog.h:85
void SetFlowLogStatus(const Aws::String &value)
Definition FlowLog.h:144
void SetDeliverLogsStatus(Aws::String &&value)
Definition FlowLog.h:117
FlowLog & WithLogDestination(Aws::String &&value)
Definition FlowLog.h:214
void SetDeliverCrossAccountRole(Aws::String &&value)
Definition FlowLog.h:102
void SetDeliverLogsErrorMessage(const char *value)
Definition FlowLog.h:73
FlowLog & WithLogGroupName(Aws::String &&value)
Definition FlowLog.h:162
bool FlowLogIdHasBeenSet() const
Definition FlowLog.h:129
const Aws::String & GetDeliverLogsStatus() const
Definition FlowLog.h:114
void SetDeliverLogsPermissionArn(Aws::String &&value)
Definition FlowLog.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream