AWS SDK for C++
0.12.9
AWS SDK for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
aws-cpp-sdk-transfer
include
aws
transfer
TransferContext.h
Go to the documentation of this file.
1
/*
2
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License").
5
* You may not use this file except in compliance with the License.
6
* A copy of the License is located at
7
*
8
* http://aws.amazon.com/apache2.0
9
*
10
* or in the "license" file accompanying this file. This file is distributed
11
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12
* express or implied. See the License for the specific language governing
13
* permissions and limitations under the License.
14
*/
15
16
#pragma once
17
18
#include <
aws/core/client/AsyncCallerContext.h
>
19
20
namespace
Aws
21
{
22
23
namespace
Transfer
24
{
25
class
UploadFileRequest;
26
class
DownloadFileRequest;
27
28
class
UploadFileContext
:
public
Aws::Client::AsyncCallerContext
29
{
30
public
:
31
32
UploadFileContext
(std::shared_ptr<UploadFileRequest> uploadRequest);
33
34
std::shared_ptr<UploadFileRequest>
GetUploadRequest
()
const
{
return
m_request; }
35
36
private
:
37
38
std::shared_ptr<UploadFileRequest> m_request;
39
40
};
41
42
class
DownloadFileContext
:
public
Aws::Client::AsyncCallerContext
43
{
44
public
:
45
46
DownloadFileContext
(std::shared_ptr<DownloadFileRequest> downloadRequest);
47
48
std::shared_ptr<DownloadFileRequest>
GetDownloadRequest
()
const
{
return
m_request; }
49
50
private
:
51
52
std::shared_ptr<DownloadFileRequest> m_request;
53
54
};
55
56
}
57
}
//namespace AWS
AsyncCallerContext.h
Aws::Transfer::DownloadFileContext
Definition:
TransferContext.h:42
Aws::Transfer::UploadFileContext
Definition:
TransferContext.h:28
Aws::Transfer::UploadFileContext::GetUploadRequest
std::shared_ptr< UploadFileRequest > GetUploadRequest() const
Definition:
TransferContext.h:34
Aws::Client::AsyncCallerContext
Definition:
AsyncCallerContext.h:29
Aws::Transfer::UploadFileContext::UploadFileContext
UploadFileContext(std::shared_ptr< UploadFileRequest > uploadRequest)
Aws::Transfer::DownloadFileContext::GetDownloadRequest
std::shared_ptr< DownloadFileRequest > GetDownloadRequest() const
Definition:
TransferContext.h:48
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
Generated by
1.8.11