AWS SDK for C++  1.9.104
AWS SDK for C++
ListTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticsearchService
19 {
20 namespace Model
21 {
22 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "ListTags"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
50  inline const Aws::String& GetARN() const{ return m_aRN; }
51 
56  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
57 
62  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
63 
68  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
69 
74  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
75 
80  inline ListTagsRequest& WithARN(const Aws::String& value) { SetARN(value); return *this;}
81 
86  inline ListTagsRequest& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
87 
92  inline ListTagsRequest& WithARN(const char* value) { SetARN(value); return *this;}
93 
94  private:
95 
96  Aws::String m_aRN;
97  bool m_aRNHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace ElasticsearchService
102 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::ListTagsRequest::GetARN
const Aws::String & GetARN() const
Definition: ListTagsRequest.h:50
Aws::ElasticsearchService::Model::ListTagsRequest::WithARN
ListTagsRequest & WithARN(Aws::String &&value)
Definition: ListTagsRequest.h:86
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ListTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsRequest.h:39
AWSString.h
Aws::ElasticsearchService::Model::ListTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::ListTagsRequest::SetARN
void SetARN(Aws::String &&value)
Definition: ListTagsRequest.h:68
Aws::ElasticsearchService::Model::ListTagsRequest::SetARN
void SetARN(const char *value)
Definition: ListTagsRequest.h:74
Aws::ElasticsearchService::Model::ListTagsRequest::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: ListTagsRequest.h:56
Aws::ElasticsearchService::Model::ListTagsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ListTagsRequest::WithARN
ListTagsRequest & WithARN(const Aws::String &value)
Definition: ListTagsRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ListTagsRequest
Definition: ListTagsRequest.h:31
Aws::ElasticsearchService::Model::ListTagsRequest::WithARN
ListTagsRequest & WithARN(const char *value)
Definition: ListTagsRequest.h:92
Aws::ElasticsearchService::Model::ListTagsRequest::ListTagsRequest
ListTagsRequest()
Aws::ElasticsearchService::Model::ListTagsRequest::SetARN
void SetARN(const Aws::String &value)
Definition: ListTagsRequest.h:62