AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputFileLocation.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/S3InputFileLocation.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 InputFileLocation();
37 AWS_TRANSFER_API InputFileLocation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const S3InputFileLocation& GetS3FileLocation() const{ return m_s3FileLocation; }
48 inline bool S3FileLocationHasBeenSet() const { return m_s3FileLocationHasBeenSet; }
49 inline void SetS3FileLocation(const S3InputFileLocation& value) { m_s3FileLocationHasBeenSet = true; m_s3FileLocation = value; }
50 inline void SetS3FileLocation(S3InputFileLocation&& value) { m_s3FileLocationHasBeenSet = true; m_s3FileLocation = std::move(value); }
51 inline InputFileLocation& WithS3FileLocation(const S3InputFileLocation& value) { SetS3FileLocation(value); return *this;}
52 inline InputFileLocation& WithS3FileLocation(S3InputFileLocation&& value) { SetS3FileLocation(std::move(value)); return *this;}
54
56
60 inline const EfsFileLocation& GetEfsFileLocation() const{ return m_efsFileLocation; }
61 inline bool EfsFileLocationHasBeenSet() const { return m_efsFileLocationHasBeenSet; }
62 inline void SetEfsFileLocation(const EfsFileLocation& value) { m_efsFileLocationHasBeenSet = true; m_efsFileLocation = value; }
63 inline void SetEfsFileLocation(EfsFileLocation&& value) { m_efsFileLocationHasBeenSet = true; m_efsFileLocation = std::move(value); }
64 inline InputFileLocation& WithEfsFileLocation(const EfsFileLocation& value) { SetEfsFileLocation(value); return *this;}
65 inline InputFileLocation& WithEfsFileLocation(EfsFileLocation&& value) { SetEfsFileLocation(std::move(value)); return *this;}
67 private:
68
69 S3InputFileLocation m_s3FileLocation;
70 bool m_s3FileLocationHasBeenSet = false;
71
72 EfsFileLocation m_efsFileLocation;
73 bool m_efsFileLocationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Transfer
78} // namespace Aws
void SetEfsFileLocation(const EfsFileLocation &value)
InputFileLocation & WithEfsFileLocation(EfsFileLocation &&value)
void SetS3FileLocation(S3InputFileLocation &&value)
InputFileLocation & WithEfsFileLocation(const EfsFileLocation &value)
void SetS3FileLocation(const S3InputFileLocation &value)
InputFileLocation & WithS3FileLocation(const S3InputFileLocation &value)
const S3InputFileLocation & GetS3FileLocation() const
void SetEfsFileLocation(EfsFileLocation &&value)
AWS_TRANSFER_API InputFileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API InputFileLocation(Aws::Utils::Json::JsonView jsonValue)
const EfsFileLocation & GetEfsFileLocation() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
InputFileLocation & WithS3FileLocation(S3InputFileLocation &&value)
Aws::Utils::Json::JsonValue JsonValue