AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AcceptLanguageT = Aws::String>
46 void SetAcceptLanguage(AcceptLanguageT&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::forward<AcceptLanguageT>(value); }
47 template<typename AcceptLanguageT = Aws::String>
48 UpdateProvisioningArtifactRequest& WithAcceptLanguage(AcceptLanguageT&& value) { SetAcceptLanguage(std::forward<AcceptLanguageT>(value)); return *this;}
50
52
55 inline const Aws::String& GetProductId() const { return m_productId; }
56 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
57 template<typename ProductIdT = Aws::String>
58 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
59 template<typename ProductIdT = Aws::String>
60 UpdateProvisioningArtifactRequest& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetProvisioningArtifactId() const { return m_provisioningArtifactId; }
68 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
69 template<typename ProvisioningArtifactIdT = Aws::String>
70 void SetProvisioningArtifactId(ProvisioningArtifactIdT&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::forward<ProvisioningArtifactIdT>(value); }
71 template<typename ProvisioningArtifactIdT = Aws::String>
72 UpdateProvisioningArtifactRequest& WithProvisioningArtifactId(ProvisioningArtifactIdT&& value) { SetProvisioningArtifactId(std::forward<ProvisioningArtifactIdT>(value)); return *this;}
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 UpdateProvisioningArtifactRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template<typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
95 template<typename DescriptionT = Aws::String>
96 UpdateProvisioningArtifactRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
98
100
105 inline bool GetActive() const { return m_active; }
106 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
107 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
108 inline UpdateProvisioningArtifactRequest& WithActive(bool value) { SetActive(value); return *this;}
110
112
121 inline ProvisioningArtifactGuidance GetGuidance() const { return m_guidance; }
122 inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
123 inline void SetGuidance(ProvisioningArtifactGuidance value) { m_guidanceHasBeenSet = true; m_guidance = value; }
126 private:
127
128 Aws::String m_acceptLanguage;
129 bool m_acceptLanguageHasBeenSet = false;
130
131 Aws::String m_productId;
132 bool m_productIdHasBeenSet = false;
133
134 Aws::String m_provisioningArtifactId;
135 bool m_provisioningArtifactIdHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 bool m_active{false};
144 bool m_activeHasBeenSet = false;
145
147 bool m_guidanceHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ServiceCatalog
152} // namespace Aws
UpdateProvisioningArtifactRequest & WithProvisioningArtifactId(ProvisioningArtifactIdT &&value)
UpdateProvisioningArtifactRequest & WithDescription(DescriptionT &&value)
UpdateProvisioningArtifactRequest & WithAcceptLanguage(AcceptLanguageT &&value)
AWS_SERVICECATALOG_API UpdateProvisioningArtifactRequest()=default
UpdateProvisioningArtifactRequest & WithProductId(ProductIdT &&value)
UpdateProvisioningArtifactRequest & WithGuidance(ProvisioningArtifactGuidance value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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