AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
51 inline const AutocommitPeriodType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const AutocommitPeriodType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(AutocommitPeriodType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline AutocommitPeriod& WithType(const AutocommitPeriodType& value) { SetType(value); return *this;}
56 inline AutocommitPeriod& WithType(AutocommitPeriodType&& value) { SetType(std::move(value)); return *this;}
58
60
68 inline int GetValue() const{ return m_value; }
69 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
71 inline AutocommitPeriod& WithValue(int value) { SetValue(value); return *this;}
73 private:
74
76 bool m_typeHasBeenSet = false;
77
78 int m_value;
79 bool m_valueHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace FSx
84} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AutocommitPeriod & WithType(AutocommitPeriodType &&value)
AWS_FSX_API AutocommitPeriod(Aws::Utils::Json::JsonView jsonValue)
void SetType(const AutocommitPeriodType &value)
AWS_FSX_API AutocommitPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
AutocommitPeriod & WithValue(int value)
AutocommitPeriod & WithType(const AutocommitPeriodType &value)
const AutocommitPeriodType & GetType() const
void SetType(AutocommitPeriodType &&value)
Aws::Utils::Json::JsonValue JsonValue