AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsVolumeDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/VolumeDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API EbsVolumeDetails();
37 AWS_GUARDDUTY_API EbsVolumeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<VolumeDetail>& GetScannedVolumeDetails() const{ return m_scannedVolumeDetails; }
47 inline bool ScannedVolumeDetailsHasBeenSet() const { return m_scannedVolumeDetailsHasBeenSet; }
48 inline void SetScannedVolumeDetails(const Aws::Vector<VolumeDetail>& value) { m_scannedVolumeDetailsHasBeenSet = true; m_scannedVolumeDetails = value; }
49 inline void SetScannedVolumeDetails(Aws::Vector<VolumeDetail>&& value) { m_scannedVolumeDetailsHasBeenSet = true; m_scannedVolumeDetails = std::move(value); }
52 inline EbsVolumeDetails& AddScannedVolumeDetails(const VolumeDetail& value) { m_scannedVolumeDetailsHasBeenSet = true; m_scannedVolumeDetails.push_back(value); return *this; }
53 inline EbsVolumeDetails& AddScannedVolumeDetails(VolumeDetail&& value) { m_scannedVolumeDetailsHasBeenSet = true; m_scannedVolumeDetails.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<VolumeDetail>& GetSkippedVolumeDetails() const{ return m_skippedVolumeDetails; }
61 inline bool SkippedVolumeDetailsHasBeenSet() const { return m_skippedVolumeDetailsHasBeenSet; }
62 inline void SetSkippedVolumeDetails(const Aws::Vector<VolumeDetail>& value) { m_skippedVolumeDetailsHasBeenSet = true; m_skippedVolumeDetails = value; }
63 inline void SetSkippedVolumeDetails(Aws::Vector<VolumeDetail>&& value) { m_skippedVolumeDetailsHasBeenSet = true; m_skippedVolumeDetails = std::move(value); }
66 inline EbsVolumeDetails& AddSkippedVolumeDetails(const VolumeDetail& value) { m_skippedVolumeDetailsHasBeenSet = true; m_skippedVolumeDetails.push_back(value); return *this; }
67 inline EbsVolumeDetails& AddSkippedVolumeDetails(VolumeDetail&& value) { m_skippedVolumeDetailsHasBeenSet = true; m_skippedVolumeDetails.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::Vector<VolumeDetail> m_scannedVolumeDetails;
72 bool m_scannedVolumeDetailsHasBeenSet = false;
73
74 Aws::Vector<VolumeDetail> m_skippedVolumeDetails;
75 bool m_skippedVolumeDetailsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GuardDuty
80} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EbsVolumeDetails & WithScannedVolumeDetails(Aws::Vector< VolumeDetail > &&value)
EbsVolumeDetails & AddScannedVolumeDetails(VolumeDetail &&value)
void SetScannedVolumeDetails(const Aws::Vector< VolumeDetail > &value)
EbsVolumeDetails & WithSkippedVolumeDetails(const Aws::Vector< VolumeDetail > &value)
const Aws::Vector< VolumeDetail > & GetSkippedVolumeDetails() const
void SetScannedVolumeDetails(Aws::Vector< VolumeDetail > &&value)
void SetSkippedVolumeDetails(Aws::Vector< VolumeDetail > &&value)
EbsVolumeDetails & AddSkippedVolumeDetails(VolumeDetail &&value)
EbsVolumeDetails & WithScannedVolumeDetails(const Aws::Vector< VolumeDetail > &value)
AWS_GUARDDUTY_API EbsVolumeDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSkippedVolumeDetails(const Aws::Vector< VolumeDetail > &value)
EbsVolumeDetails & AddSkippedVolumeDetails(const VolumeDetail &value)
EbsVolumeDetails & AddScannedVolumeDetails(const VolumeDetail &value)
EbsVolumeDetails & WithSkippedVolumeDetails(Aws::Vector< VolumeDetail > &&value)
const Aws::Vector< VolumeDetail > & GetScannedVolumeDetails() const
AWS_GUARDDUTY_API EbsVolumeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue