AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ListTrackersResponseEntry.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 LocationService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOCATIONSERVICE_API ListTrackersResponseEntry() = default;
36 AWS_LOCATIONSERVICE_API ListTrackersResponseEntry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
46 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
47 template<typename TrackerNameT = Aws::String>
48 void SetTrackerName(TrackerNameT&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::forward<TrackerNameT>(value); }
49 template<typename TrackerNameT = Aws::String>
50 ListTrackersResponseEntry& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 ListTrackersResponseEntry& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
71 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
72 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
73 template<typename CreateTimeT = Aws::Utils::DateTime>
74 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
75 template<typename CreateTimeT = Aws::Utils::DateTime>
76 ListTrackersResponseEntry& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
78
80
85 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
86 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
87 template<typename UpdateTimeT = Aws::Utils::DateTime>
88 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
89 template<typename UpdateTimeT = Aws::Utils::DateTime>
90 ListTrackersResponseEntry& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
92 private:
93
94 Aws::String m_trackerName;
95 bool m_trackerNameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::Utils::DateTime m_createTime{};
101 bool m_createTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_updateTime{};
104 bool m_updateTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LocationService
109} // namespace Aws
ListTrackersResponseEntry & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
bool UpdateTimeHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetCreateTime(CreateTimeT &&value)
ListTrackersResponseEntry & WithUpdateTime(UpdateTimeT &&value)
ListTrackersResponseEntry & WithDescription(DescriptionT &&value)
AWS_LOCATIONSERVICE_API ListTrackersResponseEntry(Aws::Utils::Json::JsonView jsonValue)
bool TrackerNameHasBeenSet() const
AWS_LOCATIONSERVICE_API ListTrackersResponseEntry()=default
bool CreateTimeHasBeenSet() const
const Aws::String & GetTrackerName() const
void SetUpdateTime(UpdateTimeT &&value)
void SetTrackerName(TrackerNameT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
AWS_LOCATIONSERVICE_API ListTrackersResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
ListTrackersResponseEntry & WithTrackerName(TrackerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue