AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssociateTrackerConsumerRequest.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
11#include <utility>
12
13namespace Aws {
14namespace LocationService {
15namespace Model {
16
20 public:
21 AWS_LOCATIONSERVICE_API AssociateTrackerConsumerRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AssociateTrackerConsumer"; }
28
29 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
30
32
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>
45 SetTrackerName(std::forward<TrackerNameT>(value));
46 return *this;
47 }
49
51
58 inline const Aws::String& GetConsumerArn() const { return m_consumerArn; }
59 inline bool ConsumerArnHasBeenSet() const { return m_consumerArnHasBeenSet; }
60 template <typename ConsumerArnT = Aws::String>
61 void SetConsumerArn(ConsumerArnT&& value) {
62 m_consumerArnHasBeenSet = true;
63 m_consumerArn = std::forward<ConsumerArnT>(value);
64 }
65 template <typename ConsumerArnT = Aws::String>
67 SetConsumerArn(std::forward<ConsumerArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_trackerName;
73
74 Aws::String m_consumerArn;
75 bool m_trackerNameHasBeenSet = false;
76 bool m_consumerArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LocationService
81} // namespace Aws
AWS_LOCATIONSERVICE_API AssociateTrackerConsumerRequest()=default
AssociateTrackerConsumerRequest & WithConsumerArn(ConsumerArnT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
AssociateTrackerConsumerRequest & WithTrackerName(TrackerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String