AWS SDK for C++  1.8.152
AWS SDK for C++
FileSizes.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace CodeCommit
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline long long GetSource() const{ return m_source; }
43 
47  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 
52  inline void SetSource(long long value) { m_sourceHasBeenSet = true; m_source = value; }
53 
57  inline FileSizes& WithSource(long long value) { SetSource(value); return *this;}
58 
59 
63  inline long long GetDestination() const{ return m_destination; }
64 
68  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
69 
73  inline void SetDestination(long long value) { m_destinationHasBeenSet = true; m_destination = value; }
74 
78  inline FileSizes& WithDestination(long long value) { SetDestination(value); return *this;}
79 
80 
84  inline long long GetBase() const{ return m_base; }
85 
89  inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; }
90 
94  inline void SetBase(long long value) { m_baseHasBeenSet = true; m_base = value; }
95 
99  inline FileSizes& WithBase(long long value) { SetBase(value); return *this;}
100 
101  private:
102 
103  long long m_source;
104  bool m_sourceHasBeenSet;
105 
106  long long m_destination;
107  bool m_destinationHasBeenSet;
108 
109  long long m_base;
110  bool m_baseHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace CodeCommit
115 } // namespace Aws
Aws::CodeCommit::Model::FileSizes::GetSource
long long GetSource() const
Definition: FileSizes.h:42
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::FileSizes::BaseHasBeenSet
bool BaseHasBeenSet() const
Definition: FileSizes.h:89
Aws::CodeCommit::Model::FileSizes::WithSource
FileSizes & WithSource(long long value)
Definition: FileSizes.h:57
Aws::CodeCommit::Model::FileSizes::WithBase
FileSizes & WithBase(long long value)
Definition: FileSizes.h:99
Aws::CodeCommit::Model::FileSizes
Definition: FileSizes.h:31
Aws::CodeCommit::Model::FileSizes::WithDestination
FileSizes & WithDestination(long long value)
Definition: FileSizes.h:78
Aws::CodeCommit::Model::FileSizes::GetDestination
long long GetDestination() const
Definition: FileSizes.h:63
Aws::CodeCommit::Model::FileSizes::GetBase
long long GetBase() const
Definition: FileSizes.h:84
Aws::CodeCommit::Model::FileSizes::SetBase
void SetBase(long long value)
Definition: FileSizes.h:94
Aws::CodeCommit::Model::FileSizes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::FileSizes::FileSizes
FileSizes(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::FileSizes::SetSource
void SetSource(long long value)
Definition: FileSizes.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::FileSizes::SetDestination
void SetDestination(long long value)
Definition: FileSizes.h:73
Aws::CodeCommit::Model::FileSizes::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: FileSizes.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::FileSizes::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: FileSizes.h:47
Aws::CodeCommit::Model::FileSizes::FileSizes
FileSizes()
Aws::CodeCommit::Model::FileSizes::operator=
FileSizes & operator=(Aws::Utils::Json::JsonView jsonValue)