AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
OverrideButtonConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/ButtonAction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pinpoint {
21namespace Model {
22
29 public:
30 AWS_PINPOINT_API OverrideButtonConfiguration() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ButtonAction GetButtonAction() const { return m_buttonAction; }
40 inline bool ButtonActionHasBeenSet() const { return m_buttonActionHasBeenSet; }
41 inline void SetButtonAction(ButtonAction value) {
42 m_buttonActionHasBeenSet = true;
43 m_buttonAction = value;
44 }
46 SetButtonAction(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLink() const { return m_link; }
56 inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; }
57 template <typename LinkT = Aws::String>
58 void SetLink(LinkT&& value) {
59 m_linkHasBeenSet = true;
60 m_link = std::forward<LinkT>(value);
61 }
62 template <typename LinkT = Aws::String>
64 SetLink(std::forward<LinkT>(value));
65 return *this;
66 }
68 private:
69 ButtonAction m_buttonAction{ButtonAction::NOT_SET};
70
71 Aws::String m_link;
72 bool m_buttonActionHasBeenSet = false;
73 bool m_linkHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Pinpoint
78} // namespace Aws
AWS_PINPOINT_API OverrideButtonConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
OverrideButtonConfiguration & WithLink(LinkT &&value)
AWS_PINPOINT_API OverrideButtonConfiguration(Aws::Utils::Json::JsonView jsonValue)
OverrideButtonConfiguration & WithButtonAction(ButtonAction value)
AWS_PINPOINT_API OverrideButtonConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue