AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WrapOptions.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/LineTerminator.h>
9#include <aws/b2bi/model/WrapFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace B2BI {
21namespace Model {
22
30 public:
31 AWS_B2BI_API WrapOptions() = default;
32 AWS_B2BI_API WrapOptions(Aws::Utils::Json::JsonView jsonValue);
35
37
46 inline WrapFormat GetWrapBy() const { return m_wrapBy; }
47 inline bool WrapByHasBeenSet() const { return m_wrapByHasBeenSet; }
48 inline void SetWrapBy(WrapFormat value) {
49 m_wrapByHasBeenSet = true;
50 m_wrapBy = value;
51 }
53 SetWrapBy(value);
54 return *this;
55 }
57
59
65 inline LineTerminator GetLineTerminator() const { return m_lineTerminator; }
66 inline bool LineTerminatorHasBeenSet() const { return m_lineTerminatorHasBeenSet; }
67 inline void SetLineTerminator(LineTerminator value) {
68 m_lineTerminatorHasBeenSet = true;
69 m_lineTerminator = value;
70 }
72 SetLineTerminator(value);
73 return *this;
74 }
76
78
82 inline int GetLineLength() const { return m_lineLength; }
83 inline bool LineLengthHasBeenSet() const { return m_lineLengthHasBeenSet; }
84 inline void SetLineLength(int value) {
85 m_lineLengthHasBeenSet = true;
86 m_lineLength = value;
87 }
88 inline WrapOptions& WithLineLength(int value) {
89 SetLineLength(value);
90 return *this;
91 }
93 private:
95
97
98 int m_lineLength{0};
99 bool m_wrapByHasBeenSet = false;
100 bool m_lineTerminatorHasBeenSet = false;
101 bool m_lineLengthHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace B2BI
106} // namespace Aws
WrapOptions & WithLineTerminator(LineTerminator value)
Definition WrapOptions.h:71
bool LineTerminatorHasBeenSet() const
Definition WrapOptions.h:66
void SetWrapBy(WrapFormat value)
Definition WrapOptions.h:48
AWS_B2BI_API WrapOptions()=default
AWS_B2BI_API WrapOptions(Aws::Utils::Json::JsonView jsonValue)
void SetLineLength(int value)
Definition WrapOptions.h:84
WrapFormat GetWrapBy() const
Definition WrapOptions.h:46
LineTerminator GetLineTerminator() const
Definition WrapOptions.h:65
void SetLineTerminator(LineTerminator value)
Definition WrapOptions.h:67
WrapOptions & WithLineLength(int value)
Definition WrapOptions.h:88
AWS_B2BI_API WrapOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WrapOptions & WithWrapBy(WrapFormat value)
Definition WrapOptions.h:52
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue