AWS SDK for C++  1.9.131
AWS SDK for C++
AssociateTrackerConsumerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LocationService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "AssociateTrackerConsumer"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
42  inline const Aws::String& GetConsumerArn() const{ return m_consumerArn; }
43 
51  inline bool ConsumerArnHasBeenSet() const { return m_consumerArnHasBeenSet; }
52 
60  inline void SetConsumerArn(const Aws::String& value) { m_consumerArnHasBeenSet = true; m_consumerArn = value; }
61 
69  inline void SetConsumerArn(Aws::String&& value) { m_consumerArnHasBeenSet = true; m_consumerArn = std::move(value); }
70 
78  inline void SetConsumerArn(const char* value) { m_consumerArnHasBeenSet = true; m_consumerArn.assign(value); }
79 
87  inline AssociateTrackerConsumerRequest& WithConsumerArn(const Aws::String& value) { SetConsumerArn(value); return *this;}
88 
96  inline AssociateTrackerConsumerRequest& WithConsumerArn(Aws::String&& value) { SetConsumerArn(std::move(value)); return *this;}
97 
105  inline AssociateTrackerConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;}
106 
107 
112  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
113 
118  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
119 
124  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
125 
130  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
131 
136  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
137 
142  inline AssociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
143 
148  inline AssociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
149 
154  inline AssociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
155 
156  private:
157 
158  Aws::String m_consumerArn;
159  bool m_consumerArnHasBeenSet;
160 
161  Aws::String m_trackerName;
162  bool m_trackerNameHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace LocationService
167 } // namespace Aws
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetConsumerArn
void SetConsumerArn(const Aws::String &value)
Definition: AssociateTrackerConsumerRequest.h:60
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetConsumerArn
void SetConsumerArn(Aws::String &&value)
Definition: AssociateTrackerConsumerRequest.h:69
Aws::LocationService::Model::AssociateTrackerConsumerRequest::AssociateTrackerConsumerRequest
AssociateTrackerConsumerRequest()
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithConsumerArn
AssociateTrackerConsumerRequest & WithConsumerArn(const Aws::String &value)
Definition: AssociateTrackerConsumerRequest.h:87
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::AssociateTrackerConsumerRequest::GetConsumerArn
const Aws::String & GetConsumerArn() const
Definition: AssociateTrackerConsumerRequest.h:42
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithConsumerArn
AssociateTrackerConsumerRequest & WithConsumerArn(Aws::String &&value)
Definition: AssociateTrackerConsumerRequest.h:96
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: AssociateTrackerConsumerRequest.h:124
Aws::LocationService::Model::AssociateTrackerConsumerRequest::ConsumerArnHasBeenSet
bool ConsumerArnHasBeenSet() const
Definition: AssociateTrackerConsumerRequest.h:51
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetConsumerArn
void SetConsumerArn(const char *value)
Definition: AssociateTrackerConsumerRequest.h:78
Aws::LocationService::Model::AssociateTrackerConsumerRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: AssociateTrackerConsumerRequest.h:112
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithTrackerName
AssociateTrackerConsumerRequest & WithTrackerName(Aws::String &&value)
Definition: AssociateTrackerConsumerRequest.h:148
AWSString.h
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: AssociateTrackerConsumerRequest.h:136
Aws::LocationService::Model::AssociateTrackerConsumerRequest
Definition: AssociateTrackerConsumerRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithTrackerName
AssociateTrackerConsumerRequest & WithTrackerName(const Aws::String &value)
Definition: AssociateTrackerConsumerRequest.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::AssociateTrackerConsumerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateTrackerConsumerRequest.h:30
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithConsumerArn
AssociateTrackerConsumerRequest & WithConsumerArn(const char *value)
Definition: AssociateTrackerConsumerRequest.h:105
Aws::LocationService::Model::AssociateTrackerConsumerRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: AssociateTrackerConsumerRequest.h:118
Aws::LocationService::Model::AssociateTrackerConsumerRequest::WithTrackerName
AssociateTrackerConsumerRequest & WithTrackerName(const char *value)
Definition: AssociateTrackerConsumerRequest.h:154
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::AssociateTrackerConsumerRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: AssociateTrackerConsumerRequest.h:130