AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
FileSizes.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CodeCommit {
17namespace Model {
18
25class FileSizes {
26 public:
27 AWS_CODECOMMIT_API FileSizes() = default;
28 AWS_CODECOMMIT_API FileSizes(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CODECOMMIT_API FileSizes& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetSource() const { return m_source; }
37 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
38 inline void SetSource(long long value) {
39 m_sourceHasBeenSet = true;
40 m_source = value;
41 }
42 inline FileSizes& WithSource(long long value) {
43 SetSource(value);
44 return *this;
45 }
47
49
52 inline long long GetDestination() const { return m_destination; }
53 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
54 inline void SetDestination(long long value) {
55 m_destinationHasBeenSet = true;
56 m_destination = value;
57 }
58 inline FileSizes& WithDestination(long long value) {
59 SetDestination(value);
60 return *this;
61 }
63
65
68 inline long long GetBase() const { return m_base; }
69 inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; }
70 inline void SetBase(long long value) {
71 m_baseHasBeenSet = true;
72 m_base = value;
73 }
74 inline FileSizes& WithBase(long long value) {
75 SetBase(value);
76 return *this;
77 }
79 private:
80 long long m_source{0};
81
82 long long m_destination{0};
83
84 long long m_base{0};
85 bool m_sourceHasBeenSet = false;
86 bool m_destinationHasBeenSet = false;
87 bool m_baseHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace CodeCommit
92} // namespace Aws
void SetBase(long long value)
Definition FileSizes.h:70
void SetDestination(long long value)
Definition FileSizes.h:54
void SetSource(long long value)
Definition FileSizes.h:38
AWS_CODECOMMIT_API FileSizes(Aws::Utils::Json::JsonView jsonValue)
FileSizes & WithSource(long long value)
Definition FileSizes.h:42
AWS_CODECOMMIT_API FileSizes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API FileSizes()=default
long long GetDestination() const
Definition FileSizes.h:52
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
FileSizes & WithDestination(long long value)
Definition FileSizes.h:58
FileSizes & WithBase(long long value)
Definition FileSizes.h:74
Aws::Utils::Json::JsonValue JsonValue