AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OverrideButtonConfiguration.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/ButtonAction.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 OverrideButtonConfiguration();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ButtonAction& GetButtonAction() const{ return m_buttonAction; }
46 inline bool ButtonActionHasBeenSet() const { return m_buttonActionHasBeenSet; }
47 inline void SetButtonAction(const ButtonAction& value) { m_buttonActionHasBeenSet = true; m_buttonAction = value; }
48 inline void SetButtonAction(ButtonAction&& value) { m_buttonActionHasBeenSet = true; m_buttonAction = std::move(value); }
49 inline OverrideButtonConfiguration& WithButtonAction(const ButtonAction& value) { SetButtonAction(value); return *this;}
50 inline OverrideButtonConfiguration& WithButtonAction(ButtonAction&& value) { SetButtonAction(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetLink() const{ return m_link; }
58 inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; }
59 inline void SetLink(const Aws::String& value) { m_linkHasBeenSet = true; m_link = value; }
60 inline void SetLink(Aws::String&& value) { m_linkHasBeenSet = true; m_link = std::move(value); }
61 inline void SetLink(const char* value) { m_linkHasBeenSet = true; m_link.assign(value); }
62 inline OverrideButtonConfiguration& WithLink(const Aws::String& value) { SetLink(value); return *this;}
63 inline OverrideButtonConfiguration& WithLink(Aws::String&& value) { SetLink(std::move(value)); return *this;}
64 inline OverrideButtonConfiguration& WithLink(const char* value) { SetLink(value); return *this;}
66 private:
67
68 ButtonAction m_buttonAction;
69 bool m_buttonActionHasBeenSet = false;
70
71 Aws::String m_link;
72 bool m_linkHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Pinpoint
77} // namespace Aws
AWS_PINPOINT_API OverrideButtonConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
OverrideButtonConfiguration & WithLink(Aws::String &&value)
OverrideButtonConfiguration & WithButtonAction(const ButtonAction &value)
OverrideButtonConfiguration & WithButtonAction(ButtonAction &&value)
AWS_PINPOINT_API OverrideButtonConfiguration(Aws::Utils::Json::JsonView jsonValue)
OverrideButtonConfiguration & WithLink(const Aws::String &value)
OverrideButtonConfiguration & WithLink(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue