AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
GranularityConfiguration.h
1
6#pragma once
7#include <aws/sustainability/Sustainability_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Sustainability {
17namespace Model {
18
27 public:
28 AWS_SUSTAINABILITY_API GranularityConfiguration() = default;
29 AWS_SUSTAINABILITY_API GranularityConfiguration(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SUSTAINABILITY_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline int GetFiscalYearStartMonth() const { return m_fiscalYearStartMonth; }
40 inline bool FiscalYearStartMonthHasBeenSet() const { return m_fiscalYearStartMonthHasBeenSet; }
41 inline void SetFiscalYearStartMonth(int value) {
42 m_fiscalYearStartMonthHasBeenSet = true;
43 m_fiscalYearStartMonth = value;
44 }
47 return *this;
48 }
50 private:
51 int m_fiscalYearStartMonth{0};
52 bool m_fiscalYearStartMonthHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Sustainability
57} // namespace Aws
AWS_SUSTAINABILITY_API GranularityConfiguration()=default
AWS_SUSTAINABILITY_API GranularityConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SUSTAINABILITY_API Aws::Utils::Json::JsonValue Jsonize() const
GranularityConfiguration & WithFiscalYearStartMonth(int value)
AWS_SUSTAINABILITY_API GranularityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue