AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoAdjustData.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/AutoAdjustType.h>
9#include <aws/budgets/model/HistoricalOptions.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Budgets
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BUDGETS_API AutoAdjustData();
38 AWS_BUDGETS_API AutoAdjustData(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AutoAdjustType& GetAutoAdjustType() const{ return m_autoAdjustType; }
49 inline bool AutoAdjustTypeHasBeenSet() const { return m_autoAdjustTypeHasBeenSet; }
50 inline void SetAutoAdjustType(const AutoAdjustType& value) { m_autoAdjustTypeHasBeenSet = true; m_autoAdjustType = value; }
51 inline void SetAutoAdjustType(AutoAdjustType&& value) { m_autoAdjustTypeHasBeenSet = true; m_autoAdjustType = std::move(value); }
52 inline AutoAdjustData& WithAutoAdjustType(const AutoAdjustType& value) { SetAutoAdjustType(value); return *this;}
53 inline AutoAdjustData& WithAutoAdjustType(AutoAdjustType&& value) { SetAutoAdjustType(std::move(value)); return *this;}
55
57
61 inline const HistoricalOptions& GetHistoricalOptions() const{ return m_historicalOptions; }
62 inline bool HistoricalOptionsHasBeenSet() const { return m_historicalOptionsHasBeenSet; }
63 inline void SetHistoricalOptions(const HistoricalOptions& value) { m_historicalOptionsHasBeenSet = true; m_historicalOptions = value; }
64 inline void SetHistoricalOptions(HistoricalOptions&& value) { m_historicalOptionsHasBeenSet = true; m_historicalOptions = std::move(value); }
65 inline AutoAdjustData& WithHistoricalOptions(const HistoricalOptions& value) { SetHistoricalOptions(value); return *this;}
66 inline AutoAdjustData& WithHistoricalOptions(HistoricalOptions&& value) { SetHistoricalOptions(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastAutoAdjustTime() const{ return m_lastAutoAdjustTime; }
74 inline bool LastAutoAdjustTimeHasBeenSet() const { return m_lastAutoAdjustTimeHasBeenSet; }
75 inline void SetLastAutoAdjustTime(const Aws::Utils::DateTime& value) { m_lastAutoAdjustTimeHasBeenSet = true; m_lastAutoAdjustTime = value; }
76 inline void SetLastAutoAdjustTime(Aws::Utils::DateTime&& value) { m_lastAutoAdjustTimeHasBeenSet = true; m_lastAutoAdjustTime = std::move(value); }
78 inline AutoAdjustData& WithLastAutoAdjustTime(Aws::Utils::DateTime&& value) { SetLastAutoAdjustTime(std::move(value)); return *this;}
80 private:
81
82 AutoAdjustType m_autoAdjustType;
83 bool m_autoAdjustTypeHasBeenSet = false;
84
85 HistoricalOptions m_historicalOptions;
86 bool m_historicalOptionsHasBeenSet = false;
87
88 Aws::Utils::DateTime m_lastAutoAdjustTime;
89 bool m_lastAutoAdjustTimeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Budgets
94} // namespace Aws
AutoAdjustData & WithAutoAdjustType(const AutoAdjustType &value)
const Aws::Utils::DateTime & GetLastAutoAdjustTime() const
const HistoricalOptions & GetHistoricalOptions() const
void SetLastAutoAdjustTime(Aws::Utils::DateTime &&value)
AutoAdjustData & WithAutoAdjustType(AutoAdjustType &&value)
void SetLastAutoAdjustTime(const Aws::Utils::DateTime &value)
void SetHistoricalOptions(const HistoricalOptions &value)
void SetAutoAdjustType(AutoAdjustType &&value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
AutoAdjustData & WithLastAutoAdjustTime(Aws::Utils::DateTime &&value)
void SetAutoAdjustType(const AutoAdjustType &value)
AutoAdjustData & WithLastAutoAdjustTime(const Aws::Utils::DateTime &value)
AutoAdjustData & WithHistoricalOptions(const HistoricalOptions &value)
AWS_BUDGETS_API AutoAdjustData(Aws::Utils::Json::JsonView jsonValue)
void SetHistoricalOptions(HistoricalOptions &&value)
AutoAdjustData & WithHistoricalOptions(HistoricalOptions &&value)
AWS_BUDGETS_API AutoAdjustData & operator=(Aws::Utils::Json::JsonView jsonValue)
const AutoAdjustType & GetAutoAdjustType() const
Aws::Utils::Json::JsonValue JsonValue