AWS SDK for C++  1.9.20
AWS SDK for C++
DNSLogsConfigurationResult.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 DataSourceStatus& GetStatus() const{ return m_status; }
45 
49  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 
54  inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
55 
59  inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 
64  inline DNSLogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
65 
69  inline DNSLogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
70 
71  private:
72 
73  DataSourceStatus m_status;
74  bool m_statusHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace GuardDuty
79 } // namespace Aws
Aws::GuardDuty::Model::DNSLogsConfigurationResult::SetStatus
void SetStatus(DataSourceStatus &&value)
Definition: DNSLogsConfigurationResult.h:59
Aws::GuardDuty::Model::DNSLogsConfigurationResult::WithStatus
DNSLogsConfigurationResult & WithStatus(DataSourceStatus &&value)
Definition: DNSLogsConfigurationResult.h:69
Aws::GuardDuty::Model::DNSLogsConfigurationResult::DNSLogsConfigurationResult
DNSLogsConfigurationResult()
Aws::GuardDuty::Model::DNSLogsConfigurationResult::operator=
DNSLogsConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceStatus.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DataSourceStatus
DataSourceStatus
Definition: DataSourceStatus.h:17
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DNSLogsConfigurationResult::GetStatus
const DataSourceStatus & GetStatus() const
Definition: DNSLogsConfigurationResult.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::DNSLogsConfigurationResult::DNSLogsConfigurationResult
DNSLogsConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DNSLogsConfigurationResult
Definition: DNSLogsConfigurationResult.h:33
Aws::GuardDuty::Model::DNSLogsConfigurationResult::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DNSLogsConfigurationResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DNSLogsConfigurationResult::WithStatus
DNSLogsConfigurationResult & WithStatus(const DataSourceStatus &value)
Definition: DNSLogsConfigurationResult.h:64
Aws::GuardDuty::Model::DNSLogsConfigurationResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::DNSLogsConfigurationResult::SetStatus
void SetStatus(const DataSourceStatus &value)
Definition: DNSLogsConfigurationResult.h:54