7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace BackupGateway {
35 template <
typename GatewayArnT = Aws::String>
37 m_gatewayArnHasBeenSet =
true;
38 m_gatewayArn = std::forward<GatewayArnT>(value);
40 template <
typename GatewayArnT = Aws::String>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
68 bool m_gatewayArnHasBeenSet =
false;
69 bool m_requestIdHasBeenSet =
false;
AWS_BACKUPGATEWAY_API AssociateGatewayToServerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetGatewayArn() const
AssociateGatewayToServerResult & WithGatewayArn(GatewayArnT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_BACKUPGATEWAY_API AssociateGatewayToServerResult()=default
AWS_BACKUPGATEWAY_API AssociateGatewayToServerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateGatewayToServerResult & WithRequestId(RequestIdT &&value)
void SetGatewayArn(GatewayArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue