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>
51 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
65 inline void SetDeploymentName(
const char* value) { m_deploymentNameHasBeenSet =
true; m_deploymentName.assign(value); }
128 inline void SetParentTargetArn(
const char* value) { m_parentTargetArnHasBeenSet =
true; m_parentTargetArn.assign(value); }
170 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
178 bool m_targetArnHasBeenSet =
false;
181 bool m_deploymentNameHasBeenSet =
false;
184 bool m_componentsHasBeenSet =
false;
187 bool m_iotJobConfigurationHasBeenSet =
false;
190 bool m_deploymentPoliciesHasBeenSet =
false;
193 bool m_parentTargetArnHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
199 bool m_clientTokenHasBeenSet =
false;
void SetTargetArn(const Aws::String &value)
CreateDeploymentRequest & WithDeploymentName(const char *value)
CreateDeploymentRequest & WithIotJobConfiguration(const DeploymentIoTJobConfiguration &value)
CreateDeploymentRequest & WithClientToken(Aws::String &&value)
bool ComponentsHasBeenSet() const
CreateDeploymentRequest & WithComponents(Aws::Map< Aws::String, ComponentDeploymentSpecification > &&value)
void SetParentTargetArn(Aws::String &&value)
CreateDeploymentRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDeploymentRequest & WithDeploymentPolicies(const DeploymentPolicies &value)
void SetIotJobConfiguration(const DeploymentIoTJobConfiguration &value)
bool ParentTargetArnHasBeenSet() const
const Aws::Map< Aws::String, ComponentDeploymentSpecification > & GetComponents() const
CreateDeploymentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & AddComponents(const char *key, const ComponentDeploymentSpecification &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetParentTargetArn(const char *value)
CreateDeploymentRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetTargetArn() const
void SetTargetArn(Aws::String &&value)
CreateDeploymentRequest & WithTargetArn(const char *value)
void SetTargetArn(const char *value)
const Aws::String & GetClientToken() const
void SetClientToken(const char *value)
CreateDeploymentRequest & WithParentTargetArn(const char *value)
bool DeploymentNameHasBeenSet() const
void SetDeploymentName(Aws::String &&value)
void SetDeploymentName(const Aws::String &value)
void SetIotJobConfiguration(DeploymentIoTJobConfiguration &&value)
CreateDeploymentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetDeploymentPolicies(const DeploymentPolicies &value)
void SetComponents(const Aws::Map< Aws::String, ComponentDeploymentSpecification > &value)
CreateDeploymentRequest & WithIotJobConfiguration(DeploymentIoTJobConfiguration &&value)
CreateDeploymentRequest & WithClientToken(const char *value)
void SetDeploymentName(const char *value)
CreateDeploymentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDeploymentRequest & WithComponents(const Aws::Map< Aws::String, ComponentDeploymentSpecification > &value)
void SetDeploymentPolicies(DeploymentPolicies &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool IotJobConfigurationHasBeenSet() const
void SetClientToken(const Aws::String &value)
bool DeploymentPoliciesHasBeenSet() const
CreateDeploymentRequest & WithParentTargetArn(const Aws::String &value)
AWS_GREENGRASSV2_API CreateDeploymentRequest()
const DeploymentIoTJobConfiguration & GetIotJobConfiguration() const
CreateDeploymentRequest & WithDeploymentPolicies(DeploymentPolicies &&value)
CreateDeploymentRequest & AddTags(Aws::String &&key, const char *value)
CreateDeploymentRequest & WithDeploymentName(Aws::String &&value)
CreateDeploymentRequest & WithDeploymentName(const Aws::String &value)
CreateDeploymentRequest & AddComponents(const char *key, ComponentDeploymentSpecification &&value)
CreateDeploymentRequest & AddComponents(const Aws::String &key, const ComponentDeploymentSpecification &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetParentTargetArn() const
const Aws::String & GetDeploymentName() const
void SetComponents(Aws::Map< Aws::String, ComponentDeploymentSpecification > &&value)
CreateDeploymentRequest & WithTargetArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & AddTags(const char *key, Aws::String &&value)
CreateDeploymentRequest & AddComponents(const Aws::String &key, ComponentDeploymentSpecification &&value)
CreateDeploymentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentRequest & WithTargetArn(Aws::String &&value)
CreateDeploymentRequest & AddTags(Aws::String &&key, const Aws::String &value)
const DeploymentPolicies & GetDeploymentPolicies() const
void SetParentTargetArn(const Aws::String &value)
CreateDeploymentRequest & WithParentTargetArn(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateDeploymentRequest & AddComponents(Aws::String &&key, const ComponentDeploymentSpecification &value)
void SetClientToken(Aws::String &&value)
bool TagsHasBeenSet() const
CreateDeploymentRequest & AddTags(const char *key, const char *value)
bool TargetArnHasBeenSet() const
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
CreateDeploymentRequest & AddComponents(Aws::String &&key, ComponentDeploymentSpecification &&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