AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AutocommitPeriod.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/AutocommitPeriodType.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 FSx
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_FSX_API AutocommitPeriod() = default;
43
44
46
51 inline AutocommitPeriodType GetType() const { return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(AutocommitPeriodType value) { m_typeHasBeenSet = true; m_type = value; }
54 inline AutocommitPeriod& WithType(AutocommitPeriodType value) { SetType(value); return *this;}
56
58
66 inline int GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
69 inline AutocommitPeriod& WithValue(int value) { SetValue(value); return *this;}
71 private:
72
74 bool m_typeHasBeenSet = false;
75
76 int m_value{0};
77 bool m_valueHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FSx
82} // namespace Aws
AutocommitPeriod & WithType(AutocommitPeriodType value)
void SetType(AutocommitPeriodType value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AutocommitPeriodType GetType() const
AWS_FSX_API AutocommitPeriod(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API AutocommitPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
AutocommitPeriod & WithValue(int value)
AWS_FSX_API AutocommitPeriod()=default
Aws::Utils::Json::JsonValue JsonValue