AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 odb
22{
23namespace Model
24{
25
32 class Month
33 {
34 public:
35 AWS_ODB_API Month() = default;
36 AWS_ODB_API Month(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline MonthName GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(MonthName value) { m_nameHasBeenSet = true; m_name = value; }
48 inline Month& WithName(MonthName value) { SetName(value); return *this;}
50 private:
51
53 bool m_nameHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace odb
58} // namespace Aws
AWS_ODB_API Month & operator=(Aws::Utils::Json::JsonView jsonValue)
Month & WithName(MonthName value)
Definition Month.h:48
MonthName GetName() const
Definition Month.h:45
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:46
void SetName(MonthName value)
Definition Month.h:47
Aws::Utils::Json::JsonValue JsonValue