AWS SDK for C++  1.9.40
AWS SDK for C++
DescribePortfolioSharesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ServiceCatalog
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribePortfolioShares"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
43 
48  inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
49 
54  inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
55 
60  inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
61 
66  inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
67 
72  inline DescribePortfolioSharesRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
73 
78  inline DescribePortfolioSharesRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
79 
84  inline DescribePortfolioSharesRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
85 
86 
97  inline const DescribePortfolioShareType& GetType() const{ return m_type; }
98 
109  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110 
121  inline void SetType(const DescribePortfolioShareType& value) { m_typeHasBeenSet = true; m_type = value; }
122 
133  inline void SetType(DescribePortfolioShareType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
134 
145  inline DescribePortfolioSharesRequest& WithType(const DescribePortfolioShareType& value) { SetType(value); return *this;}
146 
157  inline DescribePortfolioSharesRequest& WithType(DescribePortfolioShareType&& value) { SetType(std::move(value)); return *this;}
158 
159 
164  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
165 
170  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
171 
176  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
177 
182  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
183 
188  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
189 
194  inline DescribePortfolioSharesRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
195 
200  inline DescribePortfolioSharesRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
201 
206  inline DescribePortfolioSharesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
207 
208 
212  inline int GetPageSize() const{ return m_pageSize; }
213 
217  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
218 
222  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
223 
227  inline DescribePortfolioSharesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
228 
229  private:
230 
231  Aws::String m_portfolioId;
232  bool m_portfolioIdHasBeenSet;
233 
235  bool m_typeHasBeenSet;
236 
237  Aws::String m_pageToken;
238  bool m_pageTokenHasBeenSet;
239 
240  int m_pageSize;
241  bool m_pageSizeHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace ServiceCatalog
246 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPageToken
DescribePortfolioSharesRequest & WithPageToken(Aws::String &&value)
Definition: DescribePortfolioSharesRequest.h:200
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: DescribePortfolioSharesRequest.h:60
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: DescribePortfolioSharesRequest.h:54
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: DescribePortfolioSharesRequest.h:66
DescribePortfolioShareType.h
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithType
DescribePortfolioSharesRequest & WithType(DescribePortfolioShareType &&value)
Definition: DescribePortfolioSharesRequest.h:157
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetType
void SetType(const DescribePortfolioShareType &value)
Definition: DescribePortfolioSharesRequest.h:121
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: DescribePortfolioSharesRequest.h:170
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: DescribePortfolioSharesRequest.h:217
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithType
DescribePortfolioSharesRequest & WithType(const DescribePortfolioShareType &value)
Definition: DescribePortfolioSharesRequest.h:145
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest
Definition: DescribePortfolioSharesRequest.h:23
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPageToken
DescribePortfolioSharesRequest & WithPageToken(const char *value)
Definition: DescribePortfolioSharesRequest.h:206
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: DescribePortfolioSharesRequest.h:42
Aws::ServiceCatalog::Model::DescribePortfolioShareType
DescribePortfolioShareType
Definition: DescribePortfolioShareType.h:17
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPageToken
void SetPageToken(const char *value)
Definition: DescribePortfolioSharesRequest.h:188
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetPageSize
int GetPageSize() const
Definition: DescribePortfolioSharesRequest.h:212
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPageToken
DescribePortfolioSharesRequest & WithPageToken(const Aws::String &value)
Definition: DescribePortfolioSharesRequest.h:194
AWSString.h
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPortfolioId
DescribePortfolioSharesRequest & WithPortfolioId(const Aws::String &value)
Definition: DescribePortfolioSharesRequest.h:72
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePortfolioSharesRequest.h:31
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: DescribePortfolioSharesRequest.h:48
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::DescribePortfolioSharesRequest
DescribePortfolioSharesRequest()
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPortfolioId
DescribePortfolioSharesRequest & WithPortfolioId(Aws::String &&value)
Definition: DescribePortfolioSharesRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DescribePortfolioSharesRequest.h:109
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPortfolioId
DescribePortfolioSharesRequest & WithPortfolioId(const char *value)
Definition: DescribePortfolioSharesRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::WithPageSize
DescribePortfolioSharesRequest & WithPageSize(int value)
Definition: DescribePortfolioSharesRequest.h:227
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetType
const DescribePortfolioShareType & GetType() const
Definition: DescribePortfolioSharesRequest.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetType
void SetType(DescribePortfolioShareType &&value)
Definition: DescribePortfolioSharesRequest.h:133
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPageSize
void SetPageSize(int value)
Definition: DescribePortfolioSharesRequest.h:222
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: DescribePortfolioSharesRequest.h:182
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: DescribePortfolioSharesRequest.h:164
Aws::ServiceCatalog::Model::DescribePortfolioSharesRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: DescribePortfolioSharesRequest.h:176