AWS SDK for C++  1.9.109
AWS SDK for C++
ListTagsForResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
48 
55  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
56 
63  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
64 
71  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
72 
79  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
80 
87  inline ListTagsForResourceRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
88 
95  inline ListTagsForResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
96 
103  inline ListTagsForResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
104 
105 
109  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
110 
114  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
115 
119  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
120 
124  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
125 
129  inline ListTagsForResourceRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
130 
134  inline ListTagsForResourceRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
135 
139  inline ListTagsForResourceRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
140 
144  inline ListTagsForResourceRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
145 
146  private:
147 
148  Aws::String m_resourceName;
149  bool m_resourceNameHasBeenSet;
150 
151  Aws::Vector<Filter> m_filters;
152  bool m_filtersHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace Neptune
157 } // namespace Aws
Aws::Neptune::Model::Filter
Definition: Filter.h:33
Aws::Neptune::Model::ListTagsForResourceRequest::AddFilters
ListTagsForResourceRequest & AddFilters(const Filter &value)
Definition: ListTagsForResourceRequest.h:139
Aws::Http::URI
Definition: URI.h:32
Aws::Neptune::Model::ListTagsForResourceRequest::WithResourceName
ListTagsForResourceRequest & WithResourceName(const char *value)
Definition: ListTagsForResourceRequest.h:103
Neptune_EXPORTS.h
Filter.h
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::ListTagsForResourceRequest::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: ListTagsForResourceRequest.h:55
Aws::Neptune::Model::ListTagsForResourceRequest::GetResourceName
const Aws::String & GetResourceName() const
Definition: ListTagsForResourceRequest.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Neptune::Model::ListTagsForResourceRequest::WithFilters
ListTagsForResourceRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListTagsForResourceRequest.h:129
Aws::Neptune::Model::ListTagsForResourceRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListTagsForResourceRequest.h:109
AWSVector.h
Aws::Neptune::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:32
Aws::Neptune::Model::ListTagsForResourceRequest::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:63
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
Aws::Neptune::Model::ListTagsForResourceRequest::WithResourceName
ListTagsForResourceRequest & WithResourceName(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:95
Aws::Neptune::Model::ListTagsForResourceRequest::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:71
Aws::Neptune::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:24
AWSString.h
Aws::Neptune::Model::ListTagsForResourceRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListTagsForResourceRequest.h:114
Aws::Neptune::Model::ListTagsForResourceRequest::AddFilters
ListTagsForResourceRequest & AddFilters(Filter &&value)
Definition: ListTagsForResourceRequest.h:144
Aws::Neptune::Model::ListTagsForResourceRequest::WithResourceName
ListTagsForResourceRequest & WithResourceName(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:87
NeptuneRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::ListTagsForResourceRequest::SetResourceName
void SetResourceName(const char *value)
Definition: ListTagsForResourceRequest.h:79
Aws::Neptune::Model::ListTagsForResourceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::ListTagsForResourceRequest::WithFilters
ListTagsForResourceRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListTagsForResourceRequest.h:134
Aws::Neptune::Model::ListTagsForResourceRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListTagsForResourceRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Neptune::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::Neptune::Model::ListTagsForResourceRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListTagsForResourceRequest.h:119