AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InAppMessageHeaderConfig.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Alignment.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Pinpoint
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PINPOINT_API InAppMessageHeaderConfig();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Alignment& GetAlignment() const{ return m_alignment; }
46 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
47 inline void SetAlignment(const Alignment& value) { m_alignmentHasBeenSet = true; m_alignment = value; }
48 inline void SetAlignment(Alignment&& value) { m_alignmentHasBeenSet = true; m_alignment = std::move(value); }
49 inline InAppMessageHeaderConfig& WithAlignment(const Alignment& value) { SetAlignment(value); return *this;}
50 inline InAppMessageHeaderConfig& WithAlignment(Alignment&& value) { SetAlignment(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetHeader() const{ return m_header; }
58 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
59 inline void SetHeader(const Aws::String& value) { m_headerHasBeenSet = true; m_header = value; }
60 inline void SetHeader(Aws::String&& value) { m_headerHasBeenSet = true; m_header = std::move(value); }
61 inline void SetHeader(const char* value) { m_headerHasBeenSet = true; m_header.assign(value); }
62 inline InAppMessageHeaderConfig& WithHeader(const Aws::String& value) { SetHeader(value); return *this;}
63 inline InAppMessageHeaderConfig& WithHeader(Aws::String&& value) { SetHeader(std::move(value)); return *this;}
64 inline InAppMessageHeaderConfig& WithHeader(const char* value) { SetHeader(value); return *this;}
66
68
71 inline const Aws::String& GetTextColor() const{ return m_textColor; }
72 inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; }
73 inline void SetTextColor(const Aws::String& value) { m_textColorHasBeenSet = true; m_textColor = value; }
74 inline void SetTextColor(Aws::String&& value) { m_textColorHasBeenSet = true; m_textColor = std::move(value); }
75 inline void SetTextColor(const char* value) { m_textColorHasBeenSet = true; m_textColor.assign(value); }
76 inline InAppMessageHeaderConfig& WithTextColor(const Aws::String& value) { SetTextColor(value); return *this;}
77 inline InAppMessageHeaderConfig& WithTextColor(Aws::String&& value) { SetTextColor(std::move(value)); return *this;}
78 inline InAppMessageHeaderConfig& WithTextColor(const char* value) { SetTextColor(value); return *this;}
80 private:
81
82 Alignment m_alignment;
83 bool m_alignmentHasBeenSet = false;
84
85 Aws::String m_header;
86 bool m_headerHasBeenSet = false;
87
88 Aws::String m_textColor;
89 bool m_textColorHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Pinpoint
94} // namespace Aws
InAppMessageHeaderConfig & WithHeader(const Aws::String &value)
AWS_PINPOINT_API InAppMessageHeaderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InAppMessageHeaderConfig & WithAlignment(Alignment &&value)
InAppMessageHeaderConfig & WithTextColor(const char *value)
InAppMessageHeaderConfig & WithHeader(const char *value)
InAppMessageHeaderConfig & WithTextColor(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API InAppMessageHeaderConfig(Aws::Utils::Json::JsonView jsonValue)
InAppMessageHeaderConfig & WithTextColor(Aws::String &&value)
InAppMessageHeaderConfig & WithAlignment(const Alignment &value)
InAppMessageHeaderConfig & WithHeader(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue