AWS SDK for C++  1.9.175
AWS SDK for C++
ListPrincipalsForPortfolioRequest.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 "ListPrincipalsForPortfolio"; }
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 ListPrincipalsForPortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline ListPrincipalsForPortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline ListPrincipalsForPortfolioRequest& 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 ListPrincipalsForPortfolioRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
123 
127  inline ListPrincipalsForPortfolioRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
128 
132  inline ListPrincipalsForPortfolioRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
133 
134 
138  inline int GetPageSize() const{ return m_pageSize; }
139 
143  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
144 
148  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
149 
153  inline ListPrincipalsForPortfolioRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
154 
155 
160  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
161 
166  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
167 
172  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
173 
178  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
179 
184  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
185 
190  inline ListPrincipalsForPortfolioRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
191 
196  inline ListPrincipalsForPortfolioRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
197 
202  inline ListPrincipalsForPortfolioRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
203 
204  private:
205 
206  Aws::String m_acceptLanguage;
207  bool m_acceptLanguageHasBeenSet;
208 
209  Aws::String m_portfolioId;
210  bool m_portfolioIdHasBeenSet;
211 
212  int m_pageSize;
213  bool m_pageSizeHasBeenSet;
214 
215  Aws::String m_pageToken;
216  bool m_pageTokenHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace ServiceCatalog
221 } // namespace Aws
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithAcceptLanguage
ListPrincipalsForPortfolioRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:77
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: ListPrincipalsForPortfolioRequest.h:102
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPageToken
ListPrincipalsForPortfolioRequest & WithPageToken(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:190
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListPrincipalsForPortfolioRequest.h:143
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:63
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPageSize
ListPrincipalsForPortfolioRequest & WithPageSize(int value)
Definition: ListPrincipalsForPortfolioRequest.h:153
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPageSize
void SetPageSize(int value)
Definition: ListPrincipalsForPortfolioRequest.h:148
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListPrincipalsForPortfolioRequest.h:42
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPortfolioId
ListPrincipalsForPortfolioRequest & WithPortfolioId(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:122
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithAcceptLanguage
ListPrincipalsForPortfolioRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:84
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPrincipalsForPortfolioRequest.h:30
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: ListPrincipalsForPortfolioRequest.h:97
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPortfolioId
ListPrincipalsForPortfolioRequest & WithPortfolioId(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:127
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::ListPrincipalsForPortfolioRequest
ListPrincipalsForPortfolioRequest()
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithAcceptLanguage
ListPrincipalsForPortfolioRequest & WithAcceptLanguage(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:91
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPortfolioId
ListPrincipalsForPortfolioRequest & WithPortfolioId(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:132
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListPrincipalsForPortfolioRequest.h:166
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListPrincipalsForPortfolioRequest.h:49
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPageToken
ListPrincipalsForPortfolioRequest & WithPageToken(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:202
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListPrincipalsForPortfolioRequest.h:160
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::GetPageSize
int GetPageSize() const
Definition: ListPrincipalsForPortfolioRequest.h:138
AWSString.h
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:70
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:117
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:107
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:172
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::ListPrincipalsForPortfolioRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListPrincipalsForPortfolioRequest.h:184
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:112
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListPrincipalsForPortfolioRequest.h:56
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::WithPageToken
ListPrincipalsForPortfolioRequest & WithPageToken(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:196
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListPrincipalsForPortfolioRequest.h:178
Aws::ServiceCatalog::Model::ListPrincipalsForPortfolioRequest
Definition: ListPrincipalsForPortfolioRequest.h:22