7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
12#include <aws/greengrassv2/model/ComponentDeploymentSpecification.h>
13#include <aws/greengrassv2/model/DeploymentIoTJobConfiguration.h>
14#include <aws/greengrassv2/model/DeploymentPolicies.h>
15#include <aws/greengrassv2/model/DeploymentStatus.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace GreengrassV2 {
43 template <
typename TargetArnT = Aws::String>
45 m_targetArnHasBeenSet =
true;
46 m_targetArn = std::forward<TargetArnT>(value);
48 template <
typename TargetArnT = Aws::String>
60 template <
typename RevisionIdT = Aws::String>
62 m_revisionIdHasBeenSet =
true;
63 m_revisionId = std::forward<RevisionIdT>(value);
65 template <
typename RevisionIdT = Aws::String>
77 template <
typename DeploymentIdT = Aws::String>
79 m_deploymentIdHasBeenSet =
true;
80 m_deploymentId = std::forward<DeploymentIdT>(value);
82 template <
typename DeploymentIdT = Aws::String>
94 template <
typename DeploymentNameT = Aws::String>
96 m_deploymentNameHasBeenSet =
true;
97 m_deploymentName = std::forward<DeploymentNameT>(value);
99 template <
typename DeploymentNameT = Aws::String>
112 m_deploymentStatusHasBeenSet =
true;
113 m_deploymentStatus = value;
126 template <
typename IotJobIdT = Aws::String>
128 m_iotJobIdHasBeenSet =
true;
129 m_iotJobId = std::forward<IotJobIdT>(value);
131 template <
typename IotJobIdT = Aws::String>
145 template <
typename IotJobArnT = Aws::String>
147 m_iotJobArnHasBeenSet =
true;
148 m_iotJobArn = std::forward<IotJobArnT>(value);
150 template <
typename IotJobArnT = Aws::String>
164 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
166 m_componentsHasBeenSet =
true;
167 m_components = std::forward<ComponentsT>(value);
169 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
174 template <
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentDeploymentSpecification>
176 m_componentsHasBeenSet =
true;
177 m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
188 template <
typename DeploymentPoliciesT = DeploymentPolicies>
190 m_deploymentPoliciesHasBeenSet =
true;
191 m_deploymentPolicies = std::forward<DeploymentPoliciesT>(value);
193 template <
typename DeploymentPoliciesT = DeploymentPolicies>
207 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
209 m_iotJobConfigurationHasBeenSet =
true;
210 m_iotJobConfiguration = std::forward<IotJobConfigurationT>(value);
212 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
225 template <
typename CreationTimestampT = Aws::Utils::DateTime>
227 m_creationTimestampHasBeenSet =
true;
228 m_creationTimestamp = std::forward<CreationTimestampT>(value);
230 template <
typename CreationTimestampT = Aws::Utils::DateTime>
243 m_isLatestForTargetHasBeenSet =
true;
244 m_isLatestForTarget = value;
259 template <
typename ParentTargetArnT = Aws::String>
261 m_parentTargetArnHasBeenSet =
true;
262 m_parentTargetArn = std::forward<ParentTargetArnT>(value);
264 template <
typename ParentTargetArnT = Aws::String>
279 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
281 m_tagsHasBeenSet =
true;
282 m_tags = std::forward<TagsT>(value);
284 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
286 SetTags(std::forward<TagsT>(value));
289 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
291 m_tagsHasBeenSet =
true;
292 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
300 template <
typename RequestIdT = Aws::String>
302 m_requestIdHasBeenSet =
true;
303 m_requestId = std::forward<RequestIdT>(value);
305 template <
typename RequestIdT = Aws::String>
330 DeploymentPolicies m_deploymentPolicies;
332 DeploymentIoTJobConfiguration m_iotJobConfiguration;
336 bool m_isLatestForTarget{
false};
344 bool m_targetArnHasBeenSet =
false;
345 bool m_revisionIdHasBeenSet =
false;
346 bool m_deploymentIdHasBeenSet =
false;
347 bool m_deploymentNameHasBeenSet =
false;
348 bool m_deploymentStatusHasBeenSet =
false;
349 bool m_iotJobIdHasBeenSet =
false;
350 bool m_iotJobArnHasBeenSet =
false;
351 bool m_componentsHasBeenSet =
false;
352 bool m_deploymentPoliciesHasBeenSet =
false;
353 bool m_iotJobConfigurationHasBeenSet =
false;
354 bool m_creationTimestampHasBeenSet =
false;
355 bool m_isLatestForTargetHasBeenSet =
false;
356 bool m_parentTargetArnHasBeenSet =
false;
357 bool m_tagsHasBeenSet =
false;
358 bool m_requestIdHasBeenSet =
false;
GetDeploymentResult & WithParentTargetArn(ParentTargetArnT &&value)
const Aws::String & GetRequestId() const
void SetIsLatestForTarget(bool value)
GetDeploymentResult & WithIotJobId(IotJobIdT &&value)
DeploymentStatus GetDeploymentStatus() const
GetDeploymentResult & WithDeploymentPolicies(DeploymentPoliciesT &&value)
GetDeploymentResult & WithTags(TagsT &&value)
GetDeploymentResult & WithDeploymentName(DeploymentNameT &&value)
GetDeploymentResult & WithTargetArn(TargetArnT &&value)
void SetIotJobId(IotJobIdT &&value)
GetDeploymentResult & WithIotJobArn(IotJobArnT &&value)
AWS_GREENGRASSV2_API GetDeploymentResult()=default
bool GetIsLatestForTarget() const
AWS_GREENGRASSV2_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComponents(ComponentsT &&value)
void SetTargetArn(TargetArnT &&value)
void SetRequestId(RequestIdT &&value)
GetDeploymentResult & WithCreationTimestamp(CreationTimestampT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetDeploymentPolicies(DeploymentPoliciesT &&value)
GetDeploymentResult & WithIsLatestForTarget(bool value)
void SetParentTargetArn(ParentTargetArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
GetDeploymentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDeploymentResult & WithRequestId(RequestIdT &&value)
GetDeploymentResult & WithRevisionId(RevisionIdT &&value)
void SetIotJobArn(IotJobArnT &&value)
const Aws::String & GetParentTargetArn() const
GetDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRevisionId() const
const DeploymentPolicies & GetDeploymentPolicies() const
GetDeploymentResult & AddComponents(ComponentsKeyT &&key, ComponentsValueT &&value)
const Aws::String & GetDeploymentName() const
const Aws::Map< Aws::String, ComponentDeploymentSpecification > & GetComponents() const
GetDeploymentResult & WithIotJobConfiguration(IotJobConfigurationT &&value)
const Aws::String & GetTargetArn() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
const DeploymentIoTJobConfiguration & GetIotJobConfiguration() const
void SetRevisionId(RevisionIdT &&value)
const Aws::String & GetIotJobId() const
GetDeploymentResult & WithDeploymentStatus(DeploymentStatus value)
const Aws::String & GetDeploymentId() const
GetDeploymentResult & WithComponents(ComponentsT &&value)
AWS_GREENGRASSV2_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIotJobConfiguration(IotJobConfigurationT &&value)
void SetDeploymentId(DeploymentIdT &&value)
const Aws::String & GetIotJobArn() const
void SetDeploymentName(DeploymentNameT &&value)
void SetDeploymentStatus(DeploymentStatus value)
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
Aws::Utils::Json::JsonValue JsonValue