AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileLocation.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/S3FileLocation.h>
9#include <aws/awstransfer/model/EfsFileLocation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Transfer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TRANSFER_API FileLocation();
37 AWS_TRANSFER_API FileLocation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const S3FileLocation& GetS3FileLocation() const{ return m_s3FileLocation; }
48 inline bool S3FileLocationHasBeenSet() const { return m_s3FileLocationHasBeenSet; }
49 inline void SetS3FileLocation(const S3FileLocation& value) { m_s3FileLocationHasBeenSet = true; m_s3FileLocation = value; }
50 inline void SetS3FileLocation(S3FileLocation&& value) { m_s3FileLocationHasBeenSet = true; m_s3FileLocation = std::move(value); }
51 inline FileLocation& WithS3FileLocation(const S3FileLocation& value) { SetS3FileLocation(value); return *this;}
52 inline FileLocation& WithS3FileLocation(S3FileLocation&& value) { SetS3FileLocation(std::move(value)); return *this;}
54
56
59 inline const EfsFileLocation& GetEfsFileLocation() const{ return m_efsFileLocation; }
60 inline bool EfsFileLocationHasBeenSet() const { return m_efsFileLocationHasBeenSet; }
61 inline void SetEfsFileLocation(const EfsFileLocation& value) { m_efsFileLocationHasBeenSet = true; m_efsFileLocation = value; }
62 inline void SetEfsFileLocation(EfsFileLocation&& value) { m_efsFileLocationHasBeenSet = true; m_efsFileLocation = std::move(value); }
63 inline FileLocation& WithEfsFileLocation(const EfsFileLocation& value) { SetEfsFileLocation(value); return *this;}
64 inline FileLocation& WithEfsFileLocation(EfsFileLocation&& value) { SetEfsFileLocation(std::move(value)); return *this;}
66 private:
67
68 S3FileLocation m_s3FileLocation;
69 bool m_s3FileLocationHasBeenSet = false;
70
71 EfsFileLocation m_efsFileLocation;
72 bool m_efsFileLocationHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Transfer
77} // namespace Aws
FileLocation & WithS3FileLocation(const S3FileLocation &value)
void SetEfsFileLocation(EfsFileLocation &&value)
AWS_TRANSFER_API FileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const EfsFileLocation & GetEfsFileLocation() const
void SetS3FileLocation(const S3FileLocation &value)
void SetEfsFileLocation(const EfsFileLocation &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
FileLocation & WithEfsFileLocation(const EfsFileLocation &value)
void SetS3FileLocation(S3FileLocation &&value)
AWS_TRANSFER_API FileLocation(Aws::Utils::Json::JsonView jsonValue)
const S3FileLocation & GetS3FileLocation() const
FileLocation & WithS3FileLocation(S3FileLocation &&value)
FileLocation & WithEfsFileLocation(EfsFileLocation &&value)
Aws::Utils::Json::JsonValue JsonValue