AWS SDK for C++  1.9.125
AWS SDK for C++
ListConstraintsForPortfolioRequest.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 "ListConstraintsForPortfolio"; }
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 ListConstraintsForPortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline ListConstraintsForPortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline ListConstraintsForPortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
98 
102  inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
103 
107  inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
108 
112  inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
113 
117  inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
118 
122  inline ListConstraintsForPortfolioRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
123 
127  inline ListConstraintsForPortfolioRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
128 
132  inline ListConstraintsForPortfolioRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
133 
134 
138  inline const Aws::String& GetProductId() const{ return m_productId; }
139 
143  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
144 
148  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
149 
153  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
154 
158  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
159 
163  inline ListConstraintsForPortfolioRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
164 
168  inline ListConstraintsForPortfolioRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
169 
173  inline ListConstraintsForPortfolioRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
174 
175 
179  inline int GetPageSize() const{ return m_pageSize; }
180 
184  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
185 
189  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
190 
194  inline ListConstraintsForPortfolioRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
195 
196 
201  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
202 
207  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
208 
213  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
214 
219  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
220 
225  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
226 
231  inline ListConstraintsForPortfolioRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
232 
237  inline ListConstraintsForPortfolioRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
238 
243  inline ListConstraintsForPortfolioRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
244 
245  private:
246 
247  Aws::String m_acceptLanguage;
248  bool m_acceptLanguageHasBeenSet;
249 
250  Aws::String m_portfolioId;
251  bool m_portfolioIdHasBeenSet;
252 
253  Aws::String m_productId;
254  bool m_productIdHasBeenSet;
255 
256  int m_pageSize;
257  bool m_pageSizeHasBeenSet;
258 
259  Aws::String m_pageToken;
260  bool m_pageTokenHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace ServiceCatalog
265 } // namespace Aws
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:112
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithProductId
ListConstraintsForPortfolioRequest & WithProductId(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:163
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPageSize
ListConstraintsForPortfolioRequest & WithPageSize(int value)
Definition: ListConstraintsForPortfolioRequest.h:194
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListConstraintsForPortfolioRequest.h:184
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:63
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest
Definition: ListConstraintsForPortfolioRequest.h:22
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:225
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:107
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: ListConstraintsForPortfolioRequest.h:143
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithProductId
ListConstraintsForPortfolioRequest & WithProductId(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:168
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListConstraintsForPortfolioRequest.h:42
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPageToken
ListConstraintsForPortfolioRequest & WithPageToken(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:231
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:219
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetProductId
void SetProductId(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:148
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithProductId
ListConstraintsForPortfolioRequest & WithProductId(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:173
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetProductId
void SetProductId(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:158
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithAcceptLanguage
ListConstraintsForPortfolioRequest & WithAcceptLanguage(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:91
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:213
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:117
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListConstraintsForPortfolioRequest.h:207
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPortfolioId
ListConstraintsForPortfolioRequest & WithPortfolioId(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:132
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListConstraintsForPortfolioRequest.h:30
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetProductId
void SetProductId(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:153
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithAcceptLanguage
ListConstraintsForPortfolioRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:84
AWSString.h
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::ListConstraintsForPortfolioRequest
ListConstraintsForPortfolioRequest()
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPortfolioId
ListConstraintsForPortfolioRequest & WithPortfolioId(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:127
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPageToken
ListConstraintsForPortfolioRequest & WithPageToken(Aws::String &&value)
Definition: ListConstraintsForPortfolioRequest.h:237
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPortfolioId
ListConstraintsForPortfolioRequest & WithPortfolioId(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:122
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:70
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetPageSize
int GetPageSize() const
Definition: ListConstraintsForPortfolioRequest.h:179
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetPageSize
void SetPageSize(int value)
Definition: ListConstraintsForPortfolioRequest.h:189
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetProductId
const Aws::String & GetProductId() const
Definition: ListConstraintsForPortfolioRequest.h:138
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithAcceptLanguage
ListConstraintsForPortfolioRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:77
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListConstraintsForPortfolioRequest.h:49
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListConstraintsForPortfolioRequest.h:56
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::WithPageToken
ListConstraintsForPortfolioRequest & WithPageToken(const char *value)
Definition: ListConstraintsForPortfolioRequest.h:243
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: ListConstraintsForPortfolioRequest.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: ListConstraintsForPortfolioRequest.h:102
Aws::ServiceCatalog::Model::ListConstraintsForPortfolioRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListConstraintsForPortfolioRequest.h:201