AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeRecordRequest.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 "DescribeRecord"; }
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 DescribeRecordRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline DescribeRecordRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline DescribeRecordRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
98  inline const Aws::String& GetId() const{ return m_id; }
99 
104  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
105 
110  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
111 
116  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
117 
122  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
123 
128  inline DescribeRecordRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
129 
134  inline DescribeRecordRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
135 
140  inline DescribeRecordRequest& WithId(const char* value) { SetId(value); return *this;}
141 
142 
147  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
148 
153  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
154 
159  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
160 
165  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
166 
171  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
172 
177  inline DescribeRecordRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
178 
183  inline DescribeRecordRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
184 
189  inline DescribeRecordRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
190 
191 
195  inline int GetPageSize() const{ return m_pageSize; }
196 
200  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
201 
205  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
206 
210  inline DescribeRecordRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
211 
212  private:
213 
214  Aws::String m_acceptLanguage;
215  bool m_acceptLanguageHasBeenSet;
216 
217  Aws::String m_id;
218  bool m_idHasBeenSet;
219 
220  Aws::String m_pageToken;
221  bool m_pageTokenHasBeenSet;
222 
223  int m_pageSize;
224  bool m_pageSizeHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace ServiceCatalog
229 } // namespace Aws
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: DescribeRecordRequest.h:147
Aws::ServiceCatalog::Model::DescribeRecordRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithId
DescribeRecordRequest & WithId(const Aws::String &value)
Definition: DescribeRecordRequest.h:128
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetPageToken
void SetPageToken(const char *value)
Definition: DescribeRecordRequest.h:171
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DescribeRecordRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: DescribeRecordRequest.h:200
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithAcceptLanguage
DescribeRecordRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DescribeRecordRequest.h:84
Aws::ServiceCatalog::Model::DescribeRecordRequest
Definition: DescribeRecordRequest.h:22
Aws::ServiceCatalog::Model::DescribeRecordRequest::DescribeRecordRequest
DescribeRecordRequest()
Aws::ServiceCatalog::Model::DescribeRecordRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DescribeRecordRequest.h:49
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithPageToken
DescribeRecordRequest & WithPageToken(const Aws::String &value)
Definition: DescribeRecordRequest.h:177
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeRecordRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: DescribeRecordRequest.h:153
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRecordRequest.h:30
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DescribeRecordRequest.h:70
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DescribeRecordRequest.h:42
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DescribeRecordRequest.h:63
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetId
void SetId(Aws::String &&value)
Definition: DescribeRecordRequest.h:116
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithAcceptLanguage
DescribeRecordRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DescribeRecordRequest.h:77
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetId
void SetId(const char *value)
Definition: DescribeRecordRequest.h:122
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: DescribeRecordRequest.h:165
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithPageToken
DescribeRecordRequest & WithPageToken(Aws::String &&value)
Definition: DescribeRecordRequest.h:183
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithPageSize
DescribeRecordRequest & WithPageSize(int value)
Definition: DescribeRecordRequest.h:210
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetId
const Aws::String & GetId() const
Definition: DescribeRecordRequest.h:98
AWSString.h
Aws::ServiceCatalog::Model::DescribeRecordRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DescribeRecordRequest.h:104
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithPageToken
DescribeRecordRequest & WithPageToken(const char *value)
Definition: DescribeRecordRequest.h:189
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetPageSize
void SetPageSize(int value)
Definition: DescribeRecordRequest.h:205
Aws::ServiceCatalog::Model::DescribeRecordRequest::GetPageSize
int GetPageSize() const
Definition: DescribeRecordRequest.h:195
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DescribeRecordRequest.h:56
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithId
DescribeRecordRequest & WithId(Aws::String &&value)
Definition: DescribeRecordRequest.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: DescribeRecordRequest.h:159
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithAcceptLanguage
DescribeRecordRequest & WithAcceptLanguage(const char *value)
Definition: DescribeRecordRequest.h:91
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeRecordRequest::SetId
void SetId(const Aws::String &value)
Definition: DescribeRecordRequest.h:110
Aws::ServiceCatalog::Model::DescribeRecordRequest::WithId
DescribeRecordRequest & WithId(const char *value)
Definition: DescribeRecordRequest.h:140