7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/TagListEntry.h>
47 template <
typename ActivationKeyT = Aws::String>
49 m_activationKeyHasBeenSet =
true;
50 m_activationKey = std::forward<ActivationKeyT>(value);
52 template <
typename ActivationKeyT = Aws::String>
66 template <
typename AgentNameT = Aws::String>
68 m_agentNameHasBeenSet =
true;
69 m_agentName = std::forward<AgentNameT>(value);
71 template <
typename AgentNameT = Aws::String>
86 template <
typename TagsT = Aws::Vector<TagListEntry>>
88 m_tagsHasBeenSet =
true;
89 m_tags = std::forward<TagsT>(value);
91 template <
typename TagsT = Aws::Vector<TagListEntry>>
93 SetTags(std::forward<TagsT>(value));
96 template <
typename TagsT = TagListEntry>
98 m_tagsHasBeenSet =
true;
99 m_tags.emplace_back(std::forward<TagsT>(value));
115 template <
typename VpcEndpo
intIdT = Aws::String>
117 m_vpcEndpointIdHasBeenSet =
true;
118 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
120 template <
typename VpcEndpo
intIdT = Aws::String>
134 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
136 m_subnetArnsHasBeenSet =
true;
137 m_subnetArns = std::forward<SubnetArnsT>(value);
139 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
144 template <
typename SubnetArnsT = Aws::String>
146 m_subnetArnsHasBeenSet =
true;
147 m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
160 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
162 m_securityGroupArnsHasBeenSet =
true;
163 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
165 template <
typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
170 template <
typename SecurityGroupArnsT = Aws::String>
172 m_securityGroupArnsHasBeenSet =
true;
173 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
189 bool m_activationKeyHasBeenSet =
false;
190 bool m_agentNameHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
192 bool m_vpcEndpointIdHasBeenSet =
false;
193 bool m_subnetArnsHasBeenSet =
false;
194 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