AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudTrail
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDTRAIL_API RefreshScheduleFrequency() = default;
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline RefreshScheduleFrequencyUnit GetUnit() const { return m_unit; }
49 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
50 inline void SetUnit(RefreshScheduleFrequencyUnit value) { m_unitHasBeenSet = true; m_unit = value; }
53
55
63 inline int GetValue() const { return m_value; }
64 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
65 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
66 inline RefreshScheduleFrequency& WithValue(int value) { SetValue(value); return *this;}
68 private:
69
71 bool m_unitHasBeenSet = false;
72
73 int m_value{0};
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CloudTrail
79} // 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