AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgreementId(const Aws::String& value) { m_agreementIdHasBeenSet = true; m_agreementId = value; }
46 inline void SetAgreementId(Aws::String&& value) { m_agreementIdHasBeenSet = true; m_agreementId = std::move(value); }
47 inline void SetAgreementId(const char* value) { m_agreementIdHasBeenSet = true; m_agreementId.assign(value); }
48 inline PutDeploymentParameterRequest& WithAgreementId(const Aws::String& value) { SetAgreementId(value); return *this;}
49 inline PutDeploymentParameterRequest& WithAgreementId(Aws::String&& value) { SetAgreementId(std::move(value)); return *this;}
50 inline PutDeploymentParameterRequest& WithAgreementId(const char* value) { SetAgreementId(value); return *this;}
52
54
58 inline const Aws::String& GetCatalog() const{ return m_catalog; }
59 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
60 inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
61 inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
62 inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
63 inline PutDeploymentParameterRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
64 inline PutDeploymentParameterRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
65 inline PutDeploymentParameterRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;}
67
69
73 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
74 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
75 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
76 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
77 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
78 inline PutDeploymentParameterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
79 inline PutDeploymentParameterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
80 inline PutDeploymentParameterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
82
84
88 inline const DeploymentParameterInput& GetDeploymentParameter() const{ return m_deploymentParameter; }
89 inline bool DeploymentParameterHasBeenSet() const { return m_deploymentParameterHasBeenSet; }
90 inline void SetDeploymentParameter(const DeploymentParameterInput& value) { m_deploymentParameterHasBeenSet = true; m_deploymentParameter = value; }
91 inline void SetDeploymentParameter(DeploymentParameterInput&& value) { m_deploymentParameterHasBeenSet = true; m_deploymentParameter = std::move(value); }
95
97
101 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
102 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
103 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
104 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
108
110
114 inline const Aws::String& GetProductId() const{ return m_productId; }
115 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
116 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
117 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
118 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
119 inline PutDeploymentParameterRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
120 inline PutDeploymentParameterRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
121 inline PutDeploymentParameterRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
123
125
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
133 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
135 inline PutDeploymentParameterRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
136 inline PutDeploymentParameterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
137 inline PutDeploymentParameterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
138 inline PutDeploymentParameterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline PutDeploymentParameterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
140 inline PutDeploymentParameterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline PutDeploymentParameterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
142 inline PutDeploymentParameterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
144 private:
145
146 Aws::String m_agreementId;
147 bool m_agreementIdHasBeenSet = false;
148
149 Aws::String m_catalog;
150 bool m_catalogHasBeenSet = false;
151
152 Aws::String m_clientToken;
153 bool m_clientTokenHasBeenSet = false;
154
155 DeploymentParameterInput m_deploymentParameter;
156 bool m_deploymentParameterHasBeenSet = false;
157
158 Aws::Utils::DateTime m_expirationDate;
159 bool m_expirationDateHasBeenSet = false;
160
161 Aws::String m_productId;
162 bool m_productIdHasBeenSet = false;
163
165 bool m_tagsHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace MarketplaceDeployment
170} // namespace Aws
PutDeploymentParameterRequest & WithDeploymentParameter(const DeploymentParameterInput &value)
PutDeploymentParameterRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PutDeploymentParameterRequest & WithAgreementId(const char *value)
PutDeploymentParameterRequest & WithClientToken(const Aws::String &value)
PutDeploymentParameterRequest & AddTags(const char *key, Aws::String &&value)
PutDeploymentParameterRequest & AddTags(const Aws::String &key, const Aws::String &value)
PutDeploymentParameterRequest & WithExpirationDate(const Aws::Utils::DateTime &value)
PutDeploymentParameterRequest & AddTags(Aws::String &&key, Aws::String &&value)
PutDeploymentParameterRequest & WithProductId(Aws::String &&value)
PutDeploymentParameterRequest & WithCatalog(Aws::String &&value)
PutDeploymentParameterRequest & WithDeploymentParameter(DeploymentParameterInput &&value)
PutDeploymentParameterRequest & AddTags(const Aws::String &key, Aws::String &&value)
PutDeploymentParameterRequest & WithAgreementId(Aws::String &&value)
PutDeploymentParameterRequest & WithAgreementId(const Aws::String &value)
PutDeploymentParameterRequest & WithProductId(const Aws::String &value)
PutDeploymentParameterRequest & WithClientToken(const char *value)
PutDeploymentParameterRequest & WithExpirationDate(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PutDeploymentParameterRequest & WithCatalog(const Aws::String &value)
PutDeploymentParameterRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PutDeploymentParameterRequest & WithClientToken(Aws::String &&value)
PutDeploymentParameterRequest & AddTags(Aws::String &&key, const Aws::String &value)
PutDeploymentParameterRequest & AddTags(Aws::String &&key, const char *value)
PutDeploymentParameterRequest & AddTags(const char *key, const char *value)
AWS_MARKETPLACEDEPLOYMENT_API Aws::String SerializePayload() const override
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