7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/greengrassv2/model/DeploymentIoTJobConfiguration.h>
12#include <aws/greengrassv2/model/DeploymentPolicies.h>
13#include <aws/greengrassv2/model/ComponentDeploymentSpecification.h>
15#include <aws/core/utils/UUID.h>
49 template<
typename TargetArnT = Aws::String>
50 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
51 template<
typename TargetArnT = Aws::String>
61 template<
typename DeploymentNameT = Aws::String>
62 void SetDeploymentName(DeploymentNameT&& value) { m_deploymentNameHasBeenSet =
true; m_deploymentName = std::forward<DeploymentNameT>(value); }
63 template<
typename DeploymentNameT = Aws::String>
75 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
76 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
77 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
79 template<
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentDeploymentSpecification>
81 m_componentsHasBeenSet =
true; m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
return *
this;
93 template<
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
94 void SetIotJobConfiguration(IotJobConfigurationT&& value) { m_iotJobConfigurationHasBeenSet =
true; m_iotJobConfiguration = std::forward<IotJobConfigurationT>(value); }
95 template<
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
106 template<
typename DeploymentPoliciesT = DeploymentPolicies>
107 void SetDeploymentPolicies(DeploymentPoliciesT&& value) { m_deploymentPoliciesHasBeenSet =
true; m_deploymentPolicies = std::forward<DeploymentPoliciesT>(value); }
108 template<
typename DeploymentPoliciesT = DeploymentPolicies>
120 template<
typename ParentTargetArnT = Aws::String>
121 void SetParentTargetArn(ParentTargetArnT&& value) { m_parentTargetArnHasBeenSet =
true; m_parentTargetArn = std::forward<ParentTargetArnT>(value); }
122 template<
typename ParentTargetArnT = Aws::String>
135 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
137 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
141 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
157 template<
typename ClientTokenT = Aws::String>
158 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
159 template<
typename ClientTokenT = Aws::String>
165 bool m_targetArnHasBeenSet =
false;
168 bool m_deploymentNameHasBeenSet =
false;
171 bool m_componentsHasBeenSet =
false;
174 bool m_iotJobConfigurationHasBeenSet =
false;
177 bool m_deploymentPoliciesHasBeenSet =
false;
180 bool m_parentTargetArnHasBeenSet =
false;
183 bool m_tagsHasBeenSet =
false;
186 bool m_clientTokenHasBeenSet =
true;
void SetDeploymentPolicies(DeploymentPoliciesT &&value)
bool ComponentsHasBeenSet() const
void SetComponents(ComponentsT &&value)
CreateDeploymentRequest & WithClientToken(ClientTokenT &&value)
void SetTargetArn(TargetArnT &&value)
bool ParentTargetArnHasBeenSet() const
const Aws::Map< Aws::String, ComponentDeploymentSpecification > & GetComponents() const
CreateDeploymentRequest & WithTargetArn(TargetArnT &&value)
void SetDeploymentName(DeploymentNameT &&value)
const Aws::String & GetTargetArn() const
void SetClientToken(ClientTokenT &&value)
AWS_GREENGRASSV2_API CreateDeploymentRequest()=default
const Aws::String & GetClientToken() const
bool DeploymentNameHasBeenSet() const
CreateDeploymentRequest & WithIotJobConfiguration(IotJobConfigurationT &&value)
void SetParentTargetArn(ParentTargetArnT &&value)
void SetTags(TagsT &&value)
bool IotJobConfigurationHasBeenSet() const
bool DeploymentPoliciesHasBeenSet() const
const DeploymentIoTJobConfiguration & GetIotJobConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDeploymentRequest & WithParentTargetArn(ParentTargetArnT &&value)
CreateDeploymentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetParentTargetArn() const
const Aws::String & GetDeploymentName() const
CreateDeploymentRequest & WithComponents(ComponentsT &&value)
CreateDeploymentRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithDeploymentPolicies(DeploymentPoliciesT &&value)
const DeploymentPolicies & GetDeploymentPolicies() const
void SetIotJobConfiguration(IotJobConfigurationT &&value)
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
CreateDeploymentRequest & AddComponents(ComponentsKeyT &&key, ComponentsValueT &&value)
bool TargetArnHasBeenSet() const
CreateDeploymentRequest & WithDeploymentName(DeploymentNameT &&value)
AWS_GREENGRASSV2_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