AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
IsBinaryFile.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
26 public:
27 AWS_CODECOMMIT_API IsBinaryFile() = default;
28 AWS_CODECOMMIT_API IsBinaryFile(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CODECOMMIT_API IsBinaryFile& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline bool GetSource() const { return m_source; }
38 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
39 inline void SetSource(bool value) {
40 m_sourceHasBeenSet = true;
41 m_source = value;
42 }
43 inline IsBinaryFile& WithSource(bool value) {
44 SetSource(value);
45 return *this;
46 }
48
50
54 inline bool GetDestination() const { return m_destination; }
55 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
56 inline void SetDestination(bool value) {
57 m_destinationHasBeenSet = true;
58 m_destination = value;
59 }
60 inline IsBinaryFile& WithDestination(bool value) {
61 SetDestination(value);
62 return *this;
63 }
65
67
71 inline bool GetBase() const { return m_base; }
72 inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; }
73 inline void SetBase(bool value) {
74 m_baseHasBeenSet = true;
75 m_base = value;
76 }
77 inline IsBinaryFile& WithBase(bool value) {
78 SetBase(value);
79 return *this;
80 }
82 private:
83 bool m_source{false};
84
85 bool m_destination{false};
86
87 bool m_base{false};
88 bool m_sourceHasBeenSet = false;
89 bool m_destinationHasBeenSet = false;
90 bool m_baseHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace CodeCommit
95} // namespace Aws
IsBinaryFile & WithDestination(bool value)
AWS_CODECOMMIT_API IsBinaryFile & operator=(Aws::Utils::Json::JsonView jsonValue)
IsBinaryFile & WithSource(bool value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECOMMIT_API IsBinaryFile(Aws::Utils::Json::JsonView jsonValue)
IsBinaryFile & WithBase(bool value)
AWS_CODECOMMIT_API IsBinaryFile()=default
Aws::Utils::Json::JsonValue JsonValue