AWS SDK for C++  1.9.109
AWS SDK for C++
ListPortfoliosForProductRequest.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 "ListPortfoliosForProduct"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
43 
49  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
50 
56  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
57 
63  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
64 
70  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
71 
77  inline ListPortfoliosForProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline ListPortfoliosForProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline ListPortfoliosForProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetProductId() const{ return m_productId; }
98 
102  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
103 
107  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
108 
112  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
113 
117  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
118 
122  inline ListPortfoliosForProductRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
123 
127  inline ListPortfoliosForProductRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
128 
132  inline ListPortfoliosForProductRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
133 
134 
139  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
140 
145  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
146 
151  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
152 
157  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
158 
163  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
164 
169  inline ListPortfoliosForProductRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
170 
175  inline ListPortfoliosForProductRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
176 
181  inline ListPortfoliosForProductRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
182 
183 
187  inline int GetPageSize() const{ return m_pageSize; }
188 
192  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
193 
197  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
198 
202  inline ListPortfoliosForProductRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
203 
204  private:
205 
206  Aws::String m_acceptLanguage;
207  bool m_acceptLanguageHasBeenSet;
208 
209  Aws::String m_productId;
210  bool m_productIdHasBeenSet;
211 
212  Aws::String m_pageToken;
213  bool m_pageTokenHasBeenSet;
214 
215  int m_pageSize;
216  bool m_pageSizeHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace ServiceCatalog
221 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPortfoliosForProductRequest.h:30
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: ListPortfoliosForProductRequest.h:102
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetPageSize
int GetPageSize() const
Definition: ListPortfoliosForProductRequest.h:187
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithAcceptLanguage
ListPortfoliosForProductRequest & WithAcceptLanguage(const char *value)
Definition: ListPortfoliosForProductRequest.h:91
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetPageSize
void SetPageSize(int value)
Definition: ListPortfoliosForProductRequest.h:197
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetProductId
void SetProductId(const char *value)
Definition: ListPortfoliosForProductRequest.h:117
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest
Definition: ListPortfoliosForProductRequest.h:22
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithProductId
ListPortfoliosForProductRequest & WithProductId(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:127
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:63
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListPortfoliosForProductRequest.h:145
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithProductId
ListPortfoliosForProductRequest & WithProductId(const char *value)
Definition: ListPortfoliosForProductRequest.h:132
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::ListPortfoliosForProductRequest
ListPortfoliosForProductRequest()
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithAcceptLanguage
ListPortfoliosForProductRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:84
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetProductId
void SetProductId(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:112
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetProductId
const Aws::String & GetProductId() const
Definition: ListPortfoliosForProductRequest.h:97
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithPageSize
ListPortfoliosForProductRequest & WithPageSize(int value)
Definition: ListPortfoliosForProductRequest.h:202
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithProductId
ListPortfoliosForProductRequest & WithProductId(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:122
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:151
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListPortfoliosForProductRequest.h:163
AWSString.h
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithAcceptLanguage
ListPortfoliosForProductRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:77
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithPageToken
ListPortfoliosForProductRequest & WithPageToken(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:175
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListPortfoliosForProductRequest.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithPageToken
ListPortfoliosForProductRequest & WithPageToken(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:169
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListPortfoliosForProductRequest.h:157
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListPortfoliosForProductRequest.h:192
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListPortfoliosForProductRequest.h:139
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:56
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::WithPageToken
ListPortfoliosForProductRequest & WithPageToken(const char *value)
Definition: ListPortfoliosForProductRequest.h:181
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListPortfoliosForProductRequest.h:70
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::SetProductId
void SetProductId(const Aws::String &value)
Definition: ListPortfoliosForProductRequest.h:107
Aws::ServiceCatalog::Model::ListPortfoliosForProductRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListPortfoliosForProductRequest.h:49