AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RefreshScheduleFrequency.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/RefreshScheduleFrequencyUnit.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudTrail {
20namespace Model {
21
30 public:
31 AWS_CLOUDTRAIL_API RefreshScheduleFrequency() = default;
34 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline RefreshScheduleFrequencyUnit GetUnit() const { return m_unit; }
43 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
45 m_unitHasBeenSet = true;
46 m_unit = value;
47 }
49 SetUnit(value);
50 return *this;
51 }
53
55
63 inline int GetValue() const { return m_value; }
64 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
65 inline void SetValue(int value) {
66 m_valueHasBeenSet = true;
67 m_value = value;
68 }
70 SetValue(value);
71 return *this;
72 }
74 private:
76
77 int m_value{0};
78 bool m_unitHasBeenSet = false;
79 bool m_valueHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CloudTrail
84} // namespace Aws
AWS_CLOUDTRAIL_API RefreshScheduleFrequency(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(RefreshScheduleFrequencyUnit value)
AWS_CLOUDTRAIL_API RefreshScheduleFrequency()=default
RefreshScheduleFrequency & WithUnit(RefreshScheduleFrequencyUnit value)
AWS_CLOUDTRAIL_API RefreshScheduleFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue