AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Month.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/model/MonthName.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace odb {
20namespace Model {
21
28class Month {
29 public:
30 AWS_ODB_API Month() = default;
31 AWS_ODB_API Month(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline MonthName GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 inline void SetName(MonthName value) {
42 m_nameHasBeenSet = true;
43 m_name = value;
44 }
45 inline Month& WithName(MonthName value) {
46 SetName(value);
47 return *this;
48 }
50 private:
52 bool m_nameHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace odb
57} // namespace Aws
AWS_ODB_API Month & operator=(Aws::Utils::Json::JsonView jsonValue)
Month & WithName(MonthName value)
Definition Month.h:45
MonthName GetName() const
Definition Month.h:39
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API Month(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Month()=default
bool NameHasBeenSet() const
Definition Month.h:40
void SetName(MonthName value)
Definition Month.h:41
Aws::Utils::Json::JsonValue JsonValue