AWS SDK for C++  1.9.40
AWS SDK for C++
ListResourcesForTagOptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServiceCatalog
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 "ListResourcesForTagOption"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetTagOptionId() const{ return m_tagOptionId; }
41 
45  inline bool TagOptionIdHasBeenSet() const { return m_tagOptionIdHasBeenSet; }
46 
50  inline void SetTagOptionId(const Aws::String& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = value; }
51 
55  inline void SetTagOptionId(Aws::String&& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = std::move(value); }
56 
60  inline void SetTagOptionId(const char* value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId.assign(value); }
61 
65  inline ListResourcesForTagOptionRequest& WithTagOptionId(const Aws::String& value) { SetTagOptionId(value); return *this;}
66 
70  inline ListResourcesForTagOptionRequest& WithTagOptionId(Aws::String&& value) { SetTagOptionId(std::move(value)); return *this;}
71 
75  inline ListResourcesForTagOptionRequest& WithTagOptionId(const char* value) { SetTagOptionId(value); return *this;}
76 
77 
82  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
83 
88  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
89 
94  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
95 
100  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
101 
106  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
107 
112  inline ListResourcesForTagOptionRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
113 
118  inline ListResourcesForTagOptionRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
119 
124  inline ListResourcesForTagOptionRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
125 
126 
130  inline int GetPageSize() const{ return m_pageSize; }
131 
135  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
136 
140  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
141 
145  inline ListResourcesForTagOptionRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
146 
147 
152  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
153 
158  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
159 
164  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
165 
170  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
171 
176  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
177 
182  inline ListResourcesForTagOptionRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
183 
188  inline ListResourcesForTagOptionRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
189 
194  inline ListResourcesForTagOptionRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
195 
196  private:
197 
198  Aws::String m_tagOptionId;
199  bool m_tagOptionIdHasBeenSet;
200 
201  Aws::String m_resourceType;
202  bool m_resourceTypeHasBeenSet;
203 
204  int m_pageSize;
205  bool m_pageSizeHasBeenSet;
206 
207  Aws::String m_pageToken;
208  bool m_pageTokenHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace ServiceCatalog
213 } // namespace Aws
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithPageToken
ListResourcesForTagOptionRequest & WithPageToken(const char *value)
Definition: ListResourcesForTagOptionRequest.h:194
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::TagOptionIdHasBeenSet
bool TagOptionIdHasBeenSet() const
Definition: ListResourcesForTagOptionRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithResourceType
ListResourcesForTagOptionRequest & WithResourceType(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:112
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithResourceType
ListResourcesForTagOptionRequest & WithResourceType(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:118
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResourcesForTagOptionRequest.h:30
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetResourceType
const Aws::String & GetResourceType() const
Definition: ListResourcesForTagOptionRequest.h:82
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:94
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithPageToken
ListResourcesForTagOptionRequest & WithPageToken(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:188
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetTagOptionId
void SetTagOptionId(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:55
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetPageSize
void SetPageSize(int value)
Definition: ListResourcesForTagOptionRequest.h:140
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListResourcesForTagOptionRequest.h:135
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetTagOptionId
void SetTagOptionId(const char *value)
Definition: ListResourcesForTagOptionRequest.h:60
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetPageSize
int GetPageSize() const
Definition: ListResourcesForTagOptionRequest.h:130
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListResourcesForTagOptionRequest.h:152
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:164
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithTagOptionId
ListResourcesForTagOptionRequest & WithTagOptionId(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:70
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListResourcesForTagOptionRequest.h:158
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:170
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest
Definition: ListResourcesForTagOptionRequest.h:22
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithTagOptionId
ListResourcesForTagOptionRequest & WithTagOptionId(const char *value)
Definition: ListResourcesForTagOptionRequest.h:75
AWSString.h
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithPageToken
ListResourcesForTagOptionRequest & WithPageToken(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:182
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetResourceType
void SetResourceType(const char *value)
Definition: ListResourcesForTagOptionRequest.h:106
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: ListResourcesForTagOptionRequest.h:100
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ListResourcesForTagOptionRequest.h:88
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithTagOptionId
ListResourcesForTagOptionRequest & WithTagOptionId(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:65
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetTagOptionId
void SetTagOptionId(const Aws::String &value)
Definition: ListResourcesForTagOptionRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::GetTagOptionId
const Aws::String & GetTagOptionId() const
Definition: ListResourcesForTagOptionRequest.h:40
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SerializePayload
Aws::String SerializePayload() const override
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithPageSize
ListResourcesForTagOptionRequest & WithPageSize(int value)
Definition: ListResourcesForTagOptionRequest.h:145
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListResourcesForTagOptionRequest.h:176
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::ListResourcesForTagOptionRequest
ListResourcesForTagOptionRequest()
Aws::ServiceCatalog::Model::ListResourcesForTagOptionRequest::WithResourceType
ListResourcesForTagOptionRequest & WithResourceType(const char *value)
Definition: ListResourcesForTagOptionRequest.h:124