7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/BackupGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace BackupGateway
45 template<
typename GatewayArnT = Aws::String>
46 void SetGatewayArn(GatewayArnT&& value) { m_gatewayArnHasBeenSet =
true; m_gatewayArn = std::forward<GatewayArnT>(value); }
47 template<
typename GatewayArnT = Aws::String>
58 template<
typename ServerArnT = Aws::String>
59 void SetServerArn(ServerArnT&& value) { m_serverArnHasBeenSet =
true; m_serverArn = std::forward<ServerArnT>(value); }
60 template<
typename ServerArnT = Aws::String>
66 bool m_gatewayArnHasBeenSet =
false;
69 bool m_serverArnHasBeenSet =
false;
void SetServerArn(ServerArnT &&value)
AWS_BACKUPGATEWAY_API AssociateGatewayToServerRequest()=default
virtual const char * GetServiceRequestName() const override
AssociateGatewayToServerRequest & WithGatewayArn(GatewayArnT &&value)
AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool GatewayArnHasBeenSet() const
bool ServerArnHasBeenSet() const
const Aws::String & GetServerArn() const
AssociateGatewayToServerRequest & WithServerArn(ServerArnT &&value)
AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetGatewayArn() const
void SetGatewayArn(GatewayArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String