1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/servicecatalog/ServiceCatalog_EXPORTS.h> 8 #include <aws/servicecatalog/ServiceCatalogRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace ServiceCatalog 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_SERVICECATALOG_API DescribeRecordRequest : public ServiceCatalogRequest 22 { 23 public: 24 DescribeRecordRequest(); 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. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DescribeRecord"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 39 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 40 * Chinese</p> </li> </ul> 41 */ GetAcceptLanguage()42 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; } 43 44 /** 45 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 46 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 47 * Chinese</p> </li> </ul> 48 */ AcceptLanguageHasBeenSet()49 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; } 50 51 /** 52 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 53 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 54 * Chinese</p> </li> </ul> 55 */ SetAcceptLanguage(const Aws::String & value)56 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; } 57 58 /** 59 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 60 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 61 * Chinese</p> </li> </ul> 62 */ SetAcceptLanguage(Aws::String && value)63 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); } 64 65 /** 66 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 67 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 68 * Chinese</p> </li> </ul> 69 */ SetAcceptLanguage(const char * value)70 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); } 71 72 /** 73 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 74 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 75 * Chinese</p> </li> </ul> 76 */ WithAcceptLanguage(const Aws::String & value)77 inline DescribeRecordRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} 78 79 /** 80 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 81 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 82 * Chinese</p> </li> </ul> 83 */ WithAcceptLanguage(Aws::String && value)84 inline DescribeRecordRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;} 85 86 /** 87 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 88 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 89 * Chinese</p> </li> </ul> 90 */ WithAcceptLanguage(const char * value)91 inline DescribeRecordRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} 92 93 94 /** 95 * <p>The record identifier of the provisioned product. This identifier is returned 96 * by the request operation.</p> 97 */ GetId()98 inline const Aws::String& GetId() const{ return m_id; } 99 100 /** 101 * <p>The record identifier of the provisioned product. This identifier is returned 102 * by the request operation.</p> 103 */ IdHasBeenSet()104 inline bool IdHasBeenSet() const { return m_idHasBeenSet; } 105 106 /** 107 * <p>The record identifier of the provisioned product. This identifier is returned 108 * by the request operation.</p> 109 */ SetId(const Aws::String & value)110 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } 111 112 /** 113 * <p>The record identifier of the provisioned product. This identifier is returned 114 * by the request operation.</p> 115 */ SetId(Aws::String && value)116 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } 117 118 /** 119 * <p>The record identifier of the provisioned product. This identifier is returned 120 * by the request operation.</p> 121 */ SetId(const char * value)122 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } 123 124 /** 125 * <p>The record identifier of the provisioned product. This identifier is returned 126 * by the request operation.</p> 127 */ WithId(const Aws::String & value)128 inline DescribeRecordRequest& WithId(const Aws::String& value) { SetId(value); return *this;} 129 130 /** 131 * <p>The record identifier of the provisioned product. This identifier is returned 132 * by the request operation.</p> 133 */ WithId(Aws::String && value)134 inline DescribeRecordRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} 135 136 /** 137 * <p>The record identifier of the provisioned product. This identifier is returned 138 * by the request operation.</p> 139 */ WithId(const char * value)140 inline DescribeRecordRequest& WithId(const char* value) { SetId(value); return *this;} 141 142 143 /** 144 * <p>The page token for the next set of results. To retrieve the first set of 145 * results, use null.</p> 146 */ GetPageToken()147 inline const Aws::String& GetPageToken() const{ return m_pageToken; } 148 149 /** 150 * <p>The page token for the next set of results. To retrieve the first set of 151 * results, use null.</p> 152 */ PageTokenHasBeenSet()153 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; } 154 155 /** 156 * <p>The page token for the next set of results. To retrieve the first set of 157 * results, use null.</p> 158 */ SetPageToken(const Aws::String & value)159 inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; } 160 161 /** 162 * <p>The page token for the next set of results. To retrieve the first set of 163 * results, use null.</p> 164 */ SetPageToken(Aws::String && value)165 inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); } 166 167 /** 168 * <p>The page token for the next set of results. To retrieve the first set of 169 * results, use null.</p> 170 */ SetPageToken(const char * value)171 inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); } 172 173 /** 174 * <p>The page token for the next set of results. To retrieve the first set of 175 * results, use null.</p> 176 */ WithPageToken(const Aws::String & value)177 inline DescribeRecordRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;} 178 179 /** 180 * <p>The page token for the next set of results. To retrieve the first set of 181 * results, use null.</p> 182 */ WithPageToken(Aws::String && value)183 inline DescribeRecordRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;} 184 185 /** 186 * <p>The page token for the next set of results. To retrieve the first set of 187 * results, use null.</p> 188 */ WithPageToken(const char * value)189 inline DescribeRecordRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;} 190 191 192 /** 193 * <p>The maximum number of items to return with this call.</p> 194 */ GetPageSize()195 inline int GetPageSize() const{ return m_pageSize; } 196 197 /** 198 * <p>The maximum number of items to return with this call.</p> 199 */ PageSizeHasBeenSet()200 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } 201 202 /** 203 * <p>The maximum number of items to return with this call.</p> 204 */ SetPageSize(int value)205 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } 206 207 /** 208 * <p>The maximum number of items to return with this call.</p> 209 */ WithPageSize(int value)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 230