AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsVolumeScanDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/ScanDetections.h>
12#include <aws/guardduty/model/ScanType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace GuardDuty
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GUARDDUTY_API EbsVolumeScanDetails();
42 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetScanId() const{ return m_scanId; }
50 inline bool ScanIdHasBeenSet() const { return m_scanIdHasBeenSet; }
51 inline void SetScanId(const Aws::String& value) { m_scanIdHasBeenSet = true; m_scanId = value; }
52 inline void SetScanId(Aws::String&& value) { m_scanIdHasBeenSet = true; m_scanId = std::move(value); }
53 inline void SetScanId(const char* value) { m_scanIdHasBeenSet = true; m_scanId.assign(value); }
54 inline EbsVolumeScanDetails& WithScanId(const Aws::String& value) { SetScanId(value); return *this;}
55 inline EbsVolumeScanDetails& WithScanId(Aws::String&& value) { SetScanId(std::move(value)); return *this;}
56 inline EbsVolumeScanDetails& WithScanId(const char* value) { SetScanId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetScanStartedAt() const{ return m_scanStartedAt; }
64 inline bool ScanStartedAtHasBeenSet() const { return m_scanStartedAtHasBeenSet; }
65 inline void SetScanStartedAt(const Aws::Utils::DateTime& value) { m_scanStartedAtHasBeenSet = true; m_scanStartedAt = value; }
66 inline void SetScanStartedAt(Aws::Utils::DateTime&& value) { m_scanStartedAtHasBeenSet = true; m_scanStartedAt = std::move(value); }
67 inline EbsVolumeScanDetails& WithScanStartedAt(const Aws::Utils::DateTime& value) { SetScanStartedAt(value); return *this;}
68 inline EbsVolumeScanDetails& WithScanStartedAt(Aws::Utils::DateTime&& value) { SetScanStartedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetScanCompletedAt() const{ return m_scanCompletedAt; }
76 inline bool ScanCompletedAtHasBeenSet() const { return m_scanCompletedAtHasBeenSet; }
77 inline void SetScanCompletedAt(const Aws::Utils::DateTime& value) { m_scanCompletedAtHasBeenSet = true; m_scanCompletedAt = value; }
78 inline void SetScanCompletedAt(Aws::Utils::DateTime&& value) { m_scanCompletedAtHasBeenSet = true; m_scanCompletedAt = std::move(value); }
80 inline EbsVolumeScanDetails& WithScanCompletedAt(Aws::Utils::DateTime&& value) { SetScanCompletedAt(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetTriggerFindingId() const{ return m_triggerFindingId; }
88 inline bool TriggerFindingIdHasBeenSet() const { return m_triggerFindingIdHasBeenSet; }
89 inline void SetTriggerFindingId(const Aws::String& value) { m_triggerFindingIdHasBeenSet = true; m_triggerFindingId = value; }
90 inline void SetTriggerFindingId(Aws::String&& value) { m_triggerFindingIdHasBeenSet = true; m_triggerFindingId = std::move(value); }
91 inline void SetTriggerFindingId(const char* value) { m_triggerFindingIdHasBeenSet = true; m_triggerFindingId.assign(value); }
92 inline EbsVolumeScanDetails& WithTriggerFindingId(const Aws::String& value) { SetTriggerFindingId(value); return *this;}
93 inline EbsVolumeScanDetails& WithTriggerFindingId(Aws::String&& value) { SetTriggerFindingId(std::move(value)); return *this;}
94 inline EbsVolumeScanDetails& WithTriggerFindingId(const char* value) { SetTriggerFindingId(value); return *this;}
96
98
101 inline const Aws::Vector<Aws::String>& GetSources() const{ return m_sources; }
102 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
103 inline void SetSources(const Aws::Vector<Aws::String>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
104 inline void SetSources(Aws::Vector<Aws::String>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
105 inline EbsVolumeScanDetails& WithSources(const Aws::Vector<Aws::String>& value) { SetSources(value); return *this;}
106 inline EbsVolumeScanDetails& WithSources(Aws::Vector<Aws::String>&& value) { SetSources(std::move(value)); return *this;}
107 inline EbsVolumeScanDetails& AddSources(const Aws::String& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
108 inline EbsVolumeScanDetails& AddSources(Aws::String&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
109 inline EbsVolumeScanDetails& AddSources(const char* value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
111
113
116 inline const ScanDetections& GetScanDetections() const{ return m_scanDetections; }
117 inline bool ScanDetectionsHasBeenSet() const { return m_scanDetectionsHasBeenSet; }
118 inline void SetScanDetections(const ScanDetections& value) { m_scanDetectionsHasBeenSet = true; m_scanDetections = value; }
119 inline void SetScanDetections(ScanDetections&& value) { m_scanDetectionsHasBeenSet = true; m_scanDetections = std::move(value); }
120 inline EbsVolumeScanDetails& WithScanDetections(const ScanDetections& value) { SetScanDetections(value); return *this;}
121 inline EbsVolumeScanDetails& WithScanDetections(ScanDetections&& value) { SetScanDetections(std::move(value)); return *this;}
123
125
128 inline const ScanType& GetScanType() const{ return m_scanType; }
129 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
130 inline void SetScanType(const ScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
131 inline void SetScanType(ScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
132 inline EbsVolumeScanDetails& WithScanType(const ScanType& value) { SetScanType(value); return *this;}
133 inline EbsVolumeScanDetails& WithScanType(ScanType&& value) { SetScanType(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_scanId;
138 bool m_scanIdHasBeenSet = false;
139
140 Aws::Utils::DateTime m_scanStartedAt;
141 bool m_scanStartedAtHasBeenSet = false;
142
143 Aws::Utils::DateTime m_scanCompletedAt;
144 bool m_scanCompletedAtHasBeenSet = false;
145
146 Aws::String m_triggerFindingId;
147 bool m_triggerFindingIdHasBeenSet = false;
148
149 Aws::Vector<Aws::String> m_sources;
150 bool m_sourcesHasBeenSet = false;
151
152 ScanDetections m_scanDetections;
153 bool m_scanDetectionsHasBeenSet = false;
154
155 ScanType m_scanType;
156 bool m_scanTypeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace GuardDuty
161} // namespace Aws
EbsVolumeScanDetails & AddSources(const Aws::String &value)
void SetScanCompletedAt(Aws::Utils::DateTime &&value)
const ScanDetections & GetScanDetections() const
const Aws::Utils::DateTime & GetScanStartedAt() const
EbsVolumeScanDetails & AddSources(const char *value)
EbsVolumeScanDetails & WithScanId(Aws::String &&value)
EbsVolumeScanDetails & WithScanStartedAt(const Aws::Utils::DateTime &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EbsVolumeScanDetails & WithTriggerFindingId(const char *value)
EbsVolumeScanDetails & WithScanStartedAt(Aws::Utils::DateTime &&value)
EbsVolumeScanDetails & WithTriggerFindingId(const Aws::String &value)
EbsVolumeScanDetails & WithScanId(const char *value)
EbsVolumeScanDetails & WithTriggerFindingId(Aws::String &&value)
EbsVolumeScanDetails & WithScanDetections(const ScanDetections &value)
EbsVolumeScanDetails & WithScanCompletedAt(const Aws::Utils::DateTime &value)
void SetTriggerFindingId(const Aws::String &value)
EbsVolumeScanDetails & WithScanCompletedAt(Aws::Utils::DateTime &&value)
EbsVolumeScanDetails & WithScanId(const Aws::String &value)
EbsVolumeScanDetails & AddSources(Aws::String &&value)
void SetSources(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSources() const
void SetScanStartedAt(Aws::Utils::DateTime &&value)
EbsVolumeScanDetails & WithSources(Aws::Vector< Aws::String > &&value)
void SetScanStartedAt(const Aws::Utils::DateTime &value)
EbsVolumeScanDetails & WithSources(const Aws::Vector< Aws::String > &value)
EbsVolumeScanDetails & WithScanType(const ScanType &value)
void SetScanCompletedAt(const Aws::Utils::DateTime &value)
EbsVolumeScanDetails & WithScanType(ScanType &&value)
AWS_GUARDDUTY_API EbsVolumeScanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetScanCompletedAt() const
AWS_GUARDDUTY_API EbsVolumeScanDetails(Aws::Utils::Json::JsonView jsonValue)
void SetScanDetections(const ScanDetections &value)
EbsVolumeScanDetails & WithScanDetections(ScanDetections &&value)
void SetSources(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue