1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/application-insights/ApplicationInsights_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <aws/core/utils/DateTime.h> 10 #include <aws/application-insights/model/LogFilter.h> 11 #include <aws/application-insights/model/CloudWatchEventSource.h> 12 #include <utility> 13 14 namespace Aws 15 { 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 class JsonView; 22 } // namespace Json 23 } // namespace Utils 24 namespace ApplicationInsights 25 { 26 namespace Model 27 { 28 29 /** 30 * <p>Describes an anomaly or error with the application.</p><p><h3>See Also:</h3> 31 * <a 32 * href="http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/Observation">AWS 33 * API Reference</a></p> 34 */ 35 class AWS_APPLICATIONINSIGHTS_API Observation 36 { 37 public: 38 Observation(); 39 Observation(Aws::Utils::Json::JsonView jsonValue); 40 Observation& operator=(Aws::Utils::Json::JsonView jsonValue); 41 Aws::Utils::Json::JsonValue Jsonize() const; 42 43 44 /** 45 * <p>The ID of the observation type.</p> 46 */ GetId()47 inline const Aws::String& GetId() const{ return m_id; } 48 49 /** 50 * <p>The ID of the observation type.</p> 51 */ IdHasBeenSet()52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; } 53 54 /** 55 * <p>The ID of the observation type.</p> 56 */ SetId(const Aws::String & value)57 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } 58 59 /** 60 * <p>The ID of the observation type.</p> 61 */ SetId(Aws::String && value)62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } 63 64 /** 65 * <p>The ID of the observation type.</p> 66 */ SetId(const char * value)67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } 68 69 /** 70 * <p>The ID of the observation type.</p> 71 */ WithId(const Aws::String & value)72 inline Observation& WithId(const Aws::String& value) { SetId(value); return *this;} 73 74 /** 75 * <p>The ID of the observation type.</p> 76 */ WithId(Aws::String && value)77 inline Observation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} 78 79 /** 80 * <p>The ID of the observation type.</p> 81 */ WithId(const char * value)82 inline Observation& WithId(const char* value) { SetId(value); return *this;} 83 84 85 /** 86 * <p>The time when the observation was first detected, in epoch seconds.</p> 87 */ GetStartTime()88 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } 89 90 /** 91 * <p>The time when the observation was first detected, in epoch seconds.</p> 92 */ StartTimeHasBeenSet()93 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } 94 95 /** 96 * <p>The time when the observation was first detected, in epoch seconds.</p> 97 */ SetStartTime(const Aws::Utils::DateTime & value)98 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } 99 100 /** 101 * <p>The time when the observation was first detected, in epoch seconds.</p> 102 */ SetStartTime(Aws::Utils::DateTime && value)103 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } 104 105 /** 106 * <p>The time when the observation was first detected, in epoch seconds.</p> 107 */ WithStartTime(const Aws::Utils::DateTime & value)108 inline Observation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} 109 110 /** 111 * <p>The time when the observation was first detected, in epoch seconds.</p> 112 */ WithStartTime(Aws::Utils::DateTime && value)113 inline Observation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} 114 115 116 /** 117 * <p>The time when the observation ended, in epoch seconds.</p> 118 */ GetEndTime()119 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } 120 121 /** 122 * <p>The time when the observation ended, in epoch seconds.</p> 123 */ EndTimeHasBeenSet()124 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } 125 126 /** 127 * <p>The time when the observation ended, in epoch seconds.</p> 128 */ SetEndTime(const Aws::Utils::DateTime & value)129 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } 130 131 /** 132 * <p>The time when the observation ended, in epoch seconds.</p> 133 */ SetEndTime(Aws::Utils::DateTime && value)134 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } 135 136 /** 137 * <p>The time when the observation ended, in epoch seconds.</p> 138 */ WithEndTime(const Aws::Utils::DateTime & value)139 inline Observation& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} 140 141 /** 142 * <p>The time when the observation ended, in epoch seconds.</p> 143 */ WithEndTime(Aws::Utils::DateTime && value)144 inline Observation& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} 145 146 147 /** 148 * <p>The source type of the observation.</p> 149 */ GetSourceType()150 inline const Aws::String& GetSourceType() const{ return m_sourceType; } 151 152 /** 153 * <p>The source type of the observation.</p> 154 */ SourceTypeHasBeenSet()155 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } 156 157 /** 158 * <p>The source type of the observation.</p> 159 */ SetSourceType(const Aws::String & value)160 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } 161 162 /** 163 * <p>The source type of the observation.</p> 164 */ SetSourceType(Aws::String && value)165 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } 166 167 /** 168 * <p>The source type of the observation.</p> 169 */ SetSourceType(const char * value)170 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } 171 172 /** 173 * <p>The source type of the observation.</p> 174 */ WithSourceType(const Aws::String & value)175 inline Observation& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} 176 177 /** 178 * <p>The source type of the observation.</p> 179 */ WithSourceType(Aws::String && value)180 inline Observation& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} 181 182 /** 183 * <p>The source type of the observation.</p> 184 */ WithSourceType(const char * value)185 inline Observation& WithSourceType(const char* value) { SetSourceType(value); return *this;} 186 187 188 /** 189 * <p>The source resource ARN of the observation.</p> 190 */ GetSourceARN()191 inline const Aws::String& GetSourceARN() const{ return m_sourceARN; } 192 193 /** 194 * <p>The source resource ARN of the observation.</p> 195 */ SourceARNHasBeenSet()196 inline bool SourceARNHasBeenSet() const { return m_sourceARNHasBeenSet; } 197 198 /** 199 * <p>The source resource ARN of the observation.</p> 200 */ SetSourceARN(const Aws::String & value)201 inline void SetSourceARN(const Aws::String& value) { m_sourceARNHasBeenSet = true; m_sourceARN = value; } 202 203 /** 204 * <p>The source resource ARN of the observation.</p> 205 */ SetSourceARN(Aws::String && value)206 inline void SetSourceARN(Aws::String&& value) { m_sourceARNHasBeenSet = true; m_sourceARN = std::move(value); } 207 208 /** 209 * <p>The source resource ARN of the observation.</p> 210 */ SetSourceARN(const char * value)211 inline void SetSourceARN(const char* value) { m_sourceARNHasBeenSet = true; m_sourceARN.assign(value); } 212 213 /** 214 * <p>The source resource ARN of the observation.</p> 215 */ WithSourceARN(const Aws::String & value)216 inline Observation& WithSourceARN(const Aws::String& value) { SetSourceARN(value); return *this;} 217 218 /** 219 * <p>The source resource ARN of the observation.</p> 220 */ WithSourceARN(Aws::String && value)221 inline Observation& WithSourceARN(Aws::String&& value) { SetSourceARN(std::move(value)); return *this;} 222 223 /** 224 * <p>The source resource ARN of the observation.</p> 225 */ WithSourceARN(const char * value)226 inline Observation& WithSourceARN(const char* value) { SetSourceARN(value); return *this;} 227 228 229 /** 230 * <p>The log group name.</p> 231 */ GetLogGroup()232 inline const Aws::String& GetLogGroup() const{ return m_logGroup; } 233 234 /** 235 * <p>The log group name.</p> 236 */ LogGroupHasBeenSet()237 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; } 238 239 /** 240 * <p>The log group name.</p> 241 */ SetLogGroup(const Aws::String & value)242 inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; } 243 244 /** 245 * <p>The log group name.</p> 246 */ SetLogGroup(Aws::String && value)247 inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); } 248 249 /** 250 * <p>The log group name.</p> 251 */ SetLogGroup(const char * value)252 inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); } 253 254 /** 255 * <p>The log group name.</p> 256 */ WithLogGroup(const Aws::String & value)257 inline Observation& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;} 258 259 /** 260 * <p>The log group name.</p> 261 */ WithLogGroup(Aws::String && value)262 inline Observation& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;} 263 264 /** 265 * <p>The log group name.</p> 266 */ WithLogGroup(const char * value)267 inline Observation& WithLogGroup(const char* value) { SetLogGroup(value); return *this;} 268 269 270 /** 271 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 272 * occurred.</p> 273 */ GetLineTime()274 inline const Aws::Utils::DateTime& GetLineTime() const{ return m_lineTime; } 275 276 /** 277 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 278 * occurred.</p> 279 */ LineTimeHasBeenSet()280 inline bool LineTimeHasBeenSet() const { return m_lineTimeHasBeenSet; } 281 282 /** 283 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 284 * occurred.</p> 285 */ SetLineTime(const Aws::Utils::DateTime & value)286 inline void SetLineTime(const Aws::Utils::DateTime& value) { m_lineTimeHasBeenSet = true; m_lineTime = value; } 287 288 /** 289 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 290 * occurred.</p> 291 */ SetLineTime(Aws::Utils::DateTime && value)292 inline void SetLineTime(Aws::Utils::DateTime&& value) { m_lineTimeHasBeenSet = true; m_lineTime = std::move(value); } 293 294 /** 295 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 296 * occurred.</p> 297 */ WithLineTime(const Aws::Utils::DateTime & value)298 inline Observation& WithLineTime(const Aws::Utils::DateTime& value) { SetLineTime(value); return *this;} 299 300 /** 301 * <p>The timestamp in the CloudWatch Logs that specifies when the matched line 302 * occurred.</p> 303 */ WithLineTime(Aws::Utils::DateTime && value)304 inline Observation& WithLineTime(Aws::Utils::DateTime&& value) { SetLineTime(std::move(value)); return *this;} 305 306 307 /** 308 * <p>The log text of the observation.</p> 309 */ GetLogText()310 inline const Aws::String& GetLogText() const{ return m_logText; } 311 312 /** 313 * <p>The log text of the observation.</p> 314 */ LogTextHasBeenSet()315 inline bool LogTextHasBeenSet() const { return m_logTextHasBeenSet; } 316 317 /** 318 * <p>The log text of the observation.</p> 319 */ SetLogText(const Aws::String & value)320 inline void SetLogText(const Aws::String& value) { m_logTextHasBeenSet = true; m_logText = value; } 321 322 /** 323 * <p>The log text of the observation.</p> 324 */ SetLogText(Aws::String && value)325 inline void SetLogText(Aws::String&& value) { m_logTextHasBeenSet = true; m_logText = std::move(value); } 326 327 /** 328 * <p>The log text of the observation.</p> 329 */ SetLogText(const char * value)330 inline void SetLogText(const char* value) { m_logTextHasBeenSet = true; m_logText.assign(value); } 331 332 /** 333 * <p>The log text of the observation.</p> 334 */ WithLogText(const Aws::String & value)335 inline Observation& WithLogText(const Aws::String& value) { SetLogText(value); return *this;} 336 337 /** 338 * <p>The log text of the observation.</p> 339 */ WithLogText(Aws::String && value)340 inline Observation& WithLogText(Aws::String&& value) { SetLogText(std::move(value)); return *this;} 341 342 /** 343 * <p>The log text of the observation.</p> 344 */ WithLogText(const char * value)345 inline Observation& WithLogText(const char* value) { SetLogText(value); return *this;} 346 347 348 /** 349 * <p>The log filter of the observation.</p> 350 */ GetLogFilter()351 inline const LogFilter& GetLogFilter() const{ return m_logFilter; } 352 353 /** 354 * <p>The log filter of the observation.</p> 355 */ LogFilterHasBeenSet()356 inline bool LogFilterHasBeenSet() const { return m_logFilterHasBeenSet; } 357 358 /** 359 * <p>The log filter of the observation.</p> 360 */ SetLogFilter(const LogFilter & value)361 inline void SetLogFilter(const LogFilter& value) { m_logFilterHasBeenSet = true; m_logFilter = value; } 362 363 /** 364 * <p>The log filter of the observation.</p> 365 */ SetLogFilter(LogFilter && value)366 inline void SetLogFilter(LogFilter&& value) { m_logFilterHasBeenSet = true; m_logFilter = std::move(value); } 367 368 /** 369 * <p>The log filter of the observation.</p> 370 */ WithLogFilter(const LogFilter & value)371 inline Observation& WithLogFilter(const LogFilter& value) { SetLogFilter(value); return *this;} 372 373 /** 374 * <p>The log filter of the observation.</p> 375 */ WithLogFilter(LogFilter && value)376 inline Observation& WithLogFilter(LogFilter&& value) { SetLogFilter(std::move(value)); return *this;} 377 378 379 /** 380 * <p>The namespace of the observation metric.</p> 381 */ GetMetricNamespace()382 inline const Aws::String& GetMetricNamespace() const{ return m_metricNamespace; } 383 384 /** 385 * <p>The namespace of the observation metric.</p> 386 */ MetricNamespaceHasBeenSet()387 inline bool MetricNamespaceHasBeenSet() const { return m_metricNamespaceHasBeenSet; } 388 389 /** 390 * <p>The namespace of the observation metric.</p> 391 */ SetMetricNamespace(const Aws::String & value)392 inline void SetMetricNamespace(const Aws::String& value) { m_metricNamespaceHasBeenSet = true; m_metricNamespace = value; } 393 394 /** 395 * <p>The namespace of the observation metric.</p> 396 */ SetMetricNamespace(Aws::String && value)397 inline void SetMetricNamespace(Aws::String&& value) { m_metricNamespaceHasBeenSet = true; m_metricNamespace = std::move(value); } 398 399 /** 400 * <p>The namespace of the observation metric.</p> 401 */ SetMetricNamespace(const char * value)402 inline void SetMetricNamespace(const char* value) { m_metricNamespaceHasBeenSet = true; m_metricNamespace.assign(value); } 403 404 /** 405 * <p>The namespace of the observation metric.</p> 406 */ WithMetricNamespace(const Aws::String & value)407 inline Observation& WithMetricNamespace(const Aws::String& value) { SetMetricNamespace(value); return *this;} 408 409 /** 410 * <p>The namespace of the observation metric.</p> 411 */ WithMetricNamespace(Aws::String && value)412 inline Observation& WithMetricNamespace(Aws::String&& value) { SetMetricNamespace(std::move(value)); return *this;} 413 414 /** 415 * <p>The namespace of the observation metric.</p> 416 */ WithMetricNamespace(const char * value)417 inline Observation& WithMetricNamespace(const char* value) { SetMetricNamespace(value); return *this;} 418 419 420 /** 421 * <p>The name of the observation metric.</p> 422 */ GetMetricName()423 inline const Aws::String& GetMetricName() const{ return m_metricName; } 424 425 /** 426 * <p>The name of the observation metric.</p> 427 */ MetricNameHasBeenSet()428 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } 429 430 /** 431 * <p>The name of the observation metric.</p> 432 */ SetMetricName(const Aws::String & value)433 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } 434 435 /** 436 * <p>The name of the observation metric.</p> 437 */ SetMetricName(Aws::String && value)438 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } 439 440 /** 441 * <p>The name of the observation metric.</p> 442 */ SetMetricName(const char * value)443 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } 444 445 /** 446 * <p>The name of the observation metric.</p> 447 */ WithMetricName(const Aws::String & value)448 inline Observation& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} 449 450 /** 451 * <p>The name of the observation metric.</p> 452 */ WithMetricName(Aws::String && value)453 inline Observation& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} 454 455 /** 456 * <p>The name of the observation metric.</p> 457 */ WithMetricName(const char * value)458 inline Observation& WithMetricName(const char* value) { SetMetricName(value); return *this;} 459 460 461 /** 462 * <p>The unit of the source observation metric.</p> 463 */ GetUnit()464 inline const Aws::String& GetUnit() const{ return m_unit; } 465 466 /** 467 * <p>The unit of the source observation metric.</p> 468 */ UnitHasBeenSet()469 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } 470 471 /** 472 * <p>The unit of the source observation metric.</p> 473 */ SetUnit(const Aws::String & value)474 inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } 475 476 /** 477 * <p>The unit of the source observation metric.</p> 478 */ SetUnit(Aws::String && value)479 inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } 480 481 /** 482 * <p>The unit of the source observation metric.</p> 483 */ SetUnit(const char * value)484 inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } 485 486 /** 487 * <p>The unit of the source observation metric.</p> 488 */ WithUnit(const Aws::String & value)489 inline Observation& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} 490 491 /** 492 * <p>The unit of the source observation metric.</p> 493 */ WithUnit(Aws::String && value)494 inline Observation& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} 495 496 /** 497 * <p>The unit of the source observation metric.</p> 498 */ WithUnit(const char * value)499 inline Observation& WithUnit(const char* value) { SetUnit(value); return *this;} 500 501 502 /** 503 * <p>The value of the source observation metric.</p> 504 */ GetValue()505 inline double GetValue() const{ return m_value; } 506 507 /** 508 * <p>The value of the source observation metric.</p> 509 */ ValueHasBeenSet()510 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } 511 512 /** 513 * <p>The value of the source observation metric.</p> 514 */ SetValue(double value)515 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } 516 517 /** 518 * <p>The value of the source observation metric.</p> 519 */ WithValue(double value)520 inline Observation& WithValue(double value) { SetValue(value); return *this;} 521 522 523 /** 524 * <p> The ID of the CloudWatch Event-based observation related to the detected 525 * problem. </p> 526 */ GetCloudWatchEventId()527 inline const Aws::String& GetCloudWatchEventId() const{ return m_cloudWatchEventId; } 528 529 /** 530 * <p> The ID of the CloudWatch Event-based observation related to the detected 531 * problem. </p> 532 */ CloudWatchEventIdHasBeenSet()533 inline bool CloudWatchEventIdHasBeenSet() const { return m_cloudWatchEventIdHasBeenSet; } 534 535 /** 536 * <p> The ID of the CloudWatch Event-based observation related to the detected 537 * problem. </p> 538 */ SetCloudWatchEventId(const Aws::String & value)539 inline void SetCloudWatchEventId(const Aws::String& value) { m_cloudWatchEventIdHasBeenSet = true; m_cloudWatchEventId = value; } 540 541 /** 542 * <p> The ID of the CloudWatch Event-based observation related to the detected 543 * problem. </p> 544 */ SetCloudWatchEventId(Aws::String && value)545 inline void SetCloudWatchEventId(Aws::String&& value) { m_cloudWatchEventIdHasBeenSet = true; m_cloudWatchEventId = std::move(value); } 546 547 /** 548 * <p> The ID of the CloudWatch Event-based observation related to the detected 549 * problem. </p> 550 */ SetCloudWatchEventId(const char * value)551 inline void SetCloudWatchEventId(const char* value) { m_cloudWatchEventIdHasBeenSet = true; m_cloudWatchEventId.assign(value); } 552 553 /** 554 * <p> The ID of the CloudWatch Event-based observation related to the detected 555 * problem. </p> 556 */ WithCloudWatchEventId(const Aws::String & value)557 inline Observation& WithCloudWatchEventId(const Aws::String& value) { SetCloudWatchEventId(value); return *this;} 558 559 /** 560 * <p> The ID of the CloudWatch Event-based observation related to the detected 561 * problem. </p> 562 */ WithCloudWatchEventId(Aws::String && value)563 inline Observation& WithCloudWatchEventId(Aws::String&& value) { SetCloudWatchEventId(std::move(value)); return *this;} 564 565 /** 566 * <p> The ID of the CloudWatch Event-based observation related to the detected 567 * problem. </p> 568 */ WithCloudWatchEventId(const char * value)569 inline Observation& WithCloudWatchEventId(const char* value) { SetCloudWatchEventId(value); return *this;} 570 571 572 /** 573 * <p> The source of the CloudWatch Event. </p> 574 */ GetCloudWatchEventSource()575 inline const CloudWatchEventSource& GetCloudWatchEventSource() const{ return m_cloudWatchEventSource; } 576 577 /** 578 * <p> The source of the CloudWatch Event. </p> 579 */ CloudWatchEventSourceHasBeenSet()580 inline bool CloudWatchEventSourceHasBeenSet() const { return m_cloudWatchEventSourceHasBeenSet; } 581 582 /** 583 * <p> The source of the CloudWatch Event. </p> 584 */ SetCloudWatchEventSource(const CloudWatchEventSource & value)585 inline void SetCloudWatchEventSource(const CloudWatchEventSource& value) { m_cloudWatchEventSourceHasBeenSet = true; m_cloudWatchEventSource = value; } 586 587 /** 588 * <p> The source of the CloudWatch Event. </p> 589 */ SetCloudWatchEventSource(CloudWatchEventSource && value)590 inline void SetCloudWatchEventSource(CloudWatchEventSource&& value) { m_cloudWatchEventSourceHasBeenSet = true; m_cloudWatchEventSource = std::move(value); } 591 592 /** 593 * <p> The source of the CloudWatch Event. </p> 594 */ WithCloudWatchEventSource(const CloudWatchEventSource & value)595 inline Observation& WithCloudWatchEventSource(const CloudWatchEventSource& value) { SetCloudWatchEventSource(value); return *this;} 596 597 /** 598 * <p> The source of the CloudWatch Event. </p> 599 */ WithCloudWatchEventSource(CloudWatchEventSource && value)600 inline Observation& WithCloudWatchEventSource(CloudWatchEventSource&& value) { SetCloudWatchEventSource(std::move(value)); return *this;} 601 602 603 /** 604 * <p> The detail type of the CloudWatch Event-based observation, for example, 605 * <code>EC2 Instance State-change Notification</code>. </p> 606 */ GetCloudWatchEventDetailType()607 inline const Aws::String& GetCloudWatchEventDetailType() const{ return m_cloudWatchEventDetailType; } 608 609 /** 610 * <p> The detail type of the CloudWatch Event-based observation, for example, 611 * <code>EC2 Instance State-change Notification</code>. </p> 612 */ CloudWatchEventDetailTypeHasBeenSet()613 inline bool CloudWatchEventDetailTypeHasBeenSet() const { return m_cloudWatchEventDetailTypeHasBeenSet; } 614 615 /** 616 * <p> The detail type of the CloudWatch Event-based observation, for example, 617 * <code>EC2 Instance State-change Notification</code>. </p> 618 */ SetCloudWatchEventDetailType(const Aws::String & value)619 inline void SetCloudWatchEventDetailType(const Aws::String& value) { m_cloudWatchEventDetailTypeHasBeenSet = true; m_cloudWatchEventDetailType = value; } 620 621 /** 622 * <p> The detail type of the CloudWatch Event-based observation, for example, 623 * <code>EC2 Instance State-change Notification</code>. </p> 624 */ SetCloudWatchEventDetailType(Aws::String && value)625 inline void SetCloudWatchEventDetailType(Aws::String&& value) { m_cloudWatchEventDetailTypeHasBeenSet = true; m_cloudWatchEventDetailType = std::move(value); } 626 627 /** 628 * <p> The detail type of the CloudWatch Event-based observation, for example, 629 * <code>EC2 Instance State-change Notification</code>. </p> 630 */ SetCloudWatchEventDetailType(const char * value)631 inline void SetCloudWatchEventDetailType(const char* value) { m_cloudWatchEventDetailTypeHasBeenSet = true; m_cloudWatchEventDetailType.assign(value); } 632 633 /** 634 * <p> The detail type of the CloudWatch Event-based observation, for example, 635 * <code>EC2 Instance State-change Notification</code>. </p> 636 */ WithCloudWatchEventDetailType(const Aws::String & value)637 inline Observation& WithCloudWatchEventDetailType(const Aws::String& value) { SetCloudWatchEventDetailType(value); return *this;} 638 639 /** 640 * <p> The detail type of the CloudWatch Event-based observation, for example, 641 * <code>EC2 Instance State-change Notification</code>. </p> 642 */ WithCloudWatchEventDetailType(Aws::String && value)643 inline Observation& WithCloudWatchEventDetailType(Aws::String&& value) { SetCloudWatchEventDetailType(std::move(value)); return *this;} 644 645 /** 646 * <p> The detail type of the CloudWatch Event-based observation, for example, 647 * <code>EC2 Instance State-change Notification</code>. </p> 648 */ WithCloudWatchEventDetailType(const char * value)649 inline Observation& WithCloudWatchEventDetailType(const char* value) { SetCloudWatchEventDetailType(value); return *this;} 650 651 652 /** 653 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 654 * observation.</p> 655 */ GetHealthEventArn()656 inline const Aws::String& GetHealthEventArn() const{ return m_healthEventArn; } 657 658 /** 659 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 660 * observation.</p> 661 */ HealthEventArnHasBeenSet()662 inline bool HealthEventArnHasBeenSet() const { return m_healthEventArnHasBeenSet; } 663 664 /** 665 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 666 * observation.</p> 667 */ SetHealthEventArn(const Aws::String & value)668 inline void SetHealthEventArn(const Aws::String& value) { m_healthEventArnHasBeenSet = true; m_healthEventArn = value; } 669 670 /** 671 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 672 * observation.</p> 673 */ SetHealthEventArn(Aws::String && value)674 inline void SetHealthEventArn(Aws::String&& value) { m_healthEventArnHasBeenSet = true; m_healthEventArn = std::move(value); } 675 676 /** 677 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 678 * observation.</p> 679 */ SetHealthEventArn(const char * value)680 inline void SetHealthEventArn(const char* value) { m_healthEventArnHasBeenSet = true; m_healthEventArn.assign(value); } 681 682 /** 683 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 684 * observation.</p> 685 */ WithHealthEventArn(const Aws::String & value)686 inline Observation& WithHealthEventArn(const Aws::String& value) { SetHealthEventArn(value); return *this;} 687 688 /** 689 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 690 * observation.</p> 691 */ WithHealthEventArn(Aws::String && value)692 inline Observation& WithHealthEventArn(Aws::String&& value) { SetHealthEventArn(std::move(value)); return *this;} 693 694 /** 695 * <p> The Amazon Resource Name (ARN) of the AWS Health Event-based 696 * observation.</p> 697 */ WithHealthEventArn(const char * value)698 inline Observation& WithHealthEventArn(const char* value) { SetHealthEventArn(value); return *this;} 699 700 701 /** 702 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 703 */ GetHealthService()704 inline const Aws::String& GetHealthService() const{ return m_healthService; } 705 706 /** 707 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 708 */ HealthServiceHasBeenSet()709 inline bool HealthServiceHasBeenSet() const { return m_healthServiceHasBeenSet; } 710 711 /** 712 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 713 */ SetHealthService(const Aws::String & value)714 inline void SetHealthService(const Aws::String& value) { m_healthServiceHasBeenSet = true; m_healthService = value; } 715 716 /** 717 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 718 */ SetHealthService(Aws::String && value)719 inline void SetHealthService(Aws::String&& value) { m_healthServiceHasBeenSet = true; m_healthService = std::move(value); } 720 721 /** 722 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 723 */ SetHealthService(const char * value)724 inline void SetHealthService(const char* value) { m_healthServiceHasBeenSet = true; m_healthService.assign(value); } 725 726 /** 727 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 728 */ WithHealthService(const Aws::String & value)729 inline Observation& WithHealthService(const Aws::String& value) { SetHealthService(value); return *this;} 730 731 /** 732 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 733 */ WithHealthService(Aws::String && value)734 inline Observation& WithHealthService(Aws::String&& value) { SetHealthService(std::move(value)); return *this;} 735 736 /** 737 * <p> The service to which the AWS Health Event belongs, such as EC2. </p> 738 */ WithHealthService(const char * value)739 inline Observation& WithHealthService(const char* value) { SetHealthService(value); return *this;} 740 741 742 /** 743 * <p> The type of the AWS Health event, for example, 744 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 745 */ GetHealthEventTypeCode()746 inline const Aws::String& GetHealthEventTypeCode() const{ return m_healthEventTypeCode; } 747 748 /** 749 * <p> The type of the AWS Health event, for example, 750 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 751 */ HealthEventTypeCodeHasBeenSet()752 inline bool HealthEventTypeCodeHasBeenSet() const { return m_healthEventTypeCodeHasBeenSet; } 753 754 /** 755 * <p> The type of the AWS Health event, for example, 756 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 757 */ SetHealthEventTypeCode(const Aws::String & value)758 inline void SetHealthEventTypeCode(const Aws::String& value) { m_healthEventTypeCodeHasBeenSet = true; m_healthEventTypeCode = value; } 759 760 /** 761 * <p> The type of the AWS Health event, for example, 762 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 763 */ SetHealthEventTypeCode(Aws::String && value)764 inline void SetHealthEventTypeCode(Aws::String&& value) { m_healthEventTypeCodeHasBeenSet = true; m_healthEventTypeCode = std::move(value); } 765 766 /** 767 * <p> The type of the AWS Health event, for example, 768 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 769 */ SetHealthEventTypeCode(const char * value)770 inline void SetHealthEventTypeCode(const char* value) { m_healthEventTypeCodeHasBeenSet = true; m_healthEventTypeCode.assign(value); } 771 772 /** 773 * <p> The type of the AWS Health event, for example, 774 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 775 */ WithHealthEventTypeCode(const Aws::String & value)776 inline Observation& WithHealthEventTypeCode(const Aws::String& value) { SetHealthEventTypeCode(value); return *this;} 777 778 /** 779 * <p> The type of the AWS Health event, for example, 780 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 781 */ WithHealthEventTypeCode(Aws::String && value)782 inline Observation& WithHealthEventTypeCode(Aws::String&& value) { SetHealthEventTypeCode(std::move(value)); return *this;} 783 784 /** 785 * <p> The type of the AWS Health event, for example, 786 * <code>AWS_EC2_POWER_CONNECTIVITY_ISSUE</code>. </p> 787 */ WithHealthEventTypeCode(const char * value)788 inline Observation& WithHealthEventTypeCode(const char* value) { SetHealthEventTypeCode(value); return *this;} 789 790 791 /** 792 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 793 */ GetHealthEventTypeCategory()794 inline const Aws::String& GetHealthEventTypeCategory() const{ return m_healthEventTypeCategory; } 795 796 /** 797 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 798 */ HealthEventTypeCategoryHasBeenSet()799 inline bool HealthEventTypeCategoryHasBeenSet() const { return m_healthEventTypeCategoryHasBeenSet; } 800 801 /** 802 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 803 */ SetHealthEventTypeCategory(const Aws::String & value)804 inline void SetHealthEventTypeCategory(const Aws::String& value) { m_healthEventTypeCategoryHasBeenSet = true; m_healthEventTypeCategory = value; } 805 806 /** 807 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 808 */ SetHealthEventTypeCategory(Aws::String && value)809 inline void SetHealthEventTypeCategory(Aws::String&& value) { m_healthEventTypeCategoryHasBeenSet = true; m_healthEventTypeCategory = std::move(value); } 810 811 /** 812 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 813 */ SetHealthEventTypeCategory(const char * value)814 inline void SetHealthEventTypeCategory(const char* value) { m_healthEventTypeCategoryHasBeenSet = true; m_healthEventTypeCategory.assign(value); } 815 816 /** 817 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 818 */ WithHealthEventTypeCategory(const Aws::String & value)819 inline Observation& WithHealthEventTypeCategory(const Aws::String& value) { SetHealthEventTypeCategory(value); return *this;} 820 821 /** 822 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 823 */ WithHealthEventTypeCategory(Aws::String && value)824 inline Observation& WithHealthEventTypeCategory(Aws::String&& value) { SetHealthEventTypeCategory(std::move(value)); return *this;} 825 826 /** 827 * <p> The category of the AWS Health event, such as <code>issue</code>. </p> 828 */ WithHealthEventTypeCategory(const char * value)829 inline Observation& WithHealthEventTypeCategory(const char* value) { SetHealthEventTypeCategory(value); return *this;} 830 831 832 /** 833 * <p> The description of the AWS Health event provided by the service, such as 834 * Amazon EC2. </p> 835 */ GetHealthEventDescription()836 inline const Aws::String& GetHealthEventDescription() const{ return m_healthEventDescription; } 837 838 /** 839 * <p> The description of the AWS Health event provided by the service, such as 840 * Amazon EC2. </p> 841 */ HealthEventDescriptionHasBeenSet()842 inline bool HealthEventDescriptionHasBeenSet() const { return m_healthEventDescriptionHasBeenSet; } 843 844 /** 845 * <p> The description of the AWS Health event provided by the service, such as 846 * Amazon EC2. </p> 847 */ SetHealthEventDescription(const Aws::String & value)848 inline void SetHealthEventDescription(const Aws::String& value) { m_healthEventDescriptionHasBeenSet = true; m_healthEventDescription = value; } 849 850 /** 851 * <p> The description of the AWS Health event provided by the service, such as 852 * Amazon EC2. </p> 853 */ SetHealthEventDescription(Aws::String && value)854 inline void SetHealthEventDescription(Aws::String&& value) { m_healthEventDescriptionHasBeenSet = true; m_healthEventDescription = std::move(value); } 855 856 /** 857 * <p> The description of the AWS Health event provided by the service, such as 858 * Amazon EC2. </p> 859 */ SetHealthEventDescription(const char * value)860 inline void SetHealthEventDescription(const char* value) { m_healthEventDescriptionHasBeenSet = true; m_healthEventDescription.assign(value); } 861 862 /** 863 * <p> The description of the AWS Health event provided by the service, such as 864 * Amazon EC2. </p> 865 */ WithHealthEventDescription(const Aws::String & value)866 inline Observation& WithHealthEventDescription(const Aws::String& value) { SetHealthEventDescription(value); return *this;} 867 868 /** 869 * <p> The description of the AWS Health event provided by the service, such as 870 * Amazon EC2. </p> 871 */ WithHealthEventDescription(Aws::String && value)872 inline Observation& WithHealthEventDescription(Aws::String&& value) { SetHealthEventDescription(std::move(value)); return *this;} 873 874 /** 875 * <p> The description of the AWS Health event provided by the service, such as 876 * Amazon EC2. </p> 877 */ WithHealthEventDescription(const char * value)878 inline Observation& WithHealthEventDescription(const char* value) { SetHealthEventDescription(value); return *this;} 879 880 881 /** 882 * <p> The deployment ID of the CodeDeploy-based observation related to the 883 * detected problem. </p> 884 */ GetCodeDeployDeploymentId()885 inline const Aws::String& GetCodeDeployDeploymentId() const{ return m_codeDeployDeploymentId; } 886 887 /** 888 * <p> The deployment ID of the CodeDeploy-based observation related to the 889 * detected problem. </p> 890 */ CodeDeployDeploymentIdHasBeenSet()891 inline bool CodeDeployDeploymentIdHasBeenSet() const { return m_codeDeployDeploymentIdHasBeenSet; } 892 893 /** 894 * <p> The deployment ID of the CodeDeploy-based observation related to the 895 * detected problem. </p> 896 */ SetCodeDeployDeploymentId(const Aws::String & value)897 inline void SetCodeDeployDeploymentId(const Aws::String& value) { m_codeDeployDeploymentIdHasBeenSet = true; m_codeDeployDeploymentId = value; } 898 899 /** 900 * <p> The deployment ID of the CodeDeploy-based observation related to the 901 * detected problem. </p> 902 */ SetCodeDeployDeploymentId(Aws::String && value)903 inline void SetCodeDeployDeploymentId(Aws::String&& value) { m_codeDeployDeploymentIdHasBeenSet = true; m_codeDeployDeploymentId = std::move(value); } 904 905 /** 906 * <p> The deployment ID of the CodeDeploy-based observation related to the 907 * detected problem. </p> 908 */ SetCodeDeployDeploymentId(const char * value)909 inline void SetCodeDeployDeploymentId(const char* value) { m_codeDeployDeploymentIdHasBeenSet = true; m_codeDeployDeploymentId.assign(value); } 910 911 /** 912 * <p> The deployment ID of the CodeDeploy-based observation related to the 913 * detected problem. </p> 914 */ WithCodeDeployDeploymentId(const Aws::String & value)915 inline Observation& WithCodeDeployDeploymentId(const Aws::String& value) { SetCodeDeployDeploymentId(value); return *this;} 916 917 /** 918 * <p> The deployment ID of the CodeDeploy-based observation related to the 919 * detected problem. </p> 920 */ WithCodeDeployDeploymentId(Aws::String && value)921 inline Observation& WithCodeDeployDeploymentId(Aws::String&& value) { SetCodeDeployDeploymentId(std::move(value)); return *this;} 922 923 /** 924 * <p> The deployment ID of the CodeDeploy-based observation related to the 925 * detected problem. </p> 926 */ WithCodeDeployDeploymentId(const char * value)927 inline Observation& WithCodeDeployDeploymentId(const char* value) { SetCodeDeployDeploymentId(value); return *this;} 928 929 930 /** 931 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 932 */ GetCodeDeployDeploymentGroup()933 inline const Aws::String& GetCodeDeployDeploymentGroup() const{ return m_codeDeployDeploymentGroup; } 934 935 /** 936 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 937 */ CodeDeployDeploymentGroupHasBeenSet()938 inline bool CodeDeployDeploymentGroupHasBeenSet() const { return m_codeDeployDeploymentGroupHasBeenSet; } 939 940 /** 941 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 942 */ SetCodeDeployDeploymentGroup(const Aws::String & value)943 inline void SetCodeDeployDeploymentGroup(const Aws::String& value) { m_codeDeployDeploymentGroupHasBeenSet = true; m_codeDeployDeploymentGroup = value; } 944 945 /** 946 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 947 */ SetCodeDeployDeploymentGroup(Aws::String && value)948 inline void SetCodeDeployDeploymentGroup(Aws::String&& value) { m_codeDeployDeploymentGroupHasBeenSet = true; m_codeDeployDeploymentGroup = std::move(value); } 949 950 /** 951 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 952 */ SetCodeDeployDeploymentGroup(const char * value)953 inline void SetCodeDeployDeploymentGroup(const char* value) { m_codeDeployDeploymentGroupHasBeenSet = true; m_codeDeployDeploymentGroup.assign(value); } 954 955 /** 956 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 957 */ WithCodeDeployDeploymentGroup(const Aws::String & value)958 inline Observation& WithCodeDeployDeploymentGroup(const Aws::String& value) { SetCodeDeployDeploymentGroup(value); return *this;} 959 960 /** 961 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 962 */ WithCodeDeployDeploymentGroup(Aws::String && value)963 inline Observation& WithCodeDeployDeploymentGroup(Aws::String&& value) { SetCodeDeployDeploymentGroup(std::move(value)); return *this;} 964 965 /** 966 * <p> The deployment group to which the CodeDeploy deployment belongs. </p> 967 */ WithCodeDeployDeploymentGroup(const char * value)968 inline Observation& WithCodeDeployDeploymentGroup(const char* value) { SetCodeDeployDeploymentGroup(value); return *this;} 969 970 971 /** 972 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 973 * <code> FAILURE</code>. </p> 974 */ GetCodeDeployState()975 inline const Aws::String& GetCodeDeployState() const{ return m_codeDeployState; } 976 977 /** 978 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 979 * <code> FAILURE</code>. </p> 980 */ CodeDeployStateHasBeenSet()981 inline bool CodeDeployStateHasBeenSet() const { return m_codeDeployStateHasBeenSet; } 982 983 /** 984 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 985 * <code> FAILURE</code>. </p> 986 */ SetCodeDeployState(const Aws::String & value)987 inline void SetCodeDeployState(const Aws::String& value) { m_codeDeployStateHasBeenSet = true; m_codeDeployState = value; } 988 989 /** 990 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 991 * <code> FAILURE</code>. </p> 992 */ SetCodeDeployState(Aws::String && value)993 inline void SetCodeDeployState(Aws::String&& value) { m_codeDeployStateHasBeenSet = true; m_codeDeployState = std::move(value); } 994 995 /** 996 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 997 * <code> FAILURE</code>. </p> 998 */ SetCodeDeployState(const char * value)999 inline void SetCodeDeployState(const char* value) { m_codeDeployStateHasBeenSet = true; m_codeDeployState.assign(value); } 1000 1001 /** 1002 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 1003 * <code> FAILURE</code>. </p> 1004 */ WithCodeDeployState(const Aws::String & value)1005 inline Observation& WithCodeDeployState(const Aws::String& value) { SetCodeDeployState(value); return *this;} 1006 1007 /** 1008 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 1009 * <code> FAILURE</code>. </p> 1010 */ WithCodeDeployState(Aws::String && value)1011 inline Observation& WithCodeDeployState(Aws::String&& value) { SetCodeDeployState(std::move(value)); return *this;} 1012 1013 /** 1014 * <p> The status of the CodeDeploy deployment, for example <code>SUCCESS</code> or 1015 * <code> FAILURE</code>. </p> 1016 */ WithCodeDeployState(const char * value)1017 inline Observation& WithCodeDeployState(const char* value) { SetCodeDeployState(value); return *this;} 1018 1019 1020 /** 1021 * <p> The CodeDeploy application to which the deployment belongs. </p> 1022 */ GetCodeDeployApplication()1023 inline const Aws::String& GetCodeDeployApplication() const{ return m_codeDeployApplication; } 1024 1025 /** 1026 * <p> The CodeDeploy application to which the deployment belongs. </p> 1027 */ CodeDeployApplicationHasBeenSet()1028 inline bool CodeDeployApplicationHasBeenSet() const { return m_codeDeployApplicationHasBeenSet; } 1029 1030 /** 1031 * <p> The CodeDeploy application to which the deployment belongs. </p> 1032 */ SetCodeDeployApplication(const Aws::String & value)1033 inline void SetCodeDeployApplication(const Aws::String& value) { m_codeDeployApplicationHasBeenSet = true; m_codeDeployApplication = value; } 1034 1035 /** 1036 * <p> The CodeDeploy application to which the deployment belongs. </p> 1037 */ SetCodeDeployApplication(Aws::String && value)1038 inline void SetCodeDeployApplication(Aws::String&& value) { m_codeDeployApplicationHasBeenSet = true; m_codeDeployApplication = std::move(value); } 1039 1040 /** 1041 * <p> The CodeDeploy application to which the deployment belongs. </p> 1042 */ SetCodeDeployApplication(const char * value)1043 inline void SetCodeDeployApplication(const char* value) { m_codeDeployApplicationHasBeenSet = true; m_codeDeployApplication.assign(value); } 1044 1045 /** 1046 * <p> The CodeDeploy application to which the deployment belongs. </p> 1047 */ WithCodeDeployApplication(const Aws::String & value)1048 inline Observation& WithCodeDeployApplication(const Aws::String& value) { SetCodeDeployApplication(value); return *this;} 1049 1050 /** 1051 * <p> The CodeDeploy application to which the deployment belongs. </p> 1052 */ WithCodeDeployApplication(Aws::String && value)1053 inline Observation& WithCodeDeployApplication(Aws::String&& value) { SetCodeDeployApplication(std::move(value)); return *this;} 1054 1055 /** 1056 * <p> The CodeDeploy application to which the deployment belongs. </p> 1057 */ WithCodeDeployApplication(const char * value)1058 inline Observation& WithCodeDeployApplication(const char* value) { SetCodeDeployApplication(value); return *this;} 1059 1060 1061 /** 1062 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1063 */ GetCodeDeployInstanceGroupId()1064 inline const Aws::String& GetCodeDeployInstanceGroupId() const{ return m_codeDeployInstanceGroupId; } 1065 1066 /** 1067 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1068 */ CodeDeployInstanceGroupIdHasBeenSet()1069 inline bool CodeDeployInstanceGroupIdHasBeenSet() const { return m_codeDeployInstanceGroupIdHasBeenSet; } 1070 1071 /** 1072 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1073 */ SetCodeDeployInstanceGroupId(const Aws::String & value)1074 inline void SetCodeDeployInstanceGroupId(const Aws::String& value) { m_codeDeployInstanceGroupIdHasBeenSet = true; m_codeDeployInstanceGroupId = value; } 1075 1076 /** 1077 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1078 */ SetCodeDeployInstanceGroupId(Aws::String && value)1079 inline void SetCodeDeployInstanceGroupId(Aws::String&& value) { m_codeDeployInstanceGroupIdHasBeenSet = true; m_codeDeployInstanceGroupId = std::move(value); } 1080 1081 /** 1082 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1083 */ SetCodeDeployInstanceGroupId(const char * value)1084 inline void SetCodeDeployInstanceGroupId(const char* value) { m_codeDeployInstanceGroupIdHasBeenSet = true; m_codeDeployInstanceGroupId.assign(value); } 1085 1086 /** 1087 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1088 */ WithCodeDeployInstanceGroupId(const Aws::String & value)1089 inline Observation& WithCodeDeployInstanceGroupId(const Aws::String& value) { SetCodeDeployInstanceGroupId(value); return *this;} 1090 1091 /** 1092 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1093 */ WithCodeDeployInstanceGroupId(Aws::String && value)1094 inline Observation& WithCodeDeployInstanceGroupId(Aws::String&& value) { SetCodeDeployInstanceGroupId(std::move(value)); return *this;} 1095 1096 /** 1097 * <p> The instance group to which the CodeDeploy instance belongs. </p> 1098 */ WithCodeDeployInstanceGroupId(const char * value)1099 inline Observation& WithCodeDeployInstanceGroupId(const char* value) { SetCodeDeployInstanceGroupId(value); return *this;} 1100 1101 1102 /** 1103 * <p> The state of the instance, such as <code>STOPPING</code> or 1104 * <code>TERMINATING</code>. </p> 1105 */ GetEc2State()1106 inline const Aws::String& GetEc2State() const{ return m_ec2State; } 1107 1108 /** 1109 * <p> The state of the instance, such as <code>STOPPING</code> or 1110 * <code>TERMINATING</code>. </p> 1111 */ Ec2StateHasBeenSet()1112 inline bool Ec2StateHasBeenSet() const { return m_ec2StateHasBeenSet; } 1113 1114 /** 1115 * <p> The state of the instance, such as <code>STOPPING</code> or 1116 * <code>TERMINATING</code>. </p> 1117 */ SetEc2State(const Aws::String & value)1118 inline void SetEc2State(const Aws::String& value) { m_ec2StateHasBeenSet = true; m_ec2State = value; } 1119 1120 /** 1121 * <p> The state of the instance, such as <code>STOPPING</code> or 1122 * <code>TERMINATING</code>. </p> 1123 */ SetEc2State(Aws::String && value)1124 inline void SetEc2State(Aws::String&& value) { m_ec2StateHasBeenSet = true; m_ec2State = std::move(value); } 1125 1126 /** 1127 * <p> The state of the instance, such as <code>STOPPING</code> or 1128 * <code>TERMINATING</code>. </p> 1129 */ SetEc2State(const char * value)1130 inline void SetEc2State(const char* value) { m_ec2StateHasBeenSet = true; m_ec2State.assign(value); } 1131 1132 /** 1133 * <p> The state of the instance, such as <code>STOPPING</code> or 1134 * <code>TERMINATING</code>. </p> 1135 */ WithEc2State(const Aws::String & value)1136 inline Observation& WithEc2State(const Aws::String& value) { SetEc2State(value); return *this;} 1137 1138 /** 1139 * <p> The state of the instance, such as <code>STOPPING</code> or 1140 * <code>TERMINATING</code>. </p> 1141 */ WithEc2State(Aws::String && value)1142 inline Observation& WithEc2State(Aws::String&& value) { SetEc2State(std::move(value)); return *this;} 1143 1144 /** 1145 * <p> The state of the instance, such as <code>STOPPING</code> or 1146 * <code>TERMINATING</code>. </p> 1147 */ WithEc2State(const char * value)1148 inline Observation& WithEc2State(const char* value) { SetEc2State(value); return *this;} 1149 1150 1151 /** 1152 * <p> The category of an RDS event. </p> 1153 */ GetRdsEventCategories()1154 inline const Aws::String& GetRdsEventCategories() const{ return m_rdsEventCategories; } 1155 1156 /** 1157 * <p> The category of an RDS event. </p> 1158 */ RdsEventCategoriesHasBeenSet()1159 inline bool RdsEventCategoriesHasBeenSet() const { return m_rdsEventCategoriesHasBeenSet; } 1160 1161 /** 1162 * <p> The category of an RDS event. </p> 1163 */ SetRdsEventCategories(const Aws::String & value)1164 inline void SetRdsEventCategories(const Aws::String& value) { m_rdsEventCategoriesHasBeenSet = true; m_rdsEventCategories = value; } 1165 1166 /** 1167 * <p> The category of an RDS event. </p> 1168 */ SetRdsEventCategories(Aws::String && value)1169 inline void SetRdsEventCategories(Aws::String&& value) { m_rdsEventCategoriesHasBeenSet = true; m_rdsEventCategories = std::move(value); } 1170 1171 /** 1172 * <p> The category of an RDS event. </p> 1173 */ SetRdsEventCategories(const char * value)1174 inline void SetRdsEventCategories(const char* value) { m_rdsEventCategoriesHasBeenSet = true; m_rdsEventCategories.assign(value); } 1175 1176 /** 1177 * <p> The category of an RDS event. </p> 1178 */ WithRdsEventCategories(const Aws::String & value)1179 inline Observation& WithRdsEventCategories(const Aws::String& value) { SetRdsEventCategories(value); return *this;} 1180 1181 /** 1182 * <p> The category of an RDS event. </p> 1183 */ WithRdsEventCategories(Aws::String && value)1184 inline Observation& WithRdsEventCategories(Aws::String&& value) { SetRdsEventCategories(std::move(value)); return *this;} 1185 1186 /** 1187 * <p> The category of an RDS event. </p> 1188 */ WithRdsEventCategories(const char * value)1189 inline Observation& WithRdsEventCategories(const char* value) { SetRdsEventCategories(value); return *this;} 1190 1191 1192 /** 1193 * <p> The message of an RDS event. </p> 1194 */ GetRdsEventMessage()1195 inline const Aws::String& GetRdsEventMessage() const{ return m_rdsEventMessage; } 1196 1197 /** 1198 * <p> The message of an RDS event. </p> 1199 */ RdsEventMessageHasBeenSet()1200 inline bool RdsEventMessageHasBeenSet() const { return m_rdsEventMessageHasBeenSet; } 1201 1202 /** 1203 * <p> The message of an RDS event. </p> 1204 */ SetRdsEventMessage(const Aws::String & value)1205 inline void SetRdsEventMessage(const Aws::String& value) { m_rdsEventMessageHasBeenSet = true; m_rdsEventMessage = value; } 1206 1207 /** 1208 * <p> The message of an RDS event. </p> 1209 */ SetRdsEventMessage(Aws::String && value)1210 inline void SetRdsEventMessage(Aws::String&& value) { m_rdsEventMessageHasBeenSet = true; m_rdsEventMessage = std::move(value); } 1211 1212 /** 1213 * <p> The message of an RDS event. </p> 1214 */ SetRdsEventMessage(const char * value)1215 inline void SetRdsEventMessage(const char* value) { m_rdsEventMessageHasBeenSet = true; m_rdsEventMessage.assign(value); } 1216 1217 /** 1218 * <p> The message of an RDS event. </p> 1219 */ WithRdsEventMessage(const Aws::String & value)1220 inline Observation& WithRdsEventMessage(const Aws::String& value) { SetRdsEventMessage(value); return *this;} 1221 1222 /** 1223 * <p> The message of an RDS event. </p> 1224 */ WithRdsEventMessage(Aws::String && value)1225 inline Observation& WithRdsEventMessage(Aws::String&& value) { SetRdsEventMessage(std::move(value)); return *this;} 1226 1227 /** 1228 * <p> The message of an RDS event. </p> 1229 */ WithRdsEventMessage(const char * value)1230 inline Observation& WithRdsEventMessage(const char* value) { SetRdsEventMessage(value); return *this;} 1231 1232 1233 /** 1234 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1235 */ GetS3EventName()1236 inline const Aws::String& GetS3EventName() const{ return m_s3EventName; } 1237 1238 /** 1239 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1240 */ S3EventNameHasBeenSet()1241 inline bool S3EventNameHasBeenSet() const { return m_s3EventNameHasBeenSet; } 1242 1243 /** 1244 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1245 */ SetS3EventName(const Aws::String & value)1246 inline void SetS3EventName(const Aws::String& value) { m_s3EventNameHasBeenSet = true; m_s3EventName = value; } 1247 1248 /** 1249 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1250 */ SetS3EventName(Aws::String && value)1251 inline void SetS3EventName(Aws::String&& value) { m_s3EventNameHasBeenSet = true; m_s3EventName = std::move(value); } 1252 1253 /** 1254 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1255 */ SetS3EventName(const char * value)1256 inline void SetS3EventName(const char* value) { m_s3EventNameHasBeenSet = true; m_s3EventName.assign(value); } 1257 1258 /** 1259 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1260 */ WithS3EventName(const Aws::String & value)1261 inline Observation& WithS3EventName(const Aws::String& value) { SetS3EventName(value); return *this;} 1262 1263 /** 1264 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1265 */ WithS3EventName(Aws::String && value)1266 inline Observation& WithS3EventName(Aws::String&& value) { SetS3EventName(std::move(value)); return *this;} 1267 1268 /** 1269 * <p> The name of the S3 CloudWatch Event-based observation. </p> 1270 */ WithS3EventName(const char * value)1271 inline Observation& WithS3EventName(const char* value) { SetS3EventName(value); return *this;} 1272 1273 1274 /** 1275 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1276 * observation. </p> 1277 */ GetStatesExecutionArn()1278 inline const Aws::String& GetStatesExecutionArn() const{ return m_statesExecutionArn; } 1279 1280 /** 1281 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1282 * observation. </p> 1283 */ StatesExecutionArnHasBeenSet()1284 inline bool StatesExecutionArnHasBeenSet() const { return m_statesExecutionArnHasBeenSet; } 1285 1286 /** 1287 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1288 * observation. </p> 1289 */ SetStatesExecutionArn(const Aws::String & value)1290 inline void SetStatesExecutionArn(const Aws::String& value) { m_statesExecutionArnHasBeenSet = true; m_statesExecutionArn = value; } 1291 1292 /** 1293 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1294 * observation. </p> 1295 */ SetStatesExecutionArn(Aws::String && value)1296 inline void SetStatesExecutionArn(Aws::String&& value) { m_statesExecutionArnHasBeenSet = true; m_statesExecutionArn = std::move(value); } 1297 1298 /** 1299 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1300 * observation. </p> 1301 */ SetStatesExecutionArn(const char * value)1302 inline void SetStatesExecutionArn(const char* value) { m_statesExecutionArnHasBeenSet = true; m_statesExecutionArn.assign(value); } 1303 1304 /** 1305 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1306 * observation. </p> 1307 */ WithStatesExecutionArn(const Aws::String & value)1308 inline Observation& WithStatesExecutionArn(const Aws::String& value) { SetStatesExecutionArn(value); return *this;} 1309 1310 /** 1311 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1312 * observation. </p> 1313 */ WithStatesExecutionArn(Aws::String && value)1314 inline Observation& WithStatesExecutionArn(Aws::String&& value) { SetStatesExecutionArn(std::move(value)); return *this;} 1315 1316 /** 1317 * <p> The Amazon Resource Name (ARN) of the step function execution-based 1318 * observation. </p> 1319 */ WithStatesExecutionArn(const char * value)1320 inline Observation& WithStatesExecutionArn(const char* value) { SetStatesExecutionArn(value); return *this;} 1321 1322 1323 /** 1324 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1325 */ GetStatesArn()1326 inline const Aws::String& GetStatesArn() const{ return m_statesArn; } 1327 1328 /** 1329 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1330 */ StatesArnHasBeenSet()1331 inline bool StatesArnHasBeenSet() const { return m_statesArnHasBeenSet; } 1332 1333 /** 1334 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1335 */ SetStatesArn(const Aws::String & value)1336 inline void SetStatesArn(const Aws::String& value) { m_statesArnHasBeenSet = true; m_statesArn = value; } 1337 1338 /** 1339 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1340 */ SetStatesArn(Aws::String && value)1341 inline void SetStatesArn(Aws::String&& value) { m_statesArnHasBeenSet = true; m_statesArn = std::move(value); } 1342 1343 /** 1344 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1345 */ SetStatesArn(const char * value)1346 inline void SetStatesArn(const char* value) { m_statesArnHasBeenSet = true; m_statesArn.assign(value); } 1347 1348 /** 1349 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1350 */ WithStatesArn(const Aws::String & value)1351 inline Observation& WithStatesArn(const Aws::String& value) { SetStatesArn(value); return *this;} 1352 1353 /** 1354 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1355 */ WithStatesArn(Aws::String && value)1356 inline Observation& WithStatesArn(Aws::String&& value) { SetStatesArn(std::move(value)); return *this;} 1357 1358 /** 1359 * <p> The Amazon Resource Name (ARN) of the step function-based observation. </p> 1360 */ WithStatesArn(const char * value)1361 inline Observation& WithStatesArn(const char* value) { SetStatesArn(value); return *this;} 1362 1363 1364 /** 1365 * <p> The status of the step function-related observation. </p> 1366 */ GetStatesStatus()1367 inline const Aws::String& GetStatesStatus() const{ return m_statesStatus; } 1368 1369 /** 1370 * <p> The status of the step function-related observation. </p> 1371 */ StatesStatusHasBeenSet()1372 inline bool StatesStatusHasBeenSet() const { return m_statesStatusHasBeenSet; } 1373 1374 /** 1375 * <p> The status of the step function-related observation. </p> 1376 */ SetStatesStatus(const Aws::String & value)1377 inline void SetStatesStatus(const Aws::String& value) { m_statesStatusHasBeenSet = true; m_statesStatus = value; } 1378 1379 /** 1380 * <p> The status of the step function-related observation. </p> 1381 */ SetStatesStatus(Aws::String && value)1382 inline void SetStatesStatus(Aws::String&& value) { m_statesStatusHasBeenSet = true; m_statesStatus = std::move(value); } 1383 1384 /** 1385 * <p> The status of the step function-related observation. </p> 1386 */ SetStatesStatus(const char * value)1387 inline void SetStatesStatus(const char* value) { m_statesStatusHasBeenSet = true; m_statesStatus.assign(value); } 1388 1389 /** 1390 * <p> The status of the step function-related observation. </p> 1391 */ WithStatesStatus(const Aws::String & value)1392 inline Observation& WithStatesStatus(const Aws::String& value) { SetStatesStatus(value); return *this;} 1393 1394 /** 1395 * <p> The status of the step function-related observation. </p> 1396 */ WithStatesStatus(Aws::String && value)1397 inline Observation& WithStatesStatus(Aws::String&& value) { SetStatesStatus(std::move(value)); return *this;} 1398 1399 /** 1400 * <p> The status of the step function-related observation. </p> 1401 */ WithStatesStatus(const char * value)1402 inline Observation& WithStatesStatus(const char* value) { SetStatesStatus(value); return *this;} 1403 1404 1405 /** 1406 * <p> The input to the step function-based observation. </p> 1407 */ GetStatesInput()1408 inline const Aws::String& GetStatesInput() const{ return m_statesInput; } 1409 1410 /** 1411 * <p> The input to the step function-based observation. </p> 1412 */ StatesInputHasBeenSet()1413 inline bool StatesInputHasBeenSet() const { return m_statesInputHasBeenSet; } 1414 1415 /** 1416 * <p> The input to the step function-based observation. </p> 1417 */ SetStatesInput(const Aws::String & value)1418 inline void SetStatesInput(const Aws::String& value) { m_statesInputHasBeenSet = true; m_statesInput = value; } 1419 1420 /** 1421 * <p> The input to the step function-based observation. </p> 1422 */ SetStatesInput(Aws::String && value)1423 inline void SetStatesInput(Aws::String&& value) { m_statesInputHasBeenSet = true; m_statesInput = std::move(value); } 1424 1425 /** 1426 * <p> The input to the step function-based observation. </p> 1427 */ SetStatesInput(const char * value)1428 inline void SetStatesInput(const char* value) { m_statesInputHasBeenSet = true; m_statesInput.assign(value); } 1429 1430 /** 1431 * <p> The input to the step function-based observation. </p> 1432 */ WithStatesInput(const Aws::String & value)1433 inline Observation& WithStatesInput(const Aws::String& value) { SetStatesInput(value); return *this;} 1434 1435 /** 1436 * <p> The input to the step function-based observation. </p> 1437 */ WithStatesInput(Aws::String && value)1438 inline Observation& WithStatesInput(Aws::String&& value) { SetStatesInput(std::move(value)); return *this;} 1439 1440 /** 1441 * <p> The input to the step function-based observation. </p> 1442 */ WithStatesInput(const char * value)1443 inline Observation& WithStatesInput(const char* value) { SetStatesInput(value); return *this;} 1444 1445 1446 /** 1447 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1448 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1449 */ GetEbsEvent()1450 inline const Aws::String& GetEbsEvent() const{ return m_ebsEvent; } 1451 1452 /** 1453 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1454 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1455 */ EbsEventHasBeenSet()1456 inline bool EbsEventHasBeenSet() const { return m_ebsEventHasBeenSet; } 1457 1458 /** 1459 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1460 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1461 */ SetEbsEvent(const Aws::String & value)1462 inline void SetEbsEvent(const Aws::String& value) { m_ebsEventHasBeenSet = true; m_ebsEvent = value; } 1463 1464 /** 1465 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1466 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1467 */ SetEbsEvent(Aws::String && value)1468 inline void SetEbsEvent(Aws::String&& value) { m_ebsEventHasBeenSet = true; m_ebsEvent = std::move(value); } 1469 1470 /** 1471 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1472 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1473 */ SetEbsEvent(const char * value)1474 inline void SetEbsEvent(const char* value) { m_ebsEventHasBeenSet = true; m_ebsEvent.assign(value); } 1475 1476 /** 1477 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1478 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1479 */ WithEbsEvent(const Aws::String & value)1480 inline Observation& WithEbsEvent(const Aws::String& value) { SetEbsEvent(value); return *this;} 1481 1482 /** 1483 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1484 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1485 */ WithEbsEvent(Aws::String && value)1486 inline Observation& WithEbsEvent(Aws::String&& value) { SetEbsEvent(std::move(value)); return *this;} 1487 1488 /** 1489 * <p> The type of EBS CloudWatch event, such as <code>createVolume</code>, 1490 * <code>deleteVolume</code> or <code>attachVolume</code>. </p> 1491 */ WithEbsEvent(const char * value)1492 inline Observation& WithEbsEvent(const char* value) { SetEbsEvent(value); return *this;} 1493 1494 1495 /** 1496 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1497 * <code>succeeded</code>. </p> 1498 */ GetEbsResult()1499 inline const Aws::String& GetEbsResult() const{ return m_ebsResult; } 1500 1501 /** 1502 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1503 * <code>succeeded</code>. </p> 1504 */ EbsResultHasBeenSet()1505 inline bool EbsResultHasBeenSet() const { return m_ebsResultHasBeenSet; } 1506 1507 /** 1508 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1509 * <code>succeeded</code>. </p> 1510 */ SetEbsResult(const Aws::String & value)1511 inline void SetEbsResult(const Aws::String& value) { m_ebsResultHasBeenSet = true; m_ebsResult = value; } 1512 1513 /** 1514 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1515 * <code>succeeded</code>. </p> 1516 */ SetEbsResult(Aws::String && value)1517 inline void SetEbsResult(Aws::String&& value) { m_ebsResultHasBeenSet = true; m_ebsResult = std::move(value); } 1518 1519 /** 1520 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1521 * <code>succeeded</code>. </p> 1522 */ SetEbsResult(const char * value)1523 inline void SetEbsResult(const char* value) { m_ebsResultHasBeenSet = true; m_ebsResult.assign(value); } 1524 1525 /** 1526 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1527 * <code>succeeded</code>. </p> 1528 */ WithEbsResult(const Aws::String & value)1529 inline Observation& WithEbsResult(const Aws::String& value) { SetEbsResult(value); return *this;} 1530 1531 /** 1532 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1533 * <code>succeeded</code>. </p> 1534 */ WithEbsResult(Aws::String && value)1535 inline Observation& WithEbsResult(Aws::String&& value) { SetEbsResult(std::move(value)); return *this;} 1536 1537 /** 1538 * <p> The result of an EBS CloudWatch event, such as <code>failed</code> or 1539 * <code>succeeded</code>. </p> 1540 */ WithEbsResult(const char * value)1541 inline Observation& WithEbsResult(const char* value) { SetEbsResult(value); return *this;} 1542 1543 1544 /** 1545 * <p> The cause of an EBS CloudWatch event. </p> 1546 */ GetEbsCause()1547 inline const Aws::String& GetEbsCause() const{ return m_ebsCause; } 1548 1549 /** 1550 * <p> The cause of an EBS CloudWatch event. </p> 1551 */ EbsCauseHasBeenSet()1552 inline bool EbsCauseHasBeenSet() const { return m_ebsCauseHasBeenSet; } 1553 1554 /** 1555 * <p> The cause of an EBS CloudWatch event. </p> 1556 */ SetEbsCause(const Aws::String & value)1557 inline void SetEbsCause(const Aws::String& value) { m_ebsCauseHasBeenSet = true; m_ebsCause = value; } 1558 1559 /** 1560 * <p> The cause of an EBS CloudWatch event. </p> 1561 */ SetEbsCause(Aws::String && value)1562 inline void SetEbsCause(Aws::String&& value) { m_ebsCauseHasBeenSet = true; m_ebsCause = std::move(value); } 1563 1564 /** 1565 * <p> The cause of an EBS CloudWatch event. </p> 1566 */ SetEbsCause(const char * value)1567 inline void SetEbsCause(const char* value) { m_ebsCauseHasBeenSet = true; m_ebsCause.assign(value); } 1568 1569 /** 1570 * <p> The cause of an EBS CloudWatch event. </p> 1571 */ WithEbsCause(const Aws::String & value)1572 inline Observation& WithEbsCause(const Aws::String& value) { SetEbsCause(value); return *this;} 1573 1574 /** 1575 * <p> The cause of an EBS CloudWatch event. </p> 1576 */ WithEbsCause(Aws::String && value)1577 inline Observation& WithEbsCause(Aws::String&& value) { SetEbsCause(std::move(value)); return *this;} 1578 1579 /** 1580 * <p> The cause of an EBS CloudWatch event. </p> 1581 */ WithEbsCause(const char * value)1582 inline Observation& WithEbsCause(const char* value) { SetEbsCause(value); return *this;} 1583 1584 1585 /** 1586 * <p> The request ID of an EBS CloudWatch event. </p> 1587 */ GetEbsRequestId()1588 inline const Aws::String& GetEbsRequestId() const{ return m_ebsRequestId; } 1589 1590 /** 1591 * <p> The request ID of an EBS CloudWatch event. </p> 1592 */ EbsRequestIdHasBeenSet()1593 inline bool EbsRequestIdHasBeenSet() const { return m_ebsRequestIdHasBeenSet; } 1594 1595 /** 1596 * <p> The request ID of an EBS CloudWatch event. </p> 1597 */ SetEbsRequestId(const Aws::String & value)1598 inline void SetEbsRequestId(const Aws::String& value) { m_ebsRequestIdHasBeenSet = true; m_ebsRequestId = value; } 1599 1600 /** 1601 * <p> The request ID of an EBS CloudWatch event. </p> 1602 */ SetEbsRequestId(Aws::String && value)1603 inline void SetEbsRequestId(Aws::String&& value) { m_ebsRequestIdHasBeenSet = true; m_ebsRequestId = std::move(value); } 1604 1605 /** 1606 * <p> The request ID of an EBS CloudWatch event. </p> 1607 */ SetEbsRequestId(const char * value)1608 inline void SetEbsRequestId(const char* value) { m_ebsRequestIdHasBeenSet = true; m_ebsRequestId.assign(value); } 1609 1610 /** 1611 * <p> The request ID of an EBS CloudWatch event. </p> 1612 */ WithEbsRequestId(const Aws::String & value)1613 inline Observation& WithEbsRequestId(const Aws::String& value) { SetEbsRequestId(value); return *this;} 1614 1615 /** 1616 * <p> The request ID of an EBS CloudWatch event. </p> 1617 */ WithEbsRequestId(Aws::String && value)1618 inline Observation& WithEbsRequestId(Aws::String&& value) { SetEbsRequestId(std::move(value)); return *this;} 1619 1620 /** 1621 * <p> The request ID of an EBS CloudWatch event. </p> 1622 */ WithEbsRequestId(const char * value)1623 inline Observation& WithEbsRequestId(const char* value) { SetEbsRequestId(value); return *this;} 1624 1625 1626 /** 1627 * <p> The X-Ray request fault percentage for this node. </p> 1628 */ GetXRayFaultPercent()1629 inline int GetXRayFaultPercent() const{ return m_xRayFaultPercent; } 1630 1631 /** 1632 * <p> The X-Ray request fault percentage for this node. </p> 1633 */ XRayFaultPercentHasBeenSet()1634 inline bool XRayFaultPercentHasBeenSet() const { return m_xRayFaultPercentHasBeenSet; } 1635 1636 /** 1637 * <p> The X-Ray request fault percentage for this node. </p> 1638 */ SetXRayFaultPercent(int value)1639 inline void SetXRayFaultPercent(int value) { m_xRayFaultPercentHasBeenSet = true; m_xRayFaultPercent = value; } 1640 1641 /** 1642 * <p> The X-Ray request fault percentage for this node. </p> 1643 */ WithXRayFaultPercent(int value)1644 inline Observation& WithXRayFaultPercent(int value) { SetXRayFaultPercent(value); return *this;} 1645 1646 1647 /** 1648 * <p> The X-Ray request throttle percentage for this node. </p> 1649 */ GetXRayThrottlePercent()1650 inline int GetXRayThrottlePercent() const{ return m_xRayThrottlePercent; } 1651 1652 /** 1653 * <p> The X-Ray request throttle percentage for this node. </p> 1654 */ XRayThrottlePercentHasBeenSet()1655 inline bool XRayThrottlePercentHasBeenSet() const { return m_xRayThrottlePercentHasBeenSet; } 1656 1657 /** 1658 * <p> The X-Ray request throttle percentage for this node. </p> 1659 */ SetXRayThrottlePercent(int value)1660 inline void SetXRayThrottlePercent(int value) { m_xRayThrottlePercentHasBeenSet = true; m_xRayThrottlePercent = value; } 1661 1662 /** 1663 * <p> The X-Ray request throttle percentage for this node. </p> 1664 */ WithXRayThrottlePercent(int value)1665 inline Observation& WithXRayThrottlePercent(int value) { SetXRayThrottlePercent(value); return *this;} 1666 1667 1668 /** 1669 * <p> The X-Ray request error percentage for this node. </p> 1670 */ GetXRayErrorPercent()1671 inline int GetXRayErrorPercent() const{ return m_xRayErrorPercent; } 1672 1673 /** 1674 * <p> The X-Ray request error percentage for this node. </p> 1675 */ XRayErrorPercentHasBeenSet()1676 inline bool XRayErrorPercentHasBeenSet() const { return m_xRayErrorPercentHasBeenSet; } 1677 1678 /** 1679 * <p> The X-Ray request error percentage for this node. </p> 1680 */ SetXRayErrorPercent(int value)1681 inline void SetXRayErrorPercent(int value) { m_xRayErrorPercentHasBeenSet = true; m_xRayErrorPercent = value; } 1682 1683 /** 1684 * <p> The X-Ray request error percentage for this node. </p> 1685 */ WithXRayErrorPercent(int value)1686 inline Observation& WithXRayErrorPercent(int value) { SetXRayErrorPercent(value); return *this;} 1687 1688 1689 /** 1690 * <p> The X-Ray request count for this node. </p> 1691 */ GetXRayRequestCount()1692 inline int GetXRayRequestCount() const{ return m_xRayRequestCount; } 1693 1694 /** 1695 * <p> The X-Ray request count for this node. </p> 1696 */ XRayRequestCountHasBeenSet()1697 inline bool XRayRequestCountHasBeenSet() const { return m_xRayRequestCountHasBeenSet; } 1698 1699 /** 1700 * <p> The X-Ray request count for this node. </p> 1701 */ SetXRayRequestCount(int value)1702 inline void SetXRayRequestCount(int value) { m_xRayRequestCountHasBeenSet = true; m_xRayRequestCount = value; } 1703 1704 /** 1705 * <p> The X-Ray request count for this node. </p> 1706 */ WithXRayRequestCount(int value)1707 inline Observation& WithXRayRequestCount(int value) { SetXRayRequestCount(value); return *this;} 1708 1709 1710 /** 1711 * <p> The X-Ray node request average latency for this node. </p> 1712 */ GetXRayRequestAverageLatency()1713 inline long long GetXRayRequestAverageLatency() const{ return m_xRayRequestAverageLatency; } 1714 1715 /** 1716 * <p> The X-Ray node request average latency for this node. </p> 1717 */ XRayRequestAverageLatencyHasBeenSet()1718 inline bool XRayRequestAverageLatencyHasBeenSet() const { return m_xRayRequestAverageLatencyHasBeenSet; } 1719 1720 /** 1721 * <p> The X-Ray node request average latency for this node. </p> 1722 */ SetXRayRequestAverageLatency(long long value)1723 inline void SetXRayRequestAverageLatency(long long value) { m_xRayRequestAverageLatencyHasBeenSet = true; m_xRayRequestAverageLatency = value; } 1724 1725 /** 1726 * <p> The X-Ray node request average latency for this node. </p> 1727 */ WithXRayRequestAverageLatency(long long value)1728 inline Observation& WithXRayRequestAverageLatency(long long value) { SetXRayRequestAverageLatency(value); return *this;} 1729 1730 1731 /** 1732 * <p> The name of the X-Ray node. </p> 1733 */ GetXRayNodeName()1734 inline const Aws::String& GetXRayNodeName() const{ return m_xRayNodeName; } 1735 1736 /** 1737 * <p> The name of the X-Ray node. </p> 1738 */ XRayNodeNameHasBeenSet()1739 inline bool XRayNodeNameHasBeenSet() const { return m_xRayNodeNameHasBeenSet; } 1740 1741 /** 1742 * <p> The name of the X-Ray node. </p> 1743 */ SetXRayNodeName(const Aws::String & value)1744 inline void SetXRayNodeName(const Aws::String& value) { m_xRayNodeNameHasBeenSet = true; m_xRayNodeName = value; } 1745 1746 /** 1747 * <p> The name of the X-Ray node. </p> 1748 */ SetXRayNodeName(Aws::String && value)1749 inline void SetXRayNodeName(Aws::String&& value) { m_xRayNodeNameHasBeenSet = true; m_xRayNodeName = std::move(value); } 1750 1751 /** 1752 * <p> The name of the X-Ray node. </p> 1753 */ SetXRayNodeName(const char * value)1754 inline void SetXRayNodeName(const char* value) { m_xRayNodeNameHasBeenSet = true; m_xRayNodeName.assign(value); } 1755 1756 /** 1757 * <p> The name of the X-Ray node. </p> 1758 */ WithXRayNodeName(const Aws::String & value)1759 inline Observation& WithXRayNodeName(const Aws::String& value) { SetXRayNodeName(value); return *this;} 1760 1761 /** 1762 * <p> The name of the X-Ray node. </p> 1763 */ WithXRayNodeName(Aws::String && value)1764 inline Observation& WithXRayNodeName(Aws::String&& value) { SetXRayNodeName(std::move(value)); return *this;} 1765 1766 /** 1767 * <p> The name of the X-Ray node. </p> 1768 */ WithXRayNodeName(const char * value)1769 inline Observation& WithXRayNodeName(const char* value) { SetXRayNodeName(value); return *this;} 1770 1771 1772 /** 1773 * <p> The type of the X-Ray node. </p> 1774 */ GetXRayNodeType()1775 inline const Aws::String& GetXRayNodeType() const{ return m_xRayNodeType; } 1776 1777 /** 1778 * <p> The type of the X-Ray node. </p> 1779 */ XRayNodeTypeHasBeenSet()1780 inline bool XRayNodeTypeHasBeenSet() const { return m_xRayNodeTypeHasBeenSet; } 1781 1782 /** 1783 * <p> The type of the X-Ray node. </p> 1784 */ SetXRayNodeType(const Aws::String & value)1785 inline void SetXRayNodeType(const Aws::String& value) { m_xRayNodeTypeHasBeenSet = true; m_xRayNodeType = value; } 1786 1787 /** 1788 * <p> The type of the X-Ray node. </p> 1789 */ SetXRayNodeType(Aws::String && value)1790 inline void SetXRayNodeType(Aws::String&& value) { m_xRayNodeTypeHasBeenSet = true; m_xRayNodeType = std::move(value); } 1791 1792 /** 1793 * <p> The type of the X-Ray node. </p> 1794 */ SetXRayNodeType(const char * value)1795 inline void SetXRayNodeType(const char* value) { m_xRayNodeTypeHasBeenSet = true; m_xRayNodeType.assign(value); } 1796 1797 /** 1798 * <p> The type of the X-Ray node. </p> 1799 */ WithXRayNodeType(const Aws::String & value)1800 inline Observation& WithXRayNodeType(const Aws::String& value) { SetXRayNodeType(value); return *this;} 1801 1802 /** 1803 * <p> The type of the X-Ray node. </p> 1804 */ WithXRayNodeType(Aws::String && value)1805 inline Observation& WithXRayNodeType(Aws::String&& value) { SetXRayNodeType(std::move(value)); return *this;} 1806 1807 /** 1808 * <p> The type of the X-Ray node. </p> 1809 */ WithXRayNodeType(const char * value)1810 inline Observation& WithXRayNodeType(const char* value) { SetXRayNodeType(value); return *this;} 1811 1812 private: 1813 1814 Aws::String m_id; 1815 bool m_idHasBeenSet; 1816 1817 Aws::Utils::DateTime m_startTime; 1818 bool m_startTimeHasBeenSet; 1819 1820 Aws::Utils::DateTime m_endTime; 1821 bool m_endTimeHasBeenSet; 1822 1823 Aws::String m_sourceType; 1824 bool m_sourceTypeHasBeenSet; 1825 1826 Aws::String m_sourceARN; 1827 bool m_sourceARNHasBeenSet; 1828 1829 Aws::String m_logGroup; 1830 bool m_logGroupHasBeenSet; 1831 1832 Aws::Utils::DateTime m_lineTime; 1833 bool m_lineTimeHasBeenSet; 1834 1835 Aws::String m_logText; 1836 bool m_logTextHasBeenSet; 1837 1838 LogFilter m_logFilter; 1839 bool m_logFilterHasBeenSet; 1840 1841 Aws::String m_metricNamespace; 1842 bool m_metricNamespaceHasBeenSet; 1843 1844 Aws::String m_metricName; 1845 bool m_metricNameHasBeenSet; 1846 1847 Aws::String m_unit; 1848 bool m_unitHasBeenSet; 1849 1850 double m_value; 1851 bool m_valueHasBeenSet; 1852 1853 Aws::String m_cloudWatchEventId; 1854 bool m_cloudWatchEventIdHasBeenSet; 1855 1856 CloudWatchEventSource m_cloudWatchEventSource; 1857 bool m_cloudWatchEventSourceHasBeenSet; 1858 1859 Aws::String m_cloudWatchEventDetailType; 1860 bool m_cloudWatchEventDetailTypeHasBeenSet; 1861 1862 Aws::String m_healthEventArn; 1863 bool m_healthEventArnHasBeenSet; 1864 1865 Aws::String m_healthService; 1866 bool m_healthServiceHasBeenSet; 1867 1868 Aws::String m_healthEventTypeCode; 1869 bool m_healthEventTypeCodeHasBeenSet; 1870 1871 Aws::String m_healthEventTypeCategory; 1872 bool m_healthEventTypeCategoryHasBeenSet; 1873 1874 Aws::String m_healthEventDescription; 1875 bool m_healthEventDescriptionHasBeenSet; 1876 1877 Aws::String m_codeDeployDeploymentId; 1878 bool m_codeDeployDeploymentIdHasBeenSet; 1879 1880 Aws::String m_codeDeployDeploymentGroup; 1881 bool m_codeDeployDeploymentGroupHasBeenSet; 1882 1883 Aws::String m_codeDeployState; 1884 bool m_codeDeployStateHasBeenSet; 1885 1886 Aws::String m_codeDeployApplication; 1887 bool m_codeDeployApplicationHasBeenSet; 1888 1889 Aws::String m_codeDeployInstanceGroupId; 1890 bool m_codeDeployInstanceGroupIdHasBeenSet; 1891 1892 Aws::String m_ec2State; 1893 bool m_ec2StateHasBeenSet; 1894 1895 Aws::String m_rdsEventCategories; 1896 bool m_rdsEventCategoriesHasBeenSet; 1897 1898 Aws::String m_rdsEventMessage; 1899 bool m_rdsEventMessageHasBeenSet; 1900 1901 Aws::String m_s3EventName; 1902 bool m_s3EventNameHasBeenSet; 1903 1904 Aws::String m_statesExecutionArn; 1905 bool m_statesExecutionArnHasBeenSet; 1906 1907 Aws::String m_statesArn; 1908 bool m_statesArnHasBeenSet; 1909 1910 Aws::String m_statesStatus; 1911 bool m_statesStatusHasBeenSet; 1912 1913 Aws::String m_statesInput; 1914 bool m_statesInputHasBeenSet; 1915 1916 Aws::String m_ebsEvent; 1917 bool m_ebsEventHasBeenSet; 1918 1919 Aws::String m_ebsResult; 1920 bool m_ebsResultHasBeenSet; 1921 1922 Aws::String m_ebsCause; 1923 bool m_ebsCauseHasBeenSet; 1924 1925 Aws::String m_ebsRequestId; 1926 bool m_ebsRequestIdHasBeenSet; 1927 1928 int m_xRayFaultPercent; 1929 bool m_xRayFaultPercentHasBeenSet; 1930 1931 int m_xRayThrottlePercent; 1932 bool m_xRayThrottlePercentHasBeenSet; 1933 1934 int m_xRayErrorPercent; 1935 bool m_xRayErrorPercentHasBeenSet; 1936 1937 int m_xRayRequestCount; 1938 bool m_xRayRequestCountHasBeenSet; 1939 1940 long long m_xRayRequestAverageLatency; 1941 bool m_xRayRequestAverageLatencyHasBeenSet; 1942 1943 Aws::String m_xRayNodeName; 1944 bool m_xRayNodeNameHasBeenSet; 1945 1946 Aws::String m_xRayNodeType; 1947 bool m_xRayNodeTypeHasBeenSet; 1948 }; 1949 1950 } // namespace Model 1951 } // namespace ApplicationInsights 1952 } // namespace Aws 1953