AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FSx {
20namespace Model {
21
33 public:
34 AWS_FSX_API AutocommitPeriod() = default;
38
40
45 inline AutocommitPeriodType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(AutocommitPeriodType value) {
48 m_typeHasBeenSet = true;
49 m_type = value;
50 }
52 SetType(value);
53 return *this;
54 }
56
58
66 inline int GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 inline void SetValue(int value) {
69 m_valueHasBeenSet = true;
70 m_value = value;
71 }
72 inline AutocommitPeriod& WithValue(int value) {
73 SetValue(value);
74 return *this;
75 }
77 private:
79
80 int m_value{0};
81 bool m_typeHasBeenSet = false;
82 bool m_valueHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace FSx
87} // 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