AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateTrackerRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/PositionFiltering.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API UpdateTrackerRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateTracker"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
37 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
38 template <typename TrackerNameT = Aws::String>
39 void SetTrackerName(TrackerNameT&& value) {
40 m_trackerNameHasBeenSet = true;
41 m_trackerName = std::forward<TrackerNameT>(value);
42 }
43 template <typename TrackerNameT = Aws::String>
44 UpdateTrackerRequest& WithTrackerName(TrackerNameT&& value) {
45 SetTrackerName(std::forward<TrackerNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
62 UpdateTrackerRequest& WithDescription(DescriptionT&& value) {
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
90 inline PositionFiltering GetPositionFiltering() const { return m_positionFiltering; }
91 inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; }
93 m_positionFilteringHasBeenSet = true;
94 m_positionFiltering = value;
95 }
98 return *this;
99 }
101
103
109 inline bool GetEventBridgeEnabled() const { return m_eventBridgeEnabled; }
110 inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; }
111 inline void SetEventBridgeEnabled(bool value) {
112 m_eventBridgeEnabledHasBeenSet = true;
113 m_eventBridgeEnabled = value;
114 }
117 return *this;
118 }
120
122
128 inline bool GetKmsKeyEnableGeospatialQueries() const { return m_kmsKeyEnableGeospatialQueries; }
129 inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; }
130 inline void SetKmsKeyEnableGeospatialQueries(bool value) {
131 m_kmsKeyEnableGeospatialQueriesHasBeenSet = true;
132 m_kmsKeyEnableGeospatialQueries = value;
133 }
136 return *this;
137 }
139 private:
140 Aws::String m_trackerName;
141
142 Aws::String m_description;
143
145
146 bool m_eventBridgeEnabled{false};
147
148 bool m_kmsKeyEnableGeospatialQueries{false};
149 bool m_trackerNameHasBeenSet = false;
150 bool m_descriptionHasBeenSet = false;
151 bool m_positionFilteringHasBeenSet = false;
152 bool m_eventBridgeEnabledHasBeenSet = false;
153 bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace LocationService
158} // namespace Aws
UpdateTrackerRequest & WithTrackerName(TrackerNameT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
UpdateTrackerRequest & WithKmsKeyEnableGeospatialQueries(bool value)
UpdateTrackerRequest & WithPositionFiltering(PositionFiltering value)
UpdateTrackerRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_LOCATIONSERVICE_API UpdateTrackerRequest()=default
UpdateTrackerRequest & WithEventBridgeEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String