AWS SDK for C++  1.9.103
AWS SDK for C++
DataSourceConfigurationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 GuardDuty
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
48  inline const CloudTrailConfigurationResult& GetCloudTrail() const{ return m_cloudTrail; }
49 
54  inline bool CloudTrailHasBeenSet() const { return m_cloudTrailHasBeenSet; }
55 
60  inline void SetCloudTrail(const CloudTrailConfigurationResult& value) { m_cloudTrailHasBeenSet = true; m_cloudTrail = value; }
61 
66  inline void SetCloudTrail(CloudTrailConfigurationResult&& value) { m_cloudTrailHasBeenSet = true; m_cloudTrail = std::move(value); }
67 
72  inline DataSourceConfigurationsResult& WithCloudTrail(const CloudTrailConfigurationResult& value) { SetCloudTrail(value); return *this;}
73 
78  inline DataSourceConfigurationsResult& WithCloudTrail(CloudTrailConfigurationResult&& value) { SetCloudTrail(std::move(value)); return *this;}
79 
80 
85  inline const DNSLogsConfigurationResult& GetDNSLogs() const{ return m_dNSLogs; }
86 
91  inline bool DNSLogsHasBeenSet() const { return m_dNSLogsHasBeenSet; }
92 
97  inline void SetDNSLogs(const DNSLogsConfigurationResult& value) { m_dNSLogsHasBeenSet = true; m_dNSLogs = value; }
98 
103  inline void SetDNSLogs(DNSLogsConfigurationResult&& value) { m_dNSLogsHasBeenSet = true; m_dNSLogs = std::move(value); }
104 
109  inline DataSourceConfigurationsResult& WithDNSLogs(const DNSLogsConfigurationResult& value) { SetDNSLogs(value); return *this;}
110 
115  inline DataSourceConfigurationsResult& WithDNSLogs(DNSLogsConfigurationResult&& value) { SetDNSLogs(std::move(value)); return *this;}
116 
117 
122  inline const FlowLogsConfigurationResult& GetFlowLogs() const{ return m_flowLogs; }
123 
128  inline bool FlowLogsHasBeenSet() const { return m_flowLogsHasBeenSet; }
129 
134  inline void SetFlowLogs(const FlowLogsConfigurationResult& value) { m_flowLogsHasBeenSet = true; m_flowLogs = value; }
135 
140  inline void SetFlowLogs(FlowLogsConfigurationResult&& value) { m_flowLogsHasBeenSet = true; m_flowLogs = std::move(value); }
141 
146  inline DataSourceConfigurationsResult& WithFlowLogs(const FlowLogsConfigurationResult& value) { SetFlowLogs(value); return *this;}
147 
152  inline DataSourceConfigurationsResult& WithFlowLogs(FlowLogsConfigurationResult&& value) { SetFlowLogs(std::move(value)); return *this;}
153 
154 
159  inline const S3LogsConfigurationResult& GetS3Logs() const{ return m_s3Logs; }
160 
165  inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
166 
171  inline void SetS3Logs(const S3LogsConfigurationResult& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; }
172 
177  inline void SetS3Logs(S3LogsConfigurationResult&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); }
178 
183  inline DataSourceConfigurationsResult& WithS3Logs(const S3LogsConfigurationResult& value) { SetS3Logs(value); return *this;}
184 
189  inline DataSourceConfigurationsResult& WithS3Logs(S3LogsConfigurationResult&& value) { SetS3Logs(std::move(value)); return *this;}
190 
191  private:
192 
193  CloudTrailConfigurationResult m_cloudTrail;
194  bool m_cloudTrailHasBeenSet;
195 
196  DNSLogsConfigurationResult m_dNSLogs;
197  bool m_dNSLogsHasBeenSet;
198 
199  FlowLogsConfigurationResult m_flowLogs;
200  bool m_flowLogsHasBeenSet;
201 
202  S3LogsConfigurationResult m_s3Logs;
203  bool m_s3LogsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace GuardDuty
208 } // namespace Aws
Aws::GuardDuty::Model::DataSourceConfigurationsResult::operator=
DataSourceConfigurationsResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithCloudTrail
DataSourceConfigurationsResult & WithCloudTrail(CloudTrailConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:78
Aws::GuardDuty::Model::DataSourceConfigurationsResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithFlowLogs
DataSourceConfigurationsResult & WithFlowLogs(FlowLogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:152
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithDNSLogs
DataSourceConfigurationsResult & WithDNSLogs(DNSLogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:115
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithDNSLogs
DataSourceConfigurationsResult & WithDNSLogs(const DNSLogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:109
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithS3Logs
DataSourceConfigurationsResult & WithS3Logs(S3LogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:189
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetFlowLogs
void SetFlowLogs(FlowLogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:140
Aws::GuardDuty::Model::DataSourceConfigurationsResult::CloudTrailHasBeenSet
bool CloudTrailHasBeenSet() const
Definition: DataSourceConfigurationsResult.h:54
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetDNSLogs
void SetDNSLogs(DNSLogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:103
Aws::GuardDuty::Model::DataSourceConfigurationsResult::FlowLogsHasBeenSet
bool FlowLogsHasBeenSet() const
Definition: DataSourceConfigurationsResult.h:128
Aws::GuardDuty::Model::DataSourceConfigurationsResult::GetFlowLogs
const FlowLogsConfigurationResult & GetFlowLogs() const
Definition: DataSourceConfigurationsResult.h:122
Aws::GuardDuty::Model::DataSourceConfigurationsResult::GetS3Logs
const S3LogsConfigurationResult & GetS3Logs() const
Definition: DataSourceConfigurationsResult.h:159
S3LogsConfigurationResult.h
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetCloudTrail
void SetCloudTrail(const CloudTrailConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:60
Aws::GuardDuty::Model::DataSourceConfigurationsResult::GetCloudTrail
const CloudTrailConfigurationResult & GetCloudTrail() const
Definition: DataSourceConfigurationsResult.h:48
Aws::GuardDuty::Model::DataSourceConfigurationsResult::DataSourceConfigurationsResult
DataSourceConfigurationsResult()
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetS3Logs
void SetS3Logs(S3LogsConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:177
DNSLogsConfigurationResult.h
Aws::GuardDuty::Model::DataSourceConfigurationsResult::S3LogsHasBeenSet
bool S3LogsHasBeenSet() const
Definition: DataSourceConfigurationsResult.h:165
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithCloudTrail
DataSourceConfigurationsResult & WithCloudTrail(const CloudTrailConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:72
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithFlowLogs
DataSourceConfigurationsResult & WithFlowLogs(const FlowLogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:146
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetCloudTrail
void SetCloudTrail(CloudTrailConfigurationResult &&value)
Definition: DataSourceConfigurationsResult.h:66
Aws::GuardDuty::Model::DataSourceConfigurationsResult::DNSLogsHasBeenSet
bool DNSLogsHasBeenSet() const
Definition: DataSourceConfigurationsResult.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::FlowLogsConfigurationResult
Definition: FlowLogsConfigurationResult.h:33
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetFlowLogs
void SetFlowLogs(const FlowLogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:134
Aws::GuardDuty::Model::DataSourceConfigurationsResult::WithS3Logs
DataSourceConfigurationsResult & WithS3Logs(const S3LogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:183
Aws::GuardDuty::Model::DNSLogsConfigurationResult
Definition: DNSLogsConfigurationResult.h:33
FlowLogsConfigurationResult.h
CloudTrailConfigurationResult.h
Aws::GuardDuty::Model::DataSourceConfigurationsResult::DataSourceConfigurationsResult
DataSourceConfigurationsResult(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DataSourceConfigurationsResult::GetDNSLogs
const DNSLogsConfigurationResult & GetDNSLogs() const
Definition: DataSourceConfigurationsResult.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetS3Logs
void SetS3Logs(const S3LogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:171
Aws::GuardDuty::Model::S3LogsConfigurationResult
Definition: S3LogsConfigurationResult.h:33
Aws::GuardDuty::Model::CloudTrailConfigurationResult
Definition: CloudTrailConfigurationResult.h:33
Aws::GuardDuty::Model::DataSourceConfigurationsResult::SetDNSLogs
void SetDNSLogs(const DNSLogsConfigurationResult &value)
Definition: DataSourceConfigurationsResult.h:97
Aws::GuardDuty::Model::DataSourceConfigurationsResult
Definition: DataSourceConfigurationsResult.h:36