AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Time.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Inspector2
22{
23namespace Model
24{
25
31 class Time
32 {
33 public:
34 AWS_INSPECTOR2_API Time();
35 AWS_INSPECTOR2_API Time(Aws::Utils::Json::JsonView jsonValue);
36 AWS_INSPECTOR2_API Time& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTimeOfDay() const{ return m_timeOfDay; }
45 inline bool TimeOfDayHasBeenSet() const { return m_timeOfDayHasBeenSet; }
46 inline void SetTimeOfDay(const Aws::String& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = value; }
47 inline void SetTimeOfDay(Aws::String&& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = std::move(value); }
48 inline void SetTimeOfDay(const char* value) { m_timeOfDayHasBeenSet = true; m_timeOfDay.assign(value); }
49 inline Time& WithTimeOfDay(const Aws::String& value) { SetTimeOfDay(value); return *this;}
50 inline Time& WithTimeOfDay(Aws::String&& value) { SetTimeOfDay(std::move(value)); return *this;}
51 inline Time& WithTimeOfDay(const char* value) { SetTimeOfDay(value); return *this;}
53
55
58 inline const Aws::String& GetTimezone() const{ return m_timezone; }
59 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
60 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
61 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
62 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
63 inline Time& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
64 inline Time& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
65 inline Time& WithTimezone(const char* value) { SetTimezone(value); return *this;}
67 private:
68
69 Aws::String m_timeOfDay;
70 bool m_timeOfDayHasBeenSet = false;
71
72 Aws::String m_timezone;
73 bool m_timezoneHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Inspector2
78} // namespace Aws
AWS_INSPECTOR2_API Time()
bool TimezoneHasBeenSet() const
Definition Time.h:59
Time & WithTimeOfDay(const Aws::String &value)
Definition Time.h:49
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Time & WithTimezone(const char *value)
Definition Time.h:65
Time & WithTimezone(const Aws::String &value)
Definition Time.h:63
const Aws::String & GetTimezone() const
Definition Time.h:58
void SetTimezone(const Aws::String &value)
Definition Time.h:60
bool TimeOfDayHasBeenSet() const
Definition Time.h:45
AWS_INSPECTOR2_API Time & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimeOfDay(const char *value)
Definition Time.h:48
void SetTimeOfDay(const Aws::String &value)
Definition Time.h:46
const Aws::String & GetTimeOfDay() const
Definition Time.h:44
Time & WithTimeOfDay(const char *value)
Definition Time.h:51
void SetTimezone(Aws::String &&value)
Definition Time.h:61
Time & WithTimeOfDay(Aws::String &&value)
Definition Time.h:50
Time & WithTimezone(Aws::String &&value)
Definition Time.h:64
void SetTimezone(const char *value)
Definition Time.h:62
void SetTimeOfDay(Aws::String &&value)
Definition Time.h:47
AWS_INSPECTOR2_API Time(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue