AWS SDK for C++  1.9.104
AWS SDK for C++
DataSourceConfigurations.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const S3LogsConfiguration& GetS3Logs() const{ return m_s3Logs; }
45 
49  inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
50 
54  inline void SetS3Logs(const S3LogsConfiguration& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; }
55 
59  inline void SetS3Logs(S3LogsConfiguration&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); }
60 
64  inline DataSourceConfigurations& WithS3Logs(const S3LogsConfiguration& value) { SetS3Logs(value); return *this;}
65 
69  inline DataSourceConfigurations& WithS3Logs(S3LogsConfiguration&& value) { SetS3Logs(std::move(value)); return *this;}
70 
71  private:
72 
73  S3LogsConfiguration m_s3Logs;
74  bool m_s3LogsHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace GuardDuty
79 } // namespace Aws
Aws::GuardDuty::Model::S3LogsConfiguration
Definition: S3LogsConfiguration.h:31
Aws::GuardDuty::Model::DataSourceConfigurations::GetS3Logs
const S3LogsConfiguration & GetS3Logs() const
Definition: DataSourceConfigurations.h:44
Aws::GuardDuty::Model::DataSourceConfigurations::SetS3Logs
void SetS3Logs(const S3LogsConfiguration &value)
Definition: DataSourceConfigurations.h:54
S3LogsConfiguration.h
Aws::GuardDuty::Model::DataSourceConfigurations::WithS3Logs
DataSourceConfigurations & WithS3Logs(const S3LogsConfiguration &value)
Definition: DataSourceConfigurations.h:64
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DataSourceConfigurations::operator=
DataSourceConfigurations & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DataSourceConfigurations::DataSourceConfigurations
DataSourceConfigurations(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DataSourceConfigurations::DataSourceConfigurations
DataSourceConfigurations()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::DataSourceConfigurations::S3LogsHasBeenSet
bool S3LogsHasBeenSet() const
Definition: DataSourceConfigurations.h:49
Aws::GuardDuty::Model::DataSourceConfigurations::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::DataSourceConfigurations::SetS3Logs
void SetS3Logs(S3LogsConfiguration &&value)
Definition: DataSourceConfigurations.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DataSourceConfigurations
Definition: DataSourceConfigurations.h:33
Aws::GuardDuty::Model::DataSourceConfigurations::WithS3Logs
DataSourceConfigurations & WithS3Logs(S3LogsConfiguration &&value)
Definition: DataSourceConfigurations.h:69