7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/TagListEntry.h>
51 template<
typename ActivationKeyT = Aws::String>
52 void SetActivationKey(ActivationKeyT&& value) { m_activationKeyHasBeenSet =
true; m_activationKey = std::forward<ActivationKeyT>(value); }
53 template<
typename ActivationKeyT = Aws::String>
64 template<
typename AgentNameT = Aws::String>
65 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet =
true; m_agentName = std::forward<AgentNameT>(value); }
66 template<
typename AgentNameT = Aws::String>
78 template<
typename TagsT = Aws::Vector<TagListEntry>>
79 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
80 template<
typename TagsT = Aws::Vector<TagListEntry>>
82 template<
typename TagsT = TagListEntry>
83 CreateAgentRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
97 template<
typename VpcEndpo
intIdT = Aws::String>
98 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
99 template<
typename VpcEndpo
intIdT = Aws::String>
110 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
111 void SetSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet =
true; m_subnetArns = std::forward<SubnetArnsT>(value); }
112 template<
typename SubnetArnsT = Aws::Vector<Aws::String>>
114 template<
typename SubnetArnsT = Aws::String>
126 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
127 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet =
true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
128 template<
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
130 template<
typename SecurityGroupArnsT = Aws::String>
136 bool m_activationKeyHasBeenSet =
false;
139 bool m_agentNameHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
145 bool m_vpcEndpointIdHasBeenSet =
false;
148 bool m_subnetArnsHasBeenSet =
false;
151 bool m_securityGroupArnsHasBeenSet =
false;
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAgentRequest & WithActivationKey(ActivationKeyT &&value)
const Aws::Vector< TagListEntry > & GetTags() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateAgentRequest & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
void SetTags(TagsT &&value)
CreateAgentRequest & AddSecurityGroupArns(SecurityGroupArnsT &&value)
CreateAgentRequest & WithTags(TagsT &&value)
const Aws::String & GetActivationKey() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
bool SubnetArnsHasBeenSet() const
bool TagsHasBeenSet() const
CreateAgentRequest & WithSubnetArns(SubnetArnsT &&value)
void SetAgentName(AgentNameT &&value)
CreateAgentRequest & WithAgentName(AgentNameT &&value)
const Aws::Vector< Aws::String > & GetSubnetArns() const
bool VpcEndpointIdHasBeenSet() const
const Aws::String & GetVpcEndpointId() const
void SetSecurityGroupArns(SecurityGroupArnsT &&value)
CreateAgentRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
void SetActivationKey(ActivationKeyT &&value)
bool ActivationKeyHasBeenSet() const
CreateAgentRequest & AddSubnetArns(SubnetArnsT &&value)
const Aws::String & GetAgentName() const
CreateAgentRequest & WithSecurityGroupArns(SecurityGroupArnsT &&value)
void SetSubnetArns(SubnetArnsT &&value)
AWS_DATASYNC_API CreateAgentRequest()=default
bool SecurityGroupArnsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AgentNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector