AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PutDeploymentParameterRequest.h
1
6#pragma once
7#include <aws/marketplace-deployment/MarketplaceDeployment_EXPORTS.h>
8#include <aws/marketplace-deployment/MarketplaceDeploymentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/marketplace-deployment/model/DeploymentParameterInput.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace MarketplaceDeployment
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MARKETPLACEDEPLOYMENT_API PutDeploymentParameterRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "PutDeploymentParameter"; }
35
36 AWS_MARKETPLACEDEPLOYMENT_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetAgreementId() const { return m_agreementId; }
44 inline bool AgreementIdHasBeenSet() const { return m_agreementIdHasBeenSet; }
45 template<typename AgreementIdT = Aws::String>
46 void SetAgreementId(AgreementIdT&& value) { m_agreementIdHasBeenSet = true; m_agreementId = std::forward<AgreementIdT>(value); }
47 template<typename AgreementIdT = Aws::String>
48 PutDeploymentParameterRequest& WithAgreementId(AgreementIdT&& value) { SetAgreementId(std::forward<AgreementIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetCatalog() const { return m_catalog; }
57 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
58 template<typename CatalogT = Aws::String>
59 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
60 template<typename CatalogT = Aws::String>
61 PutDeploymentParameterRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
63
65
71 inline const Aws::String& GetClientToken() const { return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 template<typename ClientTokenT = Aws::String>
74 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
75 template<typename ClientTokenT = Aws::String>
76 PutDeploymentParameterRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
78
80
84 inline const DeploymentParameterInput& GetDeploymentParameter() const { return m_deploymentParameter; }
85 inline bool DeploymentParameterHasBeenSet() const { return m_deploymentParameterHasBeenSet; }
86 template<typename DeploymentParameterT = DeploymentParameterInput>
87 void SetDeploymentParameter(DeploymentParameterT&& value) { m_deploymentParameterHasBeenSet = true; m_deploymentParameter = std::forward<DeploymentParameterT>(value); }
88 template<typename DeploymentParameterT = DeploymentParameterInput>
89 PutDeploymentParameterRequest& WithDeploymentParameter(DeploymentParameterT&& value) { SetDeploymentParameter(std::forward<DeploymentParameterT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
98 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
99 template<typename ExpirationDateT = Aws::Utils::DateTime>
100 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
101 template<typename ExpirationDateT = Aws::Utils::DateTime>
102 PutDeploymentParameterRequest& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
104
106
110 inline const Aws::String& GetProductId() const { return m_productId; }
111 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
112 template<typename ProductIdT = Aws::String>
113 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
114 template<typename ProductIdT = Aws::String>
115 PutDeploymentParameterRequest& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
117
119
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 PutDeploymentParameterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
130 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
131 PutDeploymentParameterRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
132 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
133 }
135 private:
136
137 Aws::String m_agreementId;
138 bool m_agreementIdHasBeenSet = false;
139
140 Aws::String m_catalog;
141 bool m_catalogHasBeenSet = false;
142
144 bool m_clientTokenHasBeenSet = true;
145
146 DeploymentParameterInput m_deploymentParameter;
147 bool m_deploymentParameterHasBeenSet = false;
148
149 Aws::Utils::DateTime m_expirationDate{};
150 bool m_expirationDateHasBeenSet = false;
151
152 Aws::String m_productId;
153 bool m_productIdHasBeenSet = false;
154
156 bool m_tagsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace MarketplaceDeployment
161} // namespace Aws
PutDeploymentParameterRequest & WithExpirationDate(ExpirationDateT &&value)
PutDeploymentParameterRequest & WithClientToken(ClientTokenT &&value)
PutDeploymentParameterRequest & WithAgreementId(AgreementIdT &&value)
AWS_MARKETPLACEDEPLOYMENT_API PutDeploymentParameterRequest()=default
PutDeploymentParameterRequest & WithProductId(ProductIdT &&value)
PutDeploymentParameterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
PutDeploymentParameterRequest & WithDeploymentParameter(DeploymentParameterT &&value)
AWS_MARKETPLACEDEPLOYMENT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String