AWS SDK for C++  1.8.152
AWS SDK for C++
IsBinaryFile.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 
43  inline bool GetSource() const{ return m_source; }
44 
49  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
50 
55  inline void SetSource(bool value) { m_sourceHasBeenSet = true; m_source = value; }
56 
61  inline IsBinaryFile& WithSource(bool value) { SetSource(value); return *this;}
62 
63 
68  inline bool GetDestination() const{ return m_destination; }
69 
74  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
75 
80  inline void SetDestination(bool value) { m_destinationHasBeenSet = true; m_destination = value; }
81 
86  inline IsBinaryFile& WithDestination(bool value) { SetDestination(value); return *this;}
87 
88 
93  inline bool GetBase() const{ return m_base; }
94 
99  inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; }
100 
105  inline void SetBase(bool value) { m_baseHasBeenSet = true; m_base = value; }
106 
111  inline IsBinaryFile& WithBase(bool value) { SetBase(value); return *this;}
112 
113  private:
114 
115  bool m_source;
116  bool m_sourceHasBeenSet;
117 
118  bool m_destination;
119  bool m_destinationHasBeenSet;
120 
121  bool m_base;
122  bool m_baseHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace CodeCommit
127 } // namespace Aws
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::IsBinaryFile::GetSource
bool GetSource() const
Definition: IsBinaryFile.h:43
Aws::CodeCommit::Model::IsBinaryFile::SetSource
void SetSource(bool value)
Definition: IsBinaryFile.h:55
Aws::CodeCommit::Model::IsBinaryFile::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: IsBinaryFile.h:74
Aws::CodeCommit::Model::IsBinaryFile::SetBase
void SetBase(bool value)
Definition: IsBinaryFile.h:105
Aws::CodeCommit::Model::IsBinaryFile::BaseHasBeenSet
bool BaseHasBeenSet() const
Definition: IsBinaryFile.h:99
Aws::CodeCommit::Model::IsBinaryFile
Definition: IsBinaryFile.h:31
Aws::CodeCommit::Model::IsBinaryFile::WithSource
IsBinaryFile & WithSource(bool value)
Definition: IsBinaryFile.h:61
Aws::CodeCommit::Model::IsBinaryFile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::IsBinaryFile::operator=
IsBinaryFile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::IsBinaryFile::GetDestination
bool GetDestination() const
Definition: IsBinaryFile.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::CodeCommit::Model::IsBinaryFile::SetDestination
void SetDestination(bool value)
Definition: IsBinaryFile.h:80
Aws::CodeCommit::Model::IsBinaryFile::WithBase
IsBinaryFile & WithBase(bool value)
Definition: IsBinaryFile.h:111
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::IsBinaryFile::IsBinaryFile
IsBinaryFile()
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::IsBinaryFile::IsBinaryFile
IsBinaryFile(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::IsBinaryFile::WithDestination
IsBinaryFile & WithDestination(bool value)
Definition: IsBinaryFile.h:86
Aws::CodeCommit::Model::IsBinaryFile::GetBase
bool GetBase() const
Definition: IsBinaryFile.h:93
Aws::CodeCommit::Model::IsBinaryFile::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: IsBinaryFile.h:49