AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
FieldAttributes.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/TextAttributes.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCases {
20namespace Model {
21
28 public:
29 AWS_CONNECTCASES_API FieldAttributes() = default;
30 AWS_CONNECTCASES_API FieldAttributes(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECTCASES_API FieldAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const TextAttributes& GetText() const { return m_text; }
39 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
40 template <typename TextT = TextAttributes>
41 void SetText(TextT&& value) {
42 m_textHasBeenSet = true;
43 m_text = std::forward<TextT>(value);
44 }
45 template <typename TextT = TextAttributes>
46 FieldAttributes& WithText(TextT&& value) {
47 SetText(std::forward<TextT>(value));
48 return *this;
49 }
51 private:
52 TextAttributes m_text;
53 bool m_textHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ConnectCases
58} // namespace Aws
AWS_CONNECTCASES_API FieldAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API FieldAttributes()=default
const TextAttributes & GetText() const
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
FieldAttributes & WithText(TextT &&value)
AWS_CONNECTCASES_API FieldAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue