AWS SDK for C++  1.9.108
AWS SDK for C++
FlowLogsConfigurationResult.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 FlowLogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
65 
69  inline FlowLogsConfigurationResult& 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::FlowLogsConfigurationResult::SetStatus
void SetStatus(DataSourceStatus &&value)
Definition: FlowLogsConfigurationResult.h:59
Aws::GuardDuty::Model::FlowLogsConfigurationResult::GetStatus
const DataSourceStatus & GetStatus() const
Definition: FlowLogsConfigurationResult.h:44
Aws::GuardDuty::Model::FlowLogsConfigurationResult::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: FlowLogsConfigurationResult.h:49
Aws::GuardDuty::Model::FlowLogsConfigurationResult::SetStatus
void SetStatus(const DataSourceStatus &value)
Definition: FlowLogsConfigurationResult.h:54
Aws::GuardDuty::Model::FlowLogsConfigurationResult::operator=
FlowLogsConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::FlowLogsConfigurationResult::WithStatus
FlowLogsConfigurationResult & WithStatus(const DataSourceStatus &value)
Definition: FlowLogsConfigurationResult.h:64
DataSourceStatus.h
Aws::GuardDuty::Model::FlowLogsConfigurationResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DataSourceStatus
DataSourceStatus
Definition: DataSourceStatus.h:17
Aws::GuardDuty::Model::FlowLogsConfigurationResult::FlowLogsConfigurationResult
FlowLogsConfigurationResult()
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
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::FlowLogsConfigurationResult::WithStatus
FlowLogsConfigurationResult & WithStatus(DataSourceStatus &&value)
Definition: FlowLogsConfigurationResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::FlowLogsConfigurationResult::FlowLogsConfigurationResult
FlowLogsConfigurationResult(Aws::Utils::Json::JsonView jsonValue)