AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VersioningConfiguration.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTAnalytics
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_IOTANALYTICS_API VersioningConfiguration();
34 AWS_IOTANALYTICS_API VersioningConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetUnlimited() const{ return m_unlimited; }
44 inline bool UnlimitedHasBeenSet() const { return m_unlimitedHasBeenSet; }
45 inline void SetUnlimited(bool value) { m_unlimitedHasBeenSet = true; m_unlimited = value; }
46 inline VersioningConfiguration& WithUnlimited(bool value) { SetUnlimited(value); return *this;}
48
50
54 inline int GetMaxVersions() const{ return m_maxVersions; }
55 inline bool MaxVersionsHasBeenSet() const { return m_maxVersionsHasBeenSet; }
56 inline void SetMaxVersions(int value) { m_maxVersionsHasBeenSet = true; m_maxVersions = value; }
57 inline VersioningConfiguration& WithMaxVersions(int value) { SetMaxVersions(value); return *this;}
59 private:
60
61 bool m_unlimited;
62 bool m_unlimitedHasBeenSet = false;
63
64 int m_maxVersions;
65 bool m_maxVersionsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoTAnalytics
70} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
VersioningConfiguration & WithUnlimited(bool value)
AWS_IOTANALYTICS_API VersioningConfiguration(Aws::Utils::Json::JsonView jsonValue)
VersioningConfiguration & WithMaxVersions(int value)
AWS_IOTANALYTICS_API VersioningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue