7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/DeploymentStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/greengrassv2/model/DeploymentPolicies.h>
12#include <aws/greengrassv2/model/DeploymentIoTJobConfiguration.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/greengrassv2/model/ComponentDeploymentSpecification.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
48 template<
typename TargetArnT = Aws::String>
49 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
50 template<
typename TargetArnT = Aws::String>
59 template<
typename RevisionIdT = Aws::String>
60 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
61 template<
typename RevisionIdT = Aws::String>
70 template<
typename DeploymentIdT = Aws::String>
71 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet =
true; m_deploymentId = std::forward<DeploymentIdT>(value); }
72 template<
typename DeploymentIdT = Aws::String>
81 template<
typename DeploymentNameT = Aws::String>
82 void SetDeploymentName(DeploymentNameT&& value) { m_deploymentNameHasBeenSet =
true; m_deploymentName = std::forward<DeploymentNameT>(value); }
83 template<
typename DeploymentNameT = Aws::String>
101 template<
typename IotJobIdT = Aws::String>
102 void SetIotJobId(IotJobIdT&& value) { m_iotJobIdHasBeenSet =
true; m_iotJobId = std::forward<IotJobIdT>(value); }
103 template<
typename IotJobIdT = Aws::String>
114 template<
typename IotJobArnT = Aws::String>
115 void SetIotJobArn(IotJobArnT&& value) { m_iotJobArnHasBeenSet =
true; m_iotJobArn = std::forward<IotJobArnT>(value); }
116 template<
typename IotJobArnT = Aws::String>
127 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
128 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
129 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
131 template<
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentDeploymentSpecification>
133 m_componentsHasBeenSet =
true; m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
return *
this;
143 template<
typename DeploymentPoliciesT = DeploymentPolicies>
144 void SetDeploymentPolicies(DeploymentPoliciesT&& value) { m_deploymentPoliciesHasBeenSet =
true; m_deploymentPolicies = std::forward<DeploymentPoliciesT>(value); }
145 template<
typename DeploymentPoliciesT = DeploymentPolicies>
156 template<
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
157 void SetIotJobConfiguration(IotJobConfigurationT&& value) { m_iotJobConfigurationHasBeenSet =
true; m_iotJobConfiguration = std::forward<IotJobConfigurationT>(value); }
158 template<
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
168 template<
typename CreationTimestampT = Aws::Utils::DateTime>
169 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
170 template<
typename CreationTimestampT = Aws::Utils::DateTime>
179 inline void SetIsLatestForTarget(
bool value) { m_isLatestForTargetHasBeenSet =
true; m_isLatestForTarget = value; }
190 template<
typename ParentTargetArnT = Aws::String>
191 void SetParentTargetArn(ParentTargetArnT&& value) { m_parentTargetArnHasBeenSet =
true; m_parentTargetArn = std::forward<ParentTargetArnT>(value); }
192 template<
typename ParentTargetArnT = Aws::String>
204 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
206 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
210 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
217 template<
typename RequestIdT = Aws::String>
218 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
219 template<
typename RequestIdT = Aws::String>
225 bool m_targetArnHasBeenSet =
false;
228 bool m_revisionIdHasBeenSet =
false;
231 bool m_deploymentIdHasBeenSet =
false;
234 bool m_deploymentNameHasBeenSet =
false;
237 bool m_deploymentStatusHasBeenSet =
false;
240 bool m_iotJobIdHasBeenSet =
false;
243 bool m_iotJobArnHasBeenSet =
false;
246 bool m_componentsHasBeenSet =
false;
248 DeploymentPolicies m_deploymentPolicies;
249 bool m_deploymentPoliciesHasBeenSet =
false;
251 DeploymentIoTJobConfiguration m_iotJobConfiguration;
252 bool m_iotJobConfigurationHasBeenSet =
false;
255 bool m_creationTimestampHasBeenSet =
false;
257 bool m_isLatestForTarget{
false};
258 bool m_isLatestForTargetHasBeenSet =
false;
261 bool m_parentTargetArnHasBeenSet =
false;
264 bool m_tagsHasBeenSet =
false;
267 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