AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UsageFeatureResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/UsageFeature.h>
9#include <aws/guardduty/model/Total.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 UsageFeatureResult();
37 AWS_GUARDDUTY_API UsageFeatureResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const UsageFeature& GetFeature() const{ return m_feature; }
47 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
48 inline void SetFeature(const UsageFeature& value) { m_featureHasBeenSet = true; m_feature = value; }
49 inline void SetFeature(UsageFeature&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
50 inline UsageFeatureResult& WithFeature(const UsageFeature& value) { SetFeature(value); return *this;}
51 inline UsageFeatureResult& WithFeature(UsageFeature&& value) { SetFeature(std::move(value)); return *this;}
53
55
56 inline const Total& GetTotal() const{ return m_total; }
57 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
58 inline void SetTotal(const Total& value) { m_totalHasBeenSet = true; m_total = value; }
59 inline void SetTotal(Total&& value) { m_totalHasBeenSet = true; m_total = std::move(value); }
60 inline UsageFeatureResult& WithTotal(const Total& value) { SetTotal(value); return *this;}
61 inline UsageFeatureResult& WithTotal(Total&& value) { SetTotal(std::move(value)); return *this;}
63 private:
64
65 UsageFeature m_feature;
66 bool m_featureHasBeenSet = false;
67
68 Total m_total;
69 bool m_totalHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GuardDuty
74} // namespace Aws
void SetFeature(const UsageFeature &value)
AWS_GUARDDUTY_API UsageFeatureResult(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
UsageFeatureResult & WithFeature(const UsageFeature &value)
UsageFeatureResult & WithFeature(UsageFeature &&value)
UsageFeatureResult & WithTotal(Total &&value)
UsageFeatureResult & WithTotal(const Total &value)
AWS_GUARDDUTY_API UsageFeatureResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue