AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeProvisionedProductPlanRequest.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 "DescribeProvisionedProductPlan"; }
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 DescribeProvisionedProductPlanRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline DescribeProvisionedProductPlanRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline DescribeProvisionedProductPlanRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetPlanId() const{ return m_planId; }
98 
102  inline bool PlanIdHasBeenSet() const { return m_planIdHasBeenSet; }
103 
107  inline void SetPlanId(const Aws::String& value) { m_planIdHasBeenSet = true; m_planId = value; }
108 
112  inline void SetPlanId(Aws::String&& value) { m_planIdHasBeenSet = true; m_planId = std::move(value); }
113 
117  inline void SetPlanId(const char* value) { m_planIdHasBeenSet = true; m_planId.assign(value); }
118 
122  inline DescribeProvisionedProductPlanRequest& WithPlanId(const Aws::String& value) { SetPlanId(value); return *this;}
123 
127  inline DescribeProvisionedProductPlanRequest& WithPlanId(Aws::String&& value) { SetPlanId(std::move(value)); return *this;}
128 
132  inline DescribeProvisionedProductPlanRequest& WithPlanId(const char* value) { SetPlanId(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 DescribeProvisionedProductPlanRequest& 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 DescribeProvisionedProductPlanRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
191 
196  inline DescribeProvisionedProductPlanRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
197 
202  inline DescribeProvisionedProductPlanRequest& 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_planId;
210  bool m_planIdHasBeenSet;
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::DescribeProvisionedProductPlanRequest::WithAcceptLanguage
DescribeProvisionedProductPlanRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:84
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetPageSize
int GetPageSize() const
Definition: DescribeProvisionedProductPlanRequest.h:138
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPageSize
void SetPageSize(int value)
Definition: DescribeProvisionedProductPlanRequest.h:148
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest
Definition: DescribeProvisionedProductPlanRequest.h:22
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPlanId
DescribeProvisionedProductPlanRequest & WithPlanId(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:127
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPlanId
void SetPlanId(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:107
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPlanId
void SetPlanId(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:117
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPageToken
void SetPageToken(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:184
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPageToken
DescribeProvisionedProductPlanRequest & WithPageToken(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:202
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:178
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: DescribeProvisionedProductPlanRequest.h:143
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: DescribeProvisionedProductPlanRequest.h:160
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithAcceptLanguage
DescribeProvisionedProductPlanRequest & WithAcceptLanguage(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:91
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:172
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPageSize
DescribeProvisionedProductPlanRequest & WithPageSize(int value)
Definition: DescribeProvisionedProductPlanRequest.h:153
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPageToken
DescribeProvisionedProductPlanRequest & WithPageToken(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:196
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::DescribeProvisionedProductPlanRequest
DescribeProvisionedProductPlanRequest()
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:70
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithAcceptLanguage
DescribeProvisionedProductPlanRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:77
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:63
AWSString.h
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::PlanIdHasBeenSet
bool PlanIdHasBeenSet() const
Definition: DescribeProvisionedProductPlanRequest.h:102
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPageToken
DescribeProvisionedProductPlanRequest & WithPageToken(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:190
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetPlanId
const Aws::String & GetPlanId() const
Definition: DescribeProvisionedProductPlanRequest.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: DescribeProvisionedProductPlanRequest.h:166
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProvisionedProductPlanRequest.h:30
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DescribeProvisionedProductPlanRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPlanId
DescribeProvisionedProductPlanRequest & WithPlanId(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:122
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DescribeProvisionedProductPlanRequest.h:42
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DescribeProvisionedProductPlanRequest.h:56
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::SetPlanId
void SetPlanId(Aws::String &&value)
Definition: DescribeProvisionedProductPlanRequest.h:112
Aws::ServiceCatalog::Model::DescribeProvisionedProductPlanRequest::WithPlanId
DescribeProvisionedProductPlanRequest & WithPlanId(const char *value)
Definition: DescribeProvisionedProductPlanRequest.h:132