AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsVolumesResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/DataSourceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API EbsVolumesResult();
37 AWS_GUARDDUTY_API EbsVolumesResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DataSourceStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline EbsVolumesResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
51 inline EbsVolumesResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetReason() const{ return m_reason; }
60 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
61 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
62 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
63 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
64 inline EbsVolumesResult& WithReason(const Aws::String& value) { SetReason(value); return *this;}
65 inline EbsVolumesResult& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
66 inline EbsVolumesResult& WithReason(const char* value) { SetReason(value); return *this;}
68 private:
69
70 DataSourceStatus m_status;
71 bool m_statusHasBeenSet = false;
72
73 Aws::String m_reason;
74 bool m_reasonHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
AWS_GUARDDUTY_API EbsVolumesResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReason() const
EbsVolumesResult & WithReason(const char *value)
AWS_GUARDDUTY_API EbsVolumesResult(Aws::Utils::Json::JsonView jsonValue)
EbsVolumesResult & WithStatus(const DataSourceStatus &value)
void SetReason(const Aws::String &value)
EbsVolumesResult & WithReason(const Aws::String &value)
void SetStatus(DataSourceStatus &&value)
const DataSourceStatus & GetStatus() const
EbsVolumesResult & WithStatus(DataSourceStatus &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const DataSourceStatus &value)
EbsVolumesResult & WithReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue