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 AssociateServiceActionWithProvisioningArtifactRequest : public ServiceCatalogRequest 22 { 23 public: 24 AssociateServiceActionWithProvisioningArtifactRequest(); 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 "AssociateServiceActionWithProvisioningArtifact"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 39 */ GetProductId()40 inline const Aws::String& GetProductId() const{ return m_productId; } 41 42 /** 43 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 44 */ ProductIdHasBeenSet()45 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } 46 47 /** 48 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 49 */ SetProductId(const Aws::String & value)50 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } 51 52 /** 53 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 54 */ SetProductId(Aws::String && value)55 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } 56 57 /** 58 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 59 */ SetProductId(const char * value)60 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } 61 62 /** 63 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 64 */ WithProductId(const Aws::String & value)65 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} 66 67 /** 68 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 69 */ WithProductId(Aws::String && value)70 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} 71 72 /** 73 * <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p> 74 */ WithProductId(const char * value)75 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;} 76 77 78 /** 79 * <p>The identifier of the provisioning artifact. For example, 80 * <code>pa-4abcdjnxjj6ne</code>.</p> 81 */ GetProvisioningArtifactId()82 inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; } 83 84 /** 85 * <p>The identifier of the provisioning artifact. For example, 86 * <code>pa-4abcdjnxjj6ne</code>.</p> 87 */ ProvisioningArtifactIdHasBeenSet()88 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; } 89 90 /** 91 * <p>The identifier of the provisioning artifact. For example, 92 * <code>pa-4abcdjnxjj6ne</code>.</p> 93 */ SetProvisioningArtifactId(const Aws::String & value)94 inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; } 95 96 /** 97 * <p>The identifier of the provisioning artifact. For example, 98 * <code>pa-4abcdjnxjj6ne</code>.</p> 99 */ SetProvisioningArtifactId(Aws::String && value)100 inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); } 101 102 /** 103 * <p>The identifier of the provisioning artifact. For example, 104 * <code>pa-4abcdjnxjj6ne</code>.</p> 105 */ SetProvisioningArtifactId(const char * value)106 inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); } 107 108 /** 109 * <p>The identifier of the provisioning artifact. For example, 110 * <code>pa-4abcdjnxjj6ne</code>.</p> 111 */ WithProvisioningArtifactId(const Aws::String & value)112 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;} 113 114 /** 115 * <p>The identifier of the provisioning artifact. For example, 116 * <code>pa-4abcdjnxjj6ne</code>.</p> 117 */ WithProvisioningArtifactId(Aws::String && value)118 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;} 119 120 /** 121 * <p>The identifier of the provisioning artifact. For example, 122 * <code>pa-4abcdjnxjj6ne</code>.</p> 123 */ WithProvisioningArtifactId(const char * value)124 inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;} 125 126 127 /** 128 * <p>The self-service action identifier. For example, 129 * <code>act-fs7abcd89wxyz</code>.</p> 130 */ GetServiceActionId()131 inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; } 132 133 /** 134 * <p>The self-service action identifier. For example, 135 * <code>act-fs7abcd89wxyz</code>.</p> 136 */ ServiceActionIdHasBeenSet()137 inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; } 138 139 /** 140 * <p>The self-service action identifier. For example, 141 * <code>act-fs7abcd89wxyz</code>.</p> 142 */ SetServiceActionId(const Aws::String & value)143 inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; } 144 145 /** 146 * <p>The self-service action identifier. For example, 147 * <code>act-fs7abcd89wxyz</code>.</p> 148 */ SetServiceActionId(Aws::String && value)149 inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); } 150 151 /** 152 * <p>The self-service action identifier. For example, 153 * <code>act-fs7abcd89wxyz</code>.</p> 154 */ SetServiceActionId(const char * value)155 inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); } 156 157 /** 158 * <p>The self-service action identifier. For example, 159 * <code>act-fs7abcd89wxyz</code>.</p> 160 */ WithServiceActionId(const Aws::String & value)161 inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;} 162 163 /** 164 * <p>The self-service action identifier. For example, 165 * <code>act-fs7abcd89wxyz</code>.</p> 166 */ WithServiceActionId(Aws::String && value)167 inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;} 168 169 /** 170 * <p>The self-service action identifier. For example, 171 * <code>act-fs7abcd89wxyz</code>.</p> 172 */ WithServiceActionId(const char * value)173 inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;} 174 175 176 /** 177 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 178 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 179 * Chinese</p> </li> </ul> 180 */ GetAcceptLanguage()181 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; } 182 183 /** 184 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 185 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 186 * Chinese</p> </li> </ul> 187 */ AcceptLanguageHasBeenSet()188 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; } 189 190 /** 191 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 192 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 193 * Chinese</p> </li> </ul> 194 */ SetAcceptLanguage(const Aws::String & value)195 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; } 196 197 /** 198 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 199 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 200 * Chinese</p> </li> </ul> 201 */ SetAcceptLanguage(Aws::String && value)202 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); } 203 204 /** 205 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 206 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 207 * Chinese</p> </li> </ul> 208 */ SetAcceptLanguage(const char * value)209 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); } 210 211 /** 212 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 213 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 214 * Chinese</p> </li> </ul> 215 */ WithAcceptLanguage(const Aws::String & value)216 inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} 217 218 /** 219 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 220 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 221 * Chinese</p> </li> </ul> 222 */ WithAcceptLanguage(Aws::String && value)223 inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;} 224 225 /** 226 * <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> 227 * </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - 228 * Chinese</p> </li> </ul> 229 */ WithAcceptLanguage(const char * value)230 inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} 231 232 private: 233 234 Aws::String m_productId; 235 bool m_productIdHasBeenSet; 236 237 Aws::String m_provisioningArtifactId; 238 bool m_provisioningArtifactIdHasBeenSet; 239 240 Aws::String m_serviceActionId; 241 bool m_serviceActionIdHasBeenSet; 242 243 Aws::String m_acceptLanguage; 244 bool m_acceptLanguageHasBeenSet; 245 }; 246 247 } // namespace Model 248 } // namespace ServiceCatalog 249 } // namespace Aws 250