AWS SDK for C++  1.8.129
AWS SDK for C++
S3LogsConfigurationResult.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 
45  inline const DataSourceStatus& GetStatus() const{ return m_status; }
46 
51  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 
57  inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
58 
63  inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 
69  inline S3LogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
70 
75  inline S3LogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
76 
77  private:
78 
79  DataSourceStatus m_status;
80  bool m_statusHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace GuardDuty
85 } // namespace Aws
Aws::GuardDuty::Model::S3LogsConfigurationResult::WithStatus
S3LogsConfigurationResult & WithStatus(const DataSourceStatus &value)
Definition: S3LogsConfigurationResult.h:69
Aws::GuardDuty::Model::S3LogsConfigurationResult::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: S3LogsConfigurationResult.h:51
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::S3LogsConfigurationResult::operator=
S3LogsConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::S3LogsConfigurationResult::SetStatus
void SetStatus(DataSourceStatus &&value)
Definition: S3LogsConfigurationResult.h:63
Aws::GuardDuty::Model::S3LogsConfigurationResult::WithStatus
S3LogsConfigurationResult & WithStatus(DataSourceStatus &&value)
Definition: S3LogsConfigurationResult.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::S3LogsConfigurationResult::GetStatus
const DataSourceStatus & GetStatus() const
Definition: S3LogsConfigurationResult.h:45
Aws::GuardDuty::Model::S3LogsConfigurationResult::S3LogsConfigurationResult
S3LogsConfigurationResult()
Aws::GuardDuty::Model::S3LogsConfigurationResult::S3LogsConfigurationResult
S3LogsConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::S3LogsConfigurationResult
Definition: S3LogsConfigurationResult.h:33
Aws::GuardDuty::Model::S3LogsConfigurationResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::S3LogsConfigurationResult::SetStatus
void SetStatus(const DataSourceStatus &value)
Definition: S3LogsConfigurationResult.h:57