AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
43 inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
44 inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
45 inline UpdateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
46 inline UpdateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
47 inline UpdateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
86 inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; }
87 inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; }
88 inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = value; }
89 inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = std::move(value); }
91 inline UpdateTrackerRequest& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;}
93
95
101 inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; }
102 inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; }
103 inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; }
104 inline UpdateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;}
106
108
114 inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; }
115 inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; }
116 inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; }
119 private:
120
121 Aws::String m_trackerName;
122 bool m_trackerNameHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 PositionFiltering m_positionFiltering;
128 bool m_positionFilteringHasBeenSet = false;
129
130 bool m_eventBridgeEnabled;
131 bool m_eventBridgeEnabledHasBeenSet = false;
132
133 bool m_kmsKeyEnableGeospatialQueries;
134 bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace LocationService
139} // namespace Aws
void SetPositionFiltering(const PositionFiltering &value)
UpdateTrackerRequest & WithPositionFiltering(const PositionFiltering &value)
UpdateTrackerRequest & WithDescription(const char *value)
const PositionFiltering & GetPositionFiltering() const
UpdateTrackerRequest & WithTrackerName(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
UpdateTrackerRequest & WithDescription(Aws::String &&value)
UpdateTrackerRequest & WithKmsKeyEnableGeospatialQueries(bool value)
UpdateTrackerRequest & WithTrackerName(const char *value)
UpdateTrackerRequest & WithPositionFiltering(PositionFiltering &&value)
virtual const char * GetServiceRequestName() const override
UpdateTrackerRequest & WithTrackerName(Aws::String &&value)
UpdateTrackerRequest & WithDescription(const Aws::String &value)
UpdateTrackerRequest & WithEventBridgeEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String