AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WrapOptions.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/WrapFormat.h>
9#include <aws/b2bi/model/LineTerminator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_B2BI_API WrapOptions() = default;
37 AWS_B2BI_API WrapOptions(Aws::Utils::Json::JsonView jsonValue);
40
41
43
52 inline WrapFormat GetWrapBy() const { return m_wrapBy; }
53 inline bool WrapByHasBeenSet() const { return m_wrapByHasBeenSet; }
54 inline void SetWrapBy(WrapFormat value) { m_wrapByHasBeenSet = true; m_wrapBy = value; }
55 inline WrapOptions& WithWrapBy(WrapFormat value) { SetWrapBy(value); return *this;}
57
59
65 inline LineTerminator GetLineTerminator() const { return m_lineTerminator; }
66 inline bool LineTerminatorHasBeenSet() const { return m_lineTerminatorHasBeenSet; }
67 inline void SetLineTerminator(LineTerminator value) { m_lineTerminatorHasBeenSet = true; m_lineTerminator = value; }
68 inline WrapOptions& WithLineTerminator(LineTerminator value) { SetLineTerminator(value); return *this;}
70
72
76 inline int GetLineLength() const { return m_lineLength; }
77 inline bool LineLengthHasBeenSet() const { return m_lineLengthHasBeenSet; }
78 inline void SetLineLength(int value) { m_lineLengthHasBeenSet = true; m_lineLength = value; }
79 inline WrapOptions& WithLineLength(int value) { SetLineLength(value); return *this;}
81 private:
82
84 bool m_wrapByHasBeenSet = false;
85
87 bool m_lineTerminatorHasBeenSet = false;
88
89 int m_lineLength{0};
90 bool m_lineLengthHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace B2BI
95} // namespace Aws
WrapOptions & WithLineTerminator(LineTerminator value)
Definition WrapOptions.h:68
bool LineTerminatorHasBeenSet() const
Definition WrapOptions.h:66
void SetWrapBy(WrapFormat value)
Definition WrapOptions.h:54
AWS_B2BI_API WrapOptions()=default
AWS_B2BI_API WrapOptions(Aws::Utils::Json::JsonView jsonValue)
void SetLineLength(int value)
Definition WrapOptions.h:78
WrapFormat GetWrapBy() const
Definition WrapOptions.h:52
LineTerminator GetLineTerminator() const
Definition WrapOptions.h:65
void SetLineTerminator(LineTerminator value)
Definition WrapOptions.h:67
WrapOptions & WithLineLength(int value)
Definition WrapOptions.h:79
AWS_B2BI_API WrapOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WrapOptions & WithWrapBy(WrapFormat value)
Definition WrapOptions.h:55
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue