AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileInformation.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/ReadSetS3Access.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OMICS_API FileInformation();
37 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetTotalParts() const{ return m_totalParts; }
45 inline bool TotalPartsHasBeenSet() const { return m_totalPartsHasBeenSet; }
46 inline void SetTotalParts(int value) { m_totalPartsHasBeenSet = true; m_totalParts = value; }
47 inline FileInformation& WithTotalParts(int value) { SetTotalParts(value); return *this;}
49
51
54 inline long long GetPartSize() const{ return m_partSize; }
55 inline bool PartSizeHasBeenSet() const { return m_partSizeHasBeenSet; }
56 inline void SetPartSize(long long value) { m_partSizeHasBeenSet = true; m_partSize = value; }
57 inline FileInformation& WithPartSize(long long value) { SetPartSize(value); return *this;}
59
61
64 inline long long GetContentLength() const{ return m_contentLength; }
65 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
66 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
67 inline FileInformation& WithContentLength(long long value) { SetContentLength(value); return *this;}
69
71
74 inline const ReadSetS3Access& GetS3Access() const{ return m_s3Access; }
75 inline bool S3AccessHasBeenSet() const { return m_s3AccessHasBeenSet; }
76 inline void SetS3Access(const ReadSetS3Access& value) { m_s3AccessHasBeenSet = true; m_s3Access = value; }
77 inline void SetS3Access(ReadSetS3Access&& value) { m_s3AccessHasBeenSet = true; m_s3Access = std::move(value); }
78 inline FileInformation& WithS3Access(const ReadSetS3Access& value) { SetS3Access(value); return *this;}
79 inline FileInformation& WithS3Access(ReadSetS3Access&& value) { SetS3Access(std::move(value)); return *this;}
81 private:
82
83 int m_totalParts;
84 bool m_totalPartsHasBeenSet = false;
85
86 long long m_partSize;
87 bool m_partSizeHasBeenSet = false;
88
89 long long m_contentLength;
90 bool m_contentLengthHasBeenSet = false;
91
92 ReadSetS3Access m_s3Access;
93 bool m_s3AccessHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Omics
98} // namespace Aws
void SetContentLength(long long value)
void SetS3Access(ReadSetS3Access &&value)
FileInformation & WithS3Access(ReadSetS3Access &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const ReadSetS3Access & GetS3Access() const
AWS_OMICS_API FileInformation(Aws::Utils::Json::JsonView jsonValue)
FileInformation & WithS3Access(const ReadSetS3Access &value)
FileInformation & WithTotalParts(int value)
void SetS3Access(const ReadSetS3Access &value)
AWS_OMICS_API FileInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
FileInformation & WithPartSize(long long value)
FileInformation & WithContentLength(long long value)
Aws::Utils::Json::JsonValue JsonValue