AWS SDK for C++  1.9.44
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 AlexaForBusiness
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 "ListTags"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
45  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 
50  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 
55  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
56 
60  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
61 
65  inline ListTagsRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 
70  inline ListTagsRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 
75  inline ListTagsRequest& WithArn(const char* value) { SetArn(value); return *this;}
76 
77 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
92  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 
100  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
116  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 
124  inline ListTagsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
132  inline ListTagsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
140  inline ListTagsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142 
148  inline int GetMaxResults() const{ return m_maxResults; }
149 
155  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
156 
162  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
163 
169  inline ListTagsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
170 
171  private:
172 
173  Aws::String m_arn;
174  bool m_arnHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178 
179  int m_maxResults;
180  bool m_maxResultsHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace AlexaForBusiness
185 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ListTagsRequest::WithArn
ListTagsRequest & WithArn(const char *value)
Definition: ListTagsRequest.h:75
Aws::AlexaForBusiness::Model::ListTagsRequest::WithNextToken
ListTagsRequest & WithNextToken(const Aws::String &value)
Definition: ListTagsRequest.h:124
Aws::AlexaForBusiness::Model::ListTagsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTagsRequest.h:108
Aws::AlexaForBusiness::Model::ListTagsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTagsRequest.h:92
Aws::AlexaForBusiness::Model::ListTagsRequest::WithArn
ListTagsRequest & WithArn(const Aws::String &value)
Definition: ListTagsRequest.h:65
Aws::AlexaForBusiness::Model::ListTagsRequest::SetArn
void SetArn(const Aws::String &value)
Definition: ListTagsRequest.h:50
Aws::AlexaForBusiness::Model::ListTagsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTagsRequest.h:100
Aws::AlexaForBusiness::Model::ListTagsRequest::WithNextToken
ListTagsRequest & WithNextToken(Aws::String &&value)
Definition: ListTagsRequest.h:132
Aws::AlexaForBusiness::Model::ListTagsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTagsRequest.h:155
Aws::AlexaForBusiness::Model::ListTagsRequest::WithArn
ListTagsRequest & WithArn(Aws::String &&value)
Definition: ListTagsRequest.h:70
Aws::AlexaForBusiness::Model::ListTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsRequest.h:30
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ListTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::ListTagsRequest::GetArn
const Aws::String & GetArn() const
Definition: ListTagsRequest.h:40
Aws::AlexaForBusiness::Model::ListTagsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTagsRequest.h:148
Aws::AlexaForBusiness::Model::ListTagsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTagsRequest.h:84
AWSString.h
Aws::AlexaForBusiness::Model::ListTagsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTagsRequest.h:116
Aws::AlexaForBusiness::Model::ListTagsRequest::WithMaxResults
ListTagsRequest & WithMaxResults(int value)
Definition: ListTagsRequest.h:169
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ListTagsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTagsRequest.h:162
Aws::AlexaForBusiness::Model::ListTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ListTagsRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ListTagsRequest.h:45
Aws::AlexaForBusiness::Model::ListTagsRequest::SetArn
void SetArn(const char *value)
Definition: ListTagsRequest.h:60
Aws::AlexaForBusiness::Model::ListTagsRequest::WithNextToken
ListTagsRequest & WithNextToken(const char *value)
Definition: ListTagsRequest.h:140
Aws::AlexaForBusiness::Model::ListTagsRequest
Definition: ListTagsRequest.h:22
Aws::AlexaForBusiness::Model::ListTagsRequest::SetArn
void SetArn(Aws::String &&value)
Definition: ListTagsRequest.h:55
Aws::AlexaForBusiness::Model::ListTagsRequest::ListTagsRequest
ListTagsRequest()
AlexaForBusinessRequest.h