AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportFrequency.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/ReportFrequencyType.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 LicenseManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LICENSEMANAGER_API ReportFrequency();
36 AWS_LICENSEMANAGER_API ReportFrequency(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGER_API ReportFrequency& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetValue() const{ return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
49 inline ReportFrequency& WithValue(int value) { SetValue(value); return *this;}
51
53
57 inline const ReportFrequencyType& GetPeriod() const{ return m_period; }
58 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
59 inline void SetPeriod(const ReportFrequencyType& value) { m_periodHasBeenSet = true; m_period = value; }
60 inline void SetPeriod(ReportFrequencyType&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
61 inline ReportFrequency& WithPeriod(const ReportFrequencyType& value) { SetPeriod(value); return *this;}
62 inline ReportFrequency& WithPeriod(ReportFrequencyType&& value) { SetPeriod(std::move(value)); return *this;}
64 private:
65
66 int m_value;
67 bool m_valueHasBeenSet = false;
68
69 ReportFrequencyType m_period;
70 bool m_periodHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LicenseManager
75} // namespace Aws
AWS_LICENSEMANAGER_API ReportFrequency()
void SetPeriod(const ReportFrequencyType &value)
const ReportFrequencyType & GetPeriod() const
ReportFrequency & WithPeriod(ReportFrequencyType &&value)
AWS_LICENSEMANAGER_API ReportFrequency(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API ReportFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportFrequency & WithPeriod(const ReportFrequencyType &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPeriod(ReportFrequencyType &&value)
Aws::Utils::Json::JsonValue JsonValue