AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ScannedResourceDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/EbsSnapshot.h>
9#include <aws/guardduty/model/VolumeDetail.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
30 public:
31 AWS_GUARDDUTY_API ScannedResourceDetails() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const VolumeDetail& GetEbsVolume() const { return m_ebsVolume; }
41 inline bool EbsVolumeHasBeenSet() const { return m_ebsVolumeHasBeenSet; }
42 template <typename EbsVolumeT = VolumeDetail>
43 void SetEbsVolume(EbsVolumeT&& value) {
44 m_ebsVolumeHasBeenSet = true;
45 m_ebsVolume = std::forward<EbsVolumeT>(value);
46 }
47 template <typename EbsVolumeT = VolumeDetail>
49 SetEbsVolume(std::forward<EbsVolumeT>(value));
50 return *this;
51 }
53
55
58 inline const EbsSnapshot& GetEbsSnapshot() const { return m_ebsSnapshot; }
59 inline bool EbsSnapshotHasBeenSet() const { return m_ebsSnapshotHasBeenSet; }
60 template <typename EbsSnapshotT = EbsSnapshot>
61 void SetEbsSnapshot(EbsSnapshotT&& value) {
62 m_ebsSnapshotHasBeenSet = true;
63 m_ebsSnapshot = std::forward<EbsSnapshotT>(value);
64 }
65 template <typename EbsSnapshotT = EbsSnapshot>
66 ScannedResourceDetails& WithEbsSnapshot(EbsSnapshotT&& value) {
67 SetEbsSnapshot(std::forward<EbsSnapshotT>(value));
68 return *this;
69 }
71 private:
72 VolumeDetail m_ebsVolume;
73
74 EbsSnapshot m_ebsSnapshot;
75 bool m_ebsVolumeHasBeenSet = false;
76 bool m_ebsSnapshotHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
AWS_GUARDDUTY_API ScannedResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ScannedResourceDetails(Aws::Utils::Json::JsonView jsonValue)
ScannedResourceDetails & WithEbsSnapshot(EbsSnapshotT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API ScannedResourceDetails()=default
ScannedResourceDetails & WithEbsVolume(EbsVolumeT &&value)
Aws::Utils::Json::JsonValue JsonValue