7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
11#include <aws/greengrassv2/model/ComponentDeploymentSpecification.h>
12#include <aws/greengrassv2/model/DeploymentIoTJobConfiguration.h>
13#include <aws/greengrassv2/model/DeploymentPolicies.h>
14#include <aws/greengrassv2/model/DeploymentStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace GreengrassV2 {
42 template <
typename TargetArnT = Aws::String>
44 m_targetArnHasBeenSet =
true;
45 m_targetArn = std::forward<TargetArnT>(value);
47 template <
typename TargetArnT = Aws::String>
59 template <
typename RevisionIdT = Aws::String>
61 m_revisionIdHasBeenSet =
true;
62 m_revisionId = std::forward<RevisionIdT>(value);
64 template <
typename RevisionIdT = Aws::String>
76 template <
typename DeploymentIdT = Aws::String>
78 m_deploymentIdHasBeenSet =
true;
79 m_deploymentId = std::forward<DeploymentIdT>(value);
81 template <
typename DeploymentIdT = Aws::String>
93 template <
typename DeploymentNameT = Aws::String>
95 m_deploymentNameHasBeenSet =
true;
96 m_deploymentName = std::forward<DeploymentNameT>(value);
98 template <
typename DeploymentNameT = Aws::String>
111 m_deploymentStatusHasBeenSet =
true;
112 m_deploymentStatus = value;
125 template <
typename IotJobIdT = Aws::String>
127 m_iotJobIdHasBeenSet =
true;
128 m_iotJobId = std::forward<IotJobIdT>(value);
130 template <
typename IotJobIdT = Aws::String>
144 template <
typename IotJobArnT = Aws::String>
146 m_iotJobArnHasBeenSet =
true;
147 m_iotJobArn = std::forward<IotJobArnT>(value);
149 template <
typename IotJobArnT = Aws::String>
163 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
165 m_componentsHasBeenSet =
true;
166 m_components = std::forward<ComponentsT>(value);
168 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
173 template <
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentDeploymentSpecification>
175 m_componentsHasBeenSet =
true;
176 m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
187 template <
typename DeploymentPoliciesT = DeploymentPolicies>
189 m_deploymentPoliciesHasBeenSet =
true;
190 m_deploymentPolicies = std::forward<DeploymentPoliciesT>(value);
192 template <
typename DeploymentPoliciesT = DeploymentPolicies>
206 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
208 m_iotJobConfigurationHasBeenSet =
true;
209 m_iotJobConfiguration = std::forward<IotJobConfigurationT>(value);
211 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
224 template <
typename CreationTimestampT = Aws::Utils::DateTime>
226 m_creationTimestampHasBeenSet =
true;
227 m_creationTimestamp = std::forward<CreationTimestampT>(value);
229 template <
typename CreationTimestampT = Aws::Utils::DateTime>
242 m_isLatestForTargetHasBeenSet =
true;
243 m_isLatestForTarget = value;
258 template <
typename ParentTargetArnT = Aws::String>
260 m_parentTargetArnHasBeenSet =
true;
261 m_parentTargetArn = std::forward<ParentTargetArnT>(value);
263 template <
typename ParentTargetArnT = Aws::String>
278 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
280 m_tagsHasBeenSet =
true;
281 m_tags = std::forward<TagsT>(value);
283 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
285 SetTags(std::forward<TagsT>(value));
288 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
290 m_tagsHasBeenSet =
true;
291 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
299 template <
typename RequestIdT = Aws::String>
301 m_requestIdHasBeenSet =
true;
302 m_requestId = std::forward<RequestIdT>(value);
304 template <
typename RequestIdT = Aws::String>
312 bool m_targetArnHasBeenSet =
false;
315 bool m_revisionIdHasBeenSet =
false;
318 bool m_deploymentIdHasBeenSet =
false;
321 bool m_deploymentNameHasBeenSet =
false;
324 bool m_deploymentStatusHasBeenSet =
false;
327 bool m_iotJobIdHasBeenSet =
false;
330 bool m_iotJobArnHasBeenSet =
false;
333 bool m_componentsHasBeenSet =
false;
335 DeploymentPolicies m_deploymentPolicies;
336 bool m_deploymentPoliciesHasBeenSet =
false;
338 DeploymentIoTJobConfiguration m_iotJobConfiguration;
339 bool m_iotJobConfigurationHasBeenSet =
false;
342 bool m_creationTimestampHasBeenSet =
false;
344 bool m_isLatestForTarget{
false};
345 bool m_isLatestForTargetHasBeenSet =
false;
348 bool m_parentTargetArnHasBeenSet =
false;
351 bool m_tagsHasBeenSet =
false;
354 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)
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