AWS SDK for C++  1.9.175
AWS SDK for C++
UpdateProvisioningArtifactRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ServiceCatalog
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateProvisioningArtifact"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
44 
50  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
51 
57  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
58 
64  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
65 
71  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
72 
78  inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
79 
85  inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
86 
92  inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
93 
94 
98  inline const Aws::String& GetProductId() const{ return m_productId; }
99 
103  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
104 
108  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
109 
113  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
114 
118  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
119 
123  inline UpdateProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
124 
128  inline UpdateProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
129 
133  inline UpdateProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
134 
135 
139  inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
140 
144  inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
145 
149  inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
150 
154  inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
155 
159  inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
160 
164  inline UpdateProvisioningArtifactRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
165 
169  inline UpdateProvisioningArtifactRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
170 
174  inline UpdateProvisioningArtifactRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
175 
176 
180  inline const Aws::String& GetName() const{ return m_name; }
181 
185  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
186 
190  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
191 
195  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
196 
200  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
201 
205  inline UpdateProvisioningArtifactRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
206 
210  inline UpdateProvisioningArtifactRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
211 
215  inline UpdateProvisioningArtifactRequest& WithName(const char* value) { SetName(value); return *this;}
216 
217 
221  inline const Aws::String& GetDescription() const{ return m_description; }
222 
226  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
227 
231  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
232 
236  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
237 
241  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
242 
246  inline UpdateProvisioningArtifactRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
247 
251  inline UpdateProvisioningArtifactRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
252 
256  inline UpdateProvisioningArtifactRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
257 
258 
264  inline bool GetActive() const{ return m_active; }
265 
271  inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
272 
278  inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
279 
285  inline UpdateProvisioningArtifactRequest& WithActive(bool value) { SetActive(value); return *this;}
286 
287 
297  inline const ProvisioningArtifactGuidance& GetGuidance() const{ return m_guidance; }
298 
308  inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
309 
319  inline void SetGuidance(const ProvisioningArtifactGuidance& value) { m_guidanceHasBeenSet = true; m_guidance = value; }
320 
330  inline void SetGuidance(ProvisioningArtifactGuidance&& value) { m_guidanceHasBeenSet = true; m_guidance = std::move(value); }
331 
341  inline UpdateProvisioningArtifactRequest& WithGuidance(const ProvisioningArtifactGuidance& value) { SetGuidance(value); return *this;}
342 
352  inline UpdateProvisioningArtifactRequest& WithGuidance(ProvisioningArtifactGuidance&& value) { SetGuidance(std::move(value)); return *this;}
353 
354  private:
355 
356  Aws::String m_acceptLanguage;
357  bool m_acceptLanguageHasBeenSet;
358 
359  Aws::String m_productId;
360  bool m_productIdHasBeenSet;
361 
362  Aws::String m_provisioningArtifactId;
363  bool m_provisioningArtifactIdHasBeenSet;
364 
365  Aws::String m_name;
366  bool m_nameHasBeenSet;
367 
368  Aws::String m_description;
369  bool m_descriptionHasBeenSet;
370 
371  bool m_active;
372  bool m_activeHasBeenSet;
373 
374  ProvisioningArtifactGuidance m_guidance;
375  bool m_guidanceHasBeenSet;
376  };
377 
378 } // namespace Model
379 } // namespace ServiceCatalog
380 } // namespace Aws
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithActive
UpdateProvisioningArtifactRequest & WithActive(bool value)
Definition: UpdateProvisioningArtifactRequest.h:285
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProvisioningArtifactId
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:169
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithAcceptLanguage
UpdateProvisioningArtifactRequest & WithAcceptLanguage(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:85
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithName
UpdateProvisioningArtifactRequest & WithName(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:205
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProvisioningArtifactId
void SetProvisioningArtifactId(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:154
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProductId
UpdateProvisioningArtifactRequest & WithProductId(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:133
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GuidanceHasBeenSet
bool GuidanceHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:308
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithDescription
UpdateProvisioningArtifactRequest & WithDescription(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:246
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateProvisioningArtifactRequest.h:221
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: UpdateProvisioningArtifactRequest.h:43
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithGuidance
UpdateProvisioningArtifactRequest & WithGuidance(const ProvisioningArtifactGuidance &value)
Definition: UpdateProvisioningArtifactRequest.h:341
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetGuidance
void SetGuidance(const ProvisioningArtifactGuidance &value)
Definition: UpdateProvisioningArtifactRequest.h:319
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:226
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::UpdateProvisioningArtifactRequest
UpdateProvisioningArtifactRequest()
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetGuidance
void SetGuidance(ProvisioningArtifactGuidance &&value)
Definition: UpdateProvisioningArtifactRequest.h:330
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateProvisioningArtifactRequest.h:31
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:71
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:57
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithDescription
UpdateProvisioningArtifactRequest & WithDescription(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:256
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetProvisioningArtifactId
const Aws::String & GetProvisioningArtifactId() const
Definition: UpdateProvisioningArtifactRequest.h:139
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProvisioningArtifactId
void SetProvisioningArtifactId(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:149
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProductId
void SetProductId(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:113
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest
Definition: UpdateProvisioningArtifactRequest.h:23
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetProductId
const Aws::String & GetProductId() const
Definition: UpdateProvisioningArtifactRequest.h:98
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:241
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithGuidance
UpdateProvisioningArtifactRequest & WithGuidance(ProvisioningArtifactGuidance &&value)
Definition: UpdateProvisioningArtifactRequest.h:352
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:64
AWSString.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetName
void SetName(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:200
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:185
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:103
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:195
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:190
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProvisioningArtifactId
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:174
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetGuidance
const ProvisioningArtifactGuidance & GetGuidance() const
Definition: UpdateProvisioningArtifactRequest.h:297
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetName
const Aws::String & GetName() const
Definition: UpdateProvisioningArtifactRequest.h:180
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithName
UpdateProvisioningArtifactRequest & WithName(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:215
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:231
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::ActiveHasBeenSet
bool ActiveHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:271
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithAcceptLanguage
UpdateProvisioningArtifactRequest & WithAcceptLanguage(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:78
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithAcceptLanguage
UpdateProvisioningArtifactRequest & WithAcceptLanguage(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:92
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithName
UpdateProvisioningArtifactRequest & WithName(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:210
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProvisioningArtifactId
void SetProvisioningArtifactId(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:159
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithDescription
UpdateProvisioningArtifactRequest & WithDescription(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:251
ProvisioningArtifactGuidance.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProductId
UpdateProvisioningArtifactRequest & WithProductId(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:128
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::ProvisioningArtifactIdHasBeenSet
bool ProvisioningArtifactIdHasBeenSet() const
Definition: UpdateProvisioningArtifactRequest.h:144
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetActive
void SetActive(bool value)
Definition: UpdateProvisioningArtifactRequest.h:278
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateProvisioningArtifactRequest.h:236
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProductId
UpdateProvisioningArtifactRequest & WithProductId(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:123
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::GetActive
bool GetActive() const
Definition: UpdateProvisioningArtifactRequest.h:264
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::WithProvisioningArtifactId
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:164
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProductId
void SetProductId(const Aws::String &value)
Definition: UpdateProvisioningArtifactRequest.h:108
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactRequest::SetProductId
void SetProductId(const char *value)
Definition: UpdateProvisioningArtifactRequest.h:118
Aws::ServiceCatalog::Model::ProvisioningArtifactGuidance
ProvisioningArtifactGuidance
Definition: ProvisioningArtifactGuidance.h:17