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>
53 inline void SetActivationKey(
const char* value) { m_activationKeyHasBeenSet =
true; m_activationKey.assign(value); }
68 inline void SetAgentName(
const char* value) { m_agentNameHasBeenSet =
true; m_agentName.assign(value); }
103 inline void SetVpcEndpointId(
const char* value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId.assign(value); }
144 bool m_activationKeyHasBeenSet =
false;
147 bool m_agentNameHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
153 bool m_vpcEndpointIdHasBeenSet =
false;
156 bool m_subnetArnsHasBeenSet =
false;
159 bool m_securityGroupArnsHasBeenSet =
false;
CreateAgentRequest & WithActivationKey(const Aws::String &value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAgentRequest & WithSubnetArns(const Aws::Vector< Aws::String > &value)
CreateAgentRequest & WithSubnetArns(Aws::Vector< Aws::String > &&value)
CreateAgentRequest & AddSecurityGroupArns(const char *value)
CreateAgentRequest & AddSubnetArns(Aws::String &&value)
void SetActivationKey(const Aws::String &value)
void SetAgentName(Aws::String &&value)
CreateAgentRequest & AddTags(const TagListEntry &value)
void SetAgentName(const Aws::String &value)
const Aws::Vector< TagListEntry > & GetTags() const
AWS_DATASYNC_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
CreateAgentRequest & WithActivationKey(const char *value)
CreateAgentRequest & WithAgentName(Aws::String &&value)
CreateAgentRequest & WithTags(Aws::Vector< TagListEntry > &&value)
CreateAgentRequest & AddSecurityGroupArns(const Aws::String &value)
CreateAgentRequest & WithActivationKey(Aws::String &&value)
CreateAgentRequest & AddSubnetArns(const char *value)
const Aws::String & GetActivationKey() const
void SetSecurityGroupArns(Aws::Vector< Aws::String > &&value)
CreateAgentRequest & WithVpcEndpointId(Aws::String &&value)
void SetVpcEndpointId(const char *value)
void SetActivationKey(const char *value)
bool SubnetArnsHasBeenSet() const
bool TagsHasBeenSet() const
void SetSubnetArns(const Aws::Vector< Aws::String > &value)
CreateAgentRequest & WithTags(const Aws::Vector< TagListEntry > &value)
const Aws::Vector< Aws::String > & GetSubnetArns() const
void SetVpcEndpointId(Aws::String &&value)
bool VpcEndpointIdHasBeenSet() const
CreateAgentRequest & AddSubnetArns(const Aws::String &value)
void SetAgentName(const char *value)
const Aws::String & GetVpcEndpointId() const
AWS_DATASYNC_API CreateAgentRequest()
void SetVpcEndpointId(const Aws::String &value)
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
CreateAgentRequest & AddTags(TagListEntry &&value)
bool ActivationKeyHasBeenSet() const
CreateAgentRequest & WithVpcEndpointId(const Aws::String &value)
void SetActivationKey(Aws::String &&value)
CreateAgentRequest & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetAgentName() const
CreateAgentRequest & WithAgentName(const char *value)
CreateAgentRequest & AddSecurityGroupArns(Aws::String &&value)
void SetTags(const Aws::Vector< TagListEntry > &value)
bool SecurityGroupArnsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateAgentRequest & WithAgentName(const Aws::String &value)
void SetTags(Aws::Vector< TagListEntry > &&value)
void SetSubnetArns(Aws::Vector< Aws::String > &&value)
CreateAgentRequest & WithVpcEndpointId(const char *value)
bool AgentNameHasBeenSet() const
CreateAgentRequest & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
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