AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchContactsTimeRange.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SearchContactsTimeRangeType.h>
9#include <aws/core/utils/DateTime.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 SearchContactsTimeRange();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SearchContactsTimeRangeType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const SearchContactsTimeRangeType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(SearchContactsTimeRangeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline SearchContactsTimeRange& WithType(const SearchContactsTimeRangeType& value) { SetType(value); return *this;}
51 inline SearchContactsTimeRange& WithType(SearchContactsTimeRangeType&& value) { SetType(std::move(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
59 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
60 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
61 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
62 inline SearchContactsTimeRange& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
63 inline SearchContactsTimeRange& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
74 inline SearchContactsTimeRange& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
75 inline SearchContactsTimeRange& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
77 private:
78
80 bool m_typeHasBeenSet = false;
81
82 Aws::Utils::DateTime m_startTime;
83 bool m_startTimeHasBeenSet = false;
84
85 Aws::Utils::DateTime m_endTime;
86 bool m_endTimeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
const SearchContactsTimeRangeType & GetType() const
SearchContactsTimeRange & WithEndTime(Aws::Utils::DateTime &&value)
SearchContactsTimeRange & WithType(SearchContactsTimeRangeType &&value)
SearchContactsTimeRange & WithType(const SearchContactsTimeRangeType &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_CONNECT_API SearchContactsTimeRange(Aws::Utils::Json::JsonView jsonValue)
SearchContactsTimeRange & WithEndTime(const Aws::Utils::DateTime &value)
void SetType(const SearchContactsTimeRangeType &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
SearchContactsTimeRange & WithStartTime(const Aws::Utils::DateTime &value)
SearchContactsTimeRange & WithStartTime(Aws::Utils::DateTime &&value)
void SetType(SearchContactsTimeRangeType &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_CONNECT_API SearchContactsTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue