AWS SDK for C++  1.9.40
AWS SDK for C++
ListServiceActionsRequest.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 "ListServiceActions"; }
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 ListServiceActionsRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline ListServiceActionsRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline ListServiceActionsRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline int GetPageSize() const{ return m_pageSize; }
98 
102  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
103 
107  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
108 
112  inline ListServiceActionsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
113 
114 
119  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
120 
125  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
126 
131  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
132 
137  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
138 
143  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
144 
149  inline ListServiceActionsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
150 
155  inline ListServiceActionsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
156 
161  inline ListServiceActionsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
162 
163  private:
164 
165  Aws::String m_acceptLanguage;
166  bool m_acceptLanguageHasBeenSet;
167 
168  int m_pageSize;
169  bool m_pageSizeHasBeenSet;
170 
171  Aws::String m_pageToken;
172  bool m_pageTokenHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace ServiceCatalog
177 } // namespace Aws
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithPageToken
ListServiceActionsRequest & WithPageToken(Aws::String &&value)
Definition: ListServiceActionsRequest.h:155
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: ListServiceActionsRequest.h:137
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListServiceActionsRequest.h:107
Aws::ServiceCatalog::Model::ListServiceActionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListServiceActionsRequest.h:30
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithPageToken
ListServiceActionsRequest & WithPageToken(const char *value)
Definition: ListServiceActionsRequest.h:161
Aws::ServiceCatalog::Model::ListServiceActionsRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: ListServiceActionsRequest.h:49
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: ListServiceActionsRequest.h:56
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::ListServiceActionsRequest::ListServiceActionsRequest
ListServiceActionsRequest()
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithPageSize
ListServiceActionsRequest & WithPageSize(int value)
Definition: ListServiceActionsRequest.h:112
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetPageToken
void SetPageToken(const char *value)
Definition: ListServiceActionsRequest.h:143
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: ListServiceActionsRequest.h:63
Aws::ServiceCatalog::Model::ListServiceActionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: ListServiceActionsRequest.h:70
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithAcceptLanguage
ListServiceActionsRequest & WithAcceptLanguage(const Aws::String &value)
Definition: ListServiceActionsRequest.h:77
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithPageToken
ListServiceActionsRequest & WithPageToken(const Aws::String &value)
Definition: ListServiceActionsRequest.h:149
AWSString.h
Aws::ServiceCatalog::Model::ListServiceActionsRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: ListServiceActionsRequest.h:125
Aws::ServiceCatalog::Model::ListServiceActionsRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: ListServiceActionsRequest.h:131
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithAcceptLanguage
ListServiceActionsRequest & WithAcceptLanguage(const char *value)
Definition: ListServiceActionsRequest.h:91
Aws::ServiceCatalog::Model::ListServiceActionsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListServiceActionsRequest.h:102
Aws::ServiceCatalog::Model::ListServiceActionsRequest::WithAcceptLanguage
ListServiceActionsRequest & WithAcceptLanguage(Aws::String &&value)
Definition: ListServiceActionsRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListServiceActionsRequest
Definition: ListServiceActionsRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListServiceActionsRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: ListServiceActionsRequest.h:119
Aws::ServiceCatalog::Model::ListServiceActionsRequest::GetPageSize
int GetPageSize() const
Definition: ListServiceActionsRequest.h:97
Aws::ServiceCatalog::Model::ListServiceActionsRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: ListServiceActionsRequest.h:42