AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResultReuseByAgeConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Athena
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetEnabled() const{ return m_enabled; }
45 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
46 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
47 inline ResultReuseByAgeConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
49
51
55 inline int GetMaxAgeInMinutes() const{ return m_maxAgeInMinutes; }
56 inline bool MaxAgeInMinutesHasBeenSet() const { return m_maxAgeInMinutesHasBeenSet; }
57 inline void SetMaxAgeInMinutes(int value) { m_maxAgeInMinutesHasBeenSet = true; m_maxAgeInMinutes = value; }
58 inline ResultReuseByAgeConfiguration& WithMaxAgeInMinutes(int value) { SetMaxAgeInMinutes(value); return *this;}
60 private:
61
62 bool m_enabled;
63 bool m_enabledHasBeenSet = false;
64
65 int m_maxAgeInMinutes;
66 bool m_maxAgeInMinutesHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Athena
71} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API ResultReuseByAgeConfiguration(Aws::Utils::Json::JsonView jsonValue)
ResultReuseByAgeConfiguration & WithMaxAgeInMinutes(int value)
ResultReuseByAgeConfiguration & WithEnabled(bool value)
AWS_ATHENA_API ResultReuseByAgeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue