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 DescribeServiceActionExecutionParametersRequest : public ServiceCatalogRequest 22 { 23 public: 24 DescribeServiceActionExecutionParametersRequest(); 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 "DescribeServiceActionExecutionParameters"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The identifier of the provisioned product.</p> 39 */ GetProvisionedProductId()40 inline const Aws::String& GetProvisionedProductId() const{ return m_provisionedProductId; } 41 42 /** 43 * <p>The identifier of the provisioned product.</p> 44 */ ProvisionedProductIdHasBeenSet()45 inline bool ProvisionedProductIdHasBeenSet() const { return m_provisionedProductIdHasBeenSet; } 46 47 /** 48 * <p>The identifier of the provisioned product.</p> 49 */ SetProvisionedProductId(const Aws::String & value)50 inline void SetProvisionedProductId(const Aws::String& value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId = value; } 51 52 /** 53 * <p>The identifier of the provisioned product.</p> 54 */ SetProvisionedProductId(Aws::String && value)55 inline void SetProvisionedProductId(Aws::String&& value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId = std::move(value); } 56 57 /** 58 * <p>The identifier of the provisioned product.</p> 59 */ SetProvisionedProductId(const char * value)60 inline void SetProvisionedProductId(const char* value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId.assign(value); } 61 62 /** 63 * <p>The identifier of the provisioned product.</p> 64 */ WithProvisionedProductId(const Aws::String & value)65 inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(const Aws::String& value) { SetProvisionedProductId(value); return *this;} 66 67 /** 68 * <p>The identifier of the provisioned product.</p> 69 */ WithProvisionedProductId(Aws::String && value)70 inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(Aws::String&& value) { SetProvisionedProductId(std::move(value)); return *this;} 71 72 /** 73 * <p>The identifier of the provisioned product.</p> 74 */ WithProvisionedProductId(const char * value)75 inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(const char* value) { SetProvisionedProductId(value); return *this;} 76 77 78 /** 79 * <p>The self-service action identifier.</p> 80 */ GetServiceActionId()81 inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; } 82 83 /** 84 * <p>The self-service action identifier.</p> 85 */ ServiceActionIdHasBeenSet()86 inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; } 87 88 /** 89 * <p>The self-service action identifier.</p> 90 */ SetServiceActionId(const Aws::String & value)91 inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; } 92 93 /** 94 * <p>The self-service action identifier.</p> 95 */ SetServiceActionId(Aws::String && value)96 inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); } 97 98 /** 99 * <p>The self-service action identifier.</p> 100 */ SetServiceActionId(const char * value)101 inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); } 102 103 /** 104 * <p>The self-service action identifier.</p> 105 */ WithServiceActionId(const Aws::String & value)106 inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;} 107 108 /** 109 * <p>The self-service action identifier.</p> 110 */ WithServiceActionId(Aws::String && value)111 inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;} 112 113 /** 114 * <p>The self-service action identifier.</p> 115 */ WithServiceActionId(const char * value)116 inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;} 117 118 119 /** 120 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 121 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 122 * Chinese</p> </li> </ul> 123 */ GetAcceptLanguage()124 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; } 125 126 /** 127 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 128 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 129 * Chinese</p> </li> </ul> 130 */ AcceptLanguageHasBeenSet()131 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; } 132 133 /** 134 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 135 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 136 * Chinese</p> </li> </ul> 137 */ SetAcceptLanguage(const Aws::String & value)138 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; } 139 140 /** 141 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 142 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 143 * Chinese</p> </li> </ul> 144 */ SetAcceptLanguage(Aws::String && value)145 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); } 146 147 /** 148 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 149 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 150 * Chinese</p> </li> </ul> 151 */ SetAcceptLanguage(const char * value)152 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); } 153 154 /** 155 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 156 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 157 * Chinese</p> </li> </ul> 158 */ WithAcceptLanguage(const Aws::String & value)159 inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} 160 161 /** 162 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 163 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 164 * Chinese</p> </li> </ul> 165 */ WithAcceptLanguage(Aws::String && value)166 inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;} 167 168 /** 169 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 170 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 171 * Chinese</p> </li> </ul> 172 */ WithAcceptLanguage(const char * value)173 inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} 174 175 private: 176 177 Aws::String m_provisionedProductId; 178 bool m_provisionedProductIdHasBeenSet; 179 180 Aws::String m_serviceActionId; 181 bool m_serviceActionIdHasBeenSet; 182 183 Aws::String m_acceptLanguage; 184 bool m_acceptLanguageHasBeenSet; 185 }; 186 187 } // namespace Model 188 } // namespace ServiceCatalog 189 } // namespace Aws 190