7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrassv2/GreengrassV2Request.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>
19namespace GreengrassV2 {
45 template <
typename TargetArnT = Aws::String>
47 m_targetArnHasBeenSet =
true;
48 m_targetArn = std::forward<TargetArnT>(value);
50 template <
typename TargetArnT = Aws::String>
63 template <
typename DeploymentNameT = Aws::String>
65 m_deploymentNameHasBeenSet =
true;
66 m_deploymentName = std::forward<DeploymentNameT>(value);
68 template <
typename DeploymentNameT = Aws::String>
83 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
85 m_componentsHasBeenSet =
true;
86 m_components = std::forward<ComponentsT>(value);
88 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentDeploymentSpecification>>
93 template <
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentDeploymentSpecification>
95 m_componentsHasBeenSet =
true;
96 m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
109 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
111 m_iotJobConfigurationHasBeenSet =
true;
112 m_iotJobConfiguration = std::forward<IotJobConfigurationT>(value);
114 template <
typename IotJobConfigurationT = DeploymentIoTJobConfiguration>
128 template <
typename DeploymentPoliciesT = DeploymentPolicies>
130 m_deploymentPoliciesHasBeenSet =
true;
131 m_deploymentPolicies = std::forward<DeploymentPoliciesT>(value);
133 template <
typename DeploymentPoliciesT = DeploymentPolicies>
148 template <
typename ParentTargetArnT = Aws::String>
150 m_parentTargetArnHasBeenSet =
true;
151 m_parentTargetArn = std::forward<ParentTargetArnT>(value);
153 template <
typename ParentTargetArnT = Aws::String>
169 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 m_tagsHasBeenSet =
true;
172 m_tags = std::forward<TagsT>(value);
174 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 SetTags(std::forward<TagsT>(value));
179 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
181 m_tagsHasBeenSet =
true;
182 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 template <
typename ClientTokenT = Aws::String>
201 m_clientTokenHasBeenSet =
true;
202 m_clientToken = std::forward<ClientTokenT>(value);
204 template <
typename ClientTokenT = Aws::String>
226 bool m_targetArnHasBeenSet =
false;
227 bool m_deploymentNameHasBeenSet =
false;
228 bool m_componentsHasBeenSet =
false;
229 bool m_iotJobConfigurationHasBeenSet =
false;
230 bool m_deploymentPoliciesHasBeenSet =
false;
231 bool m_parentTargetArnHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
233 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