/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateAgentRequestSee Also:
AWS
* API Reference
Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline const Aws::String& GetActivationKey() const{ return m_activationKey; } /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline bool ActivationKeyHasBeenSet() const { return m_activationKeyHasBeenSet; } /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline void SetActivationKey(const Aws::String& value) { m_activationKeyHasBeenSet = true; m_activationKey = value; } /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline void SetActivationKey(Aws::String&& value) { m_activationKeyHasBeenSet = true; m_activationKey = std::move(value); } /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline void SetActivationKey(const char* value) { m_activationKeyHasBeenSet = true; m_activationKey.assign(value); } /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline CreateAgentRequest& WithActivationKey(const Aws::String& value) { SetActivationKey(value); return *this;} /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline CreateAgentRequest& WithActivationKey(Aws::String&& value) { SetActivationKey(std::move(value)); return *this;} /** *Specifies your DataSync agent's activation key. If you don't have an * activation key, see Activate * your agent.
*/ inline CreateAgentRequest& WithActivationKey(const char* value) { SetActivationKey(value); return *this;} /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline const Aws::String& GetAgentName() const{ return m_agentName; } /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; } /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline void SetAgentName(const Aws::String& value) { m_agentNameHasBeenSet = true; m_agentName = value; } /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline void SetAgentName(Aws::String&& value) { m_agentNameHasBeenSet = true; m_agentName = std::move(value); } /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline void SetAgentName(const char* value) { m_agentNameHasBeenSet = true; m_agentName.assign(value); } /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline CreateAgentRequest& WithAgentName(const Aws::String& value) { SetAgentName(value); return *this;} /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline CreateAgentRequest& WithAgentName(Aws::String&& value) { SetAgentName(std::move(value)); return *this;} /** *Specifies a name for your agent. You can see this name in the DataSync * console.
*/ inline CreateAgentRequest& WithAgentName(const char* value) { SetAgentName(value); return *this;} /** *Specifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline const Aws::VectorSpecifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Specifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline void SetTags(const Aws::VectorSpecifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline void SetTags(Aws::VectorSpecifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline CreateAgentRequest& WithTags(const Aws::VectorSpecifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline CreateAgentRequest& WithTags(Aws::VectorSpecifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline CreateAgentRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Specifies labels that help you categorize, filter, and search for your Amazon * Web Services resources. We recommend creating at least one tag for your * agent.
*/ inline CreateAgentRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ID of the VPC endpoint that you want your agent to connect to.
* For example, a VPC endpoint ID looks like
* vpce-01234d5aff67890e1
.
The VPC endpoint you use
* must include the DataSync service name (for example,
* com.amazonaws.us-east-2.datasync
).
Specifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline const Aws::VectorSpecifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline bool SubnetArnsHasBeenSet() const { return m_subnetArnsHasBeenSet; } /** *Specifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline void SetSubnetArns(const Aws::VectorSpecifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline void SetSubnetArns(Aws::VectorSpecifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline CreateAgentRequest& WithSubnetArns(const Aws::VectorSpecifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline CreateAgentRequest& WithSubnetArns(Aws::VectorSpecifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSubnetArns(const Aws::String& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *Specifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSubnetArns(Aws::String&& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(std::move(value)); return *this; } /** *Specifies the ARN of the subnet where you want to run your DataSync task when * using a VPC endpoint. This is the subnet where DataSync creates and manages the * network * interfaces for your transfer. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSubnetArns(const char* value) { m_subnetArnsHasBeenSet = true; m_subnetArns.push_back(value); return *this; } /** *Specifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline const Aws::VectorSpecifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; } /** *Specifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline void SetSecurityGroupArns(const Aws::VectorSpecifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline void SetSecurityGroupArns(Aws::VectorSpecifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline CreateAgentRequest& WithSecurityGroupArns(const Aws::VectorSpecifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline CreateAgentRequest& WithSecurityGroupArns(Aws::VectorSpecifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } /** *Specifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(std::move(value)); return *this; } /** *Specifies the Amazon Resource Name (ARN) of the security group that protects * your task's network * interfaces when using * a virtual private cloud (VPC) endpoint. You can only specify one ARN.
*/ inline CreateAgentRequest& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; } private: Aws::String m_activationKey; bool m_activationKeyHasBeenSet = false; Aws::String m_agentName; bool m_agentNameHasBeenSet = false; Aws::Vector