AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProvisioningArtifactRequest.h
1
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 <aws/servicecatalog/model/ProvisioningArtifactGuidance.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ServiceCatalog
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SERVICECATALOG_API UpdateProvisioningArtifactRequest();
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_SERVICECATALOG_API Aws::String SerializePayload() const override;
34
35 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
44 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
45 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
46 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
47 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
49 inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
50 inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
52
54
57 inline const Aws::String& GetProductId() const{ return m_productId; }
58 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
59 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
60 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
61 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
62 inline UpdateProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
63 inline UpdateProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
64 inline UpdateProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
66
68
71 inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
72 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
73 inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
74 inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
75 inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline UpdateProvisioningArtifactRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline UpdateProvisioningArtifactRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline UpdateProvisioningArtifactRequest& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline UpdateProvisioningArtifactRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline UpdateProvisioningArtifactRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
115 inline bool GetActive() const{ return m_active; }
116 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
117 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
118 inline UpdateProvisioningArtifactRequest& WithActive(bool value) { SetActive(value); return *this;}
120
122
131 inline const ProvisioningArtifactGuidance& GetGuidance() const{ return m_guidance; }
132 inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
133 inline void SetGuidance(const ProvisioningArtifactGuidance& value) { m_guidanceHasBeenSet = true; m_guidance = value; }
134 inline void SetGuidance(ProvisioningArtifactGuidance&& value) { m_guidanceHasBeenSet = true; m_guidance = std::move(value); }
138 private:
139
140 Aws::String m_acceptLanguage;
141 bool m_acceptLanguageHasBeenSet = false;
142
143 Aws::String m_productId;
144 bool m_productIdHasBeenSet = false;
145
146 Aws::String m_provisioningArtifactId;
147 bool m_provisioningArtifactIdHasBeenSet = false;
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 Aws::String m_description;
153 bool m_descriptionHasBeenSet = false;
154
155 bool m_active;
156 bool m_activeHasBeenSet = false;
157
159 bool m_guidanceHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace ServiceCatalog
164} // namespace Aws
UpdateProvisioningArtifactRequest & WithDescription(Aws::String &&value)
UpdateProvisioningArtifactRequest & WithAcceptLanguage(Aws::String &&value)
UpdateProvisioningArtifactRequest & WithProductId(const Aws::String &value)
UpdateProvisioningArtifactRequest & WithName(const Aws::String &value)
UpdateProvisioningArtifactRequest & WithAcceptLanguage(const Aws::String &value)
UpdateProvisioningArtifactRequest & WithProductId(Aws::String &&value)
UpdateProvisioningArtifactRequest & WithDescription(const Aws::String &value)
UpdateProvisioningArtifactRequest & WithDescription(const char *value)
UpdateProvisioningArtifactRequest & WithGuidance(const ProvisioningArtifactGuidance &value)
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(const Aws::String &value)
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(const char *value)
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(Aws::String &&value)
UpdateProvisioningArtifactRequest & WithGuidance(ProvisioningArtifactGuidance &&value)
UpdateProvisioningArtifactRequest & WithName(const char *value)
UpdateProvisioningArtifactRequest & WithName(Aws::String &&value)
UpdateProvisioningArtifactRequest & WithAcceptLanguage(const char *value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProvisioningArtifactRequest & WithProductId(const char *value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String