AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TieringPolicy.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/TieringPolicyName.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
43 {
44 public:
45 AWS_FSX_API TieringPolicy();
49
50
52
59 inline int GetCoolingPeriod() const{ return m_coolingPeriod; }
60 inline bool CoolingPeriodHasBeenSet() const { return m_coolingPeriodHasBeenSet; }
61 inline void SetCoolingPeriod(int value) { m_coolingPeriodHasBeenSet = true; m_coolingPeriod = value; }
62 inline TieringPolicy& WithCoolingPeriod(int value) { SetCoolingPeriod(value); return *this;}
64
66
77 inline const TieringPolicyName& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const TieringPolicyName& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(TieringPolicyName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline TieringPolicy& WithName(const TieringPolicyName& value) { SetName(value); return *this;}
82 inline TieringPolicy& WithName(TieringPolicyName&& value) { SetName(std::move(value)); return *this;}
84 private:
85
86 int m_coolingPeriod;
87 bool m_coolingPeriodHasBeenSet = false;
88
89 TieringPolicyName m_name;
90 bool m_nameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FSx
95} // namespace Aws
AWS_FSX_API TieringPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
TieringPolicy & WithCoolingPeriod(int value)
const TieringPolicyName & GetName() const
TieringPolicy & WithName(const TieringPolicyName &value)
void SetName(TieringPolicyName &&value)
AWS_FSX_API TieringPolicy(Aws::Utils::Json::JsonView jsonValue)
TieringPolicy & WithName(TieringPolicyName &&value)
void SetName(const TieringPolicyName &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue