AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileSizes.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeCommit
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CODECOMMIT_API FileSizes();
34 AWS_CODECOMMIT_API FileSizes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODECOMMIT_API FileSizes& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetSource() const{ return m_source; }
44 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
45 inline void SetSource(long long value) { m_sourceHasBeenSet = true; m_source = value; }
46 inline FileSizes& WithSource(long long value) { SetSource(value); return *this;}
48
50
53 inline long long GetDestination() const{ return m_destination; }
54 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
55 inline void SetDestination(long long value) { m_destinationHasBeenSet = true; m_destination = value; }
56 inline FileSizes& WithDestination(long long value) { SetDestination(value); return *this;}
58
60
63 inline long long GetBase() const{ return m_base; }
64 inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; }
65 inline void SetBase(long long value) { m_baseHasBeenSet = true; m_base = value; }
66 inline FileSizes& WithBase(long long value) { SetBase(value); return *this;}
68 private:
69
70 long long m_source;
71 bool m_sourceHasBeenSet = false;
72
73 long long m_destination;
74 bool m_destinationHasBeenSet = false;
75
76 long long m_base;
77 bool m_baseHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CodeCommit
82} // namespace Aws
void SetBase(long long value)
Definition FileSizes.h:65
void SetDestination(long long value)
Definition FileSizes.h:55
void SetSource(long long value)
Definition FileSizes.h:45
AWS_CODECOMMIT_API FileSizes(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API FileSizes()
FileSizes & WithSource(long long value)
Definition FileSizes.h:46
AWS_CODECOMMIT_API FileSizes & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetDestination() const
Definition FileSizes.h:53
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
FileSizes & WithDestination(long long value)
Definition FileSizes.h:56
FileSizes & WithBase(long long value)
Definition FileSizes.h:66
Aws::Utils::Json::JsonValue JsonValue