AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntervalDetails.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/IntervalPeriod.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API IntervalDetails();
37 AWS_CONNECT_API IntervalDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
47 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
48 inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
49 inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
50 inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
51 inline IntervalDetails& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
52 inline IntervalDetails& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
53 inline IntervalDetails& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
55
57
82 inline const IntervalPeriod& GetIntervalPeriod() const{ return m_intervalPeriod; }
83 inline bool IntervalPeriodHasBeenSet() const { return m_intervalPeriodHasBeenSet; }
84 inline void SetIntervalPeriod(const IntervalPeriod& value) { m_intervalPeriodHasBeenSet = true; m_intervalPeriod = value; }
85 inline void SetIntervalPeriod(IntervalPeriod&& value) { m_intervalPeriodHasBeenSet = true; m_intervalPeriod = std::move(value); }
86 inline IntervalDetails& WithIntervalPeriod(const IntervalPeriod& value) { SetIntervalPeriod(value); return *this;}
87 inline IntervalDetails& WithIntervalPeriod(IntervalPeriod&& value) { SetIntervalPeriod(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_timeZone;
92 bool m_timeZoneHasBeenSet = false;
93
94 IntervalPeriod m_intervalPeriod;
95 bool m_intervalPeriodHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
IntervalDetails & WithTimeZone(Aws::String &&value)
void SetIntervalPeriod(IntervalPeriod &&value)
AWS_CONNECT_API IntervalDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
IntervalDetails & WithTimeZone(const char *value)
void SetTimeZone(const Aws::String &value)
IntervalDetails & WithIntervalPeriod(IntervalPeriod &&value)
void SetIntervalPeriod(const IntervalPeriod &value)
IntervalDetails & WithTimeZone(const Aws::String &value)
const IntervalPeriod & GetIntervalPeriod() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeZone(Aws::String &&value)
IntervalDetails & WithIntervalPeriod(const IntervalPeriod &value)
void SetTimeZone(const char *value)
const Aws::String & GetTimeZone() const
AWS_CONNECT_API IntervalDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue