AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateTrackerRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/PositionFiltering.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API UpdateTrackerRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateTracker"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTrackerName() const { return m_trackerName; }
41 inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
42 template<typename TrackerNameT = Aws::String>
43 void SetTrackerName(TrackerNameT&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::forward<TrackerNameT>(value); }
44 template<typename TrackerNameT = Aws::String>
45 UpdateTrackerRequest& WithTrackerName(TrackerNameT&& value) { SetTrackerName(std::forward<TrackerNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 UpdateTrackerRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
82 inline PositionFiltering GetPositionFiltering() const { return m_positionFiltering; }
83 inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; }
84 inline void SetPositionFiltering(PositionFiltering value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = value; }
87
89
95 inline bool GetEventBridgeEnabled() const { return m_eventBridgeEnabled; }
96 inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; }
97 inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; }
98 inline UpdateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;}
100
102
108 inline bool GetKmsKeyEnableGeospatialQueries() const { return m_kmsKeyEnableGeospatialQueries; }
109 inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; }
110 inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; }
113 private:
114
115 Aws::String m_trackerName;
116 bool m_trackerNameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
122 bool m_positionFilteringHasBeenSet = false;
123
124 bool m_eventBridgeEnabled{false};
125 bool m_eventBridgeEnabledHasBeenSet = false;
126
127 bool m_kmsKeyEnableGeospatialQueries{false};
128 bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace LocationService
133} // 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