AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ApplicationDiscoveryService
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 "DescribeTags"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
45  inline const Aws::Vector<TagFilter>& GetFilters() const{ return m_filters; }
46 
53  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
54 
61  inline void SetFilters(const Aws::Vector<TagFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
62 
69  inline void SetFilters(Aws::Vector<TagFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
70 
77  inline DescribeTagsRequest& WithFilters(const Aws::Vector<TagFilter>& value) { SetFilters(value); return *this;}
78 
85  inline DescribeTagsRequest& WithFilters(Aws::Vector<TagFilter>&& value) { SetFilters(std::move(value)); return *this;}
86 
93  inline DescribeTagsRequest& AddFilters(const TagFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
94 
101  inline DescribeTagsRequest& AddFilters(TagFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
102 
103 
108  inline int GetMaxResults() const{ return m_maxResults; }
109 
114  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 
120  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
121 
126  inline DescribeTagsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127 
128 
132  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
133 
137  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
138 
142  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
143 
147  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
148 
152  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
153 
157  inline DescribeTagsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 
162  inline DescribeTagsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 
167  inline DescribeTagsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
168 
169  private:
170 
171  Aws::Vector<TagFilter> m_filters;
172  bool m_filtersHasBeenSet;
173 
174  int m_maxResults;
175  bool m_maxResultsHasBeenSet;
176 
177  Aws::String m_nextToken;
178  bool m_nextTokenHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace ApplicationDiscoveryService
183 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetFilters
void SetFilters(Aws::Vector< TagFilter > &&value)
Definition: DescribeTagsRequest.h:69
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeTagsRequest.h:120
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeTagsRequest.h:152
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::GetFilters
const Aws::Vector< TagFilter > & GetFilters() const
Definition: DescribeTagsRequest.h:45
ApplicationDiscoveryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::AddFilters
DescribeTagsRequest & AddFilters(TagFilter &&value)
Definition: DescribeTagsRequest.h:101
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeTagsRequest.h:137
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithFilters
DescribeTagsRequest & WithFilters(Aws::Vector< TagFilter > &&value)
Definition: DescribeTagsRequest.h:85
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeTagsRequest.h:114
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeTagsRequest.h:147
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithMaxResults
DescribeTagsRequest & WithMaxResults(int value)
Definition: DescribeTagsRequest.h:126
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::DescribeTagsRequest
DescribeTagsRequest()
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest
Definition: DescribeTagsRequest.h:24
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TagFilter.h
AWSString.h
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTagsRequest.h:32
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithNextToken
DescribeTagsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeTagsRequest.h:162
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetFilters
void SetFilters(const Aws::Vector< TagFilter > &value)
Definition: DescribeTagsRequest.h:61
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithNextToken
DescribeTagsRequest & WithNextToken(const char *value)
Definition: DescribeTagsRequest.h:167
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::TagFilter
Definition: TagFilter.h:34
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithFilters
DescribeTagsRequest & WithFilters(const Aws::Vector< TagFilter > &value)
Definition: DescribeTagsRequest.h:77
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::AddFilters
DescribeTagsRequest & AddFilters(const TagFilter &value)
Definition: DescribeTagsRequest.h:93
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeTagsRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeTagsRequest.h:132
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeTagsRequest.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeTagsRequest.h:142
Aws::ApplicationDiscoveryService::Model::DescribeTagsRequest::WithNextToken
DescribeTagsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeTagsRequest.h:157
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28