AWS SDK for C++  1.9.109
AWS SDK for C++
ListAcceptedPortfolioSharesRequest.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 "ListAcceptedPortfolioShares"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
44 
50  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
51 
57  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
58 
64  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
65 
71  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
72 
78  inline ListAcceptedPortfolioSharesRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
79 
85  inline ListAcceptedPortfolioSharesRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
86 
92  inline ListAcceptedPortfolioSharesRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
93 
94 
99  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
100 
105  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
106 
111  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
112 
117  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
118 
123  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
124 
129  inline ListAcceptedPortfolioSharesRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
130 
135  inline ListAcceptedPortfolioSharesRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
136 
141  inline ListAcceptedPortfolioSharesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
142 
143 
147  inline int GetPageSize() const{ return m_pageSize; }
148 
152  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
153 
157  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
158 
162  inline ListAcceptedPortfolioSharesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
163 
164 
172  inline const PortfolioShareType& GetPortfolioShareType() const{ return m_portfolioShareType; }
173 
181  inline bool PortfolioShareTypeHasBeenSet() const { return m_portfolioShareTypeHasBeenSet; }
182 
190  inline void SetPortfolioShareType(const PortfolioShareType& value) { m_portfolioShareTypeHasBeenSet = true; m_portfolioShareType = value; }
191 
199  inline void SetPortfolioShareType(PortfolioShareType&& value) { m_portfolioShareTypeHasBeenSet = true; m_portfolioShareType = std::move(value); }
200 
208  inline ListAcceptedPortfolioSharesRequest& WithPortfolioShareType(const PortfolioShareType& value) { SetPortfolioShareType(value); return *this;}
209 
217  inline ListAcceptedPortfolioSharesRequest& WithPortfolioShareType(PortfolioShareType&& value) { SetPortfolioShareType(std::move(value)); return *this;}
218 
219  private:
220 
221  Aws::String m_acceptLanguage;
222  bool m_acceptLanguageHasBeenSet;
223 
224  Aws::String m_pageToken;
225  bool m_pageTokenHasBeenSet;
226 
227  int m_pageSize;
228  bool m_pageSizeHasBeenSet;
229 
230  PortfolioShareType m_portfolioShareType;
231  bool m_portfolioShareTypeHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace ServiceCatalog
236 } // namespace Aws
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPageToken
ListAcceptedPortfolioSharesRequest & WithPageToken(const char *value)
Definition: ListAcceptedPortfolioSharesRequest.h:141
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListAcceptedPortfolioSharesRequest.h:99
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPageToken
ListAcceptedPortfolioSharesRequest & WithPageToken(const Aws::String &value)
Definition: ListAcceptedPortfolioSharesRequest.h:129
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:117
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithAcceptLanguage
ListAcceptedPortfolioSharesRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:85
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetPortfolioShareType
const PortfolioShareType & GetPortfolioShareType() const
Definition: ListAcceptedPortfolioSharesRequest.h:172
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::PortfolioShareTypeHasBeenSet
bool PortfolioShareTypeHasBeenSet() const
Definition: ListAcceptedPortfolioSharesRequest.h:181
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::ListAcceptedPortfolioSharesRequest
ListAcceptedPortfolioSharesRequest()
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAcceptedPortfolioSharesRequest.h:31
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithAcceptLanguage
ListAcceptedPortfolioSharesRequest & WithAcceptLanguage(const char *value)
Definition: ListAcceptedPortfolioSharesRequest.h:92
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPageSize
ListAcceptedPortfolioSharesRequest & WithPageSize(int value)
Definition: ListAcceptedPortfolioSharesRequest.h:162
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithAcceptLanguage
ListAcceptedPortfolioSharesRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListAcceptedPortfolioSharesRequest.h:78
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPortfolioShareType
void SetPortfolioShareType(PortfolioShareType &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:199
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListAcceptedPortfolioSharesRequest.h:50
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListAcceptedPortfolioSharesRequest.h:71
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPortfolioShareType
void SetPortfolioShareType(const PortfolioShareType &value)
Definition: ListAcceptedPortfolioSharesRequest.h:190
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListAcceptedPortfolioSharesRequest.h:123
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListAcceptedPortfolioSharesRequest.h:105
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListAcceptedPortfolioSharesRequest.h:152
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListAcceptedPortfolioSharesRequest.h:111
PortfolioShareType.h
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListAcceptedPortfolioSharesRequest.h:57
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:64
AWSString.h
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::SetPageSize
void SetPageSize(int value)
Definition: ListAcceptedPortfolioSharesRequest.h:157
Aws::ServiceCatalog::Model::PortfolioShareType
PortfolioShareType
Definition: PortfolioShareType.h:17
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPageToken
ListAcceptedPortfolioSharesRequest & WithPageToken(Aws::String &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:135
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPortfolioShareType
ListAcceptedPortfolioSharesRequest & WithPortfolioShareType(const PortfolioShareType &value)
Definition: ListAcceptedPortfolioSharesRequest.h:208
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListAcceptedPortfolioSharesRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest
Definition: ListAcceptedPortfolioSharesRequest.h:23
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::WithPortfolioShareType
ListAcceptedPortfolioSharesRequest & WithPortfolioShareType(PortfolioShareType &&value)
Definition: ListAcceptedPortfolioSharesRequest.h:217
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListAcceptedPortfolioSharesRequest::GetPageSize
int GetPageSize() const
Definition: ListAcceptedPortfolioSharesRequest.h:147