AWS SDK for C++

AWS SDK for C++ Version 1.11.837

Loading...
Searching...
No Matches
WidgetDestination.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
30 public:
31 AWS_CONNECT_API WidgetDestination() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetWidgetId() const { return m_widgetId; }
42 inline bool WidgetIdHasBeenSet() const { return m_widgetIdHasBeenSet; }
43 template <typename WidgetIdT = Aws::String>
44 void SetWidgetId(WidgetIdT&& value) {
45 m_widgetIdHasBeenSet = true;
46 m_widgetId = std::forward<WidgetIdT>(value);
47 }
48 template <typename WidgetIdT = Aws::String>
49 WidgetDestination& WithWidgetId(WidgetIdT&& value) {
50 SetWidgetId(std::forward<WidgetIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetProfileId() const { return m_profileId; }
61 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
62 template <typename ProfileIdT = Aws::String>
63 void SetProfileId(ProfileIdT&& value) {
64 m_profileIdHasBeenSet = true;
65 m_profileId = std::forward<ProfileIdT>(value);
66 }
67 template <typename ProfileIdT = Aws::String>
68 WidgetDestination& WithProfileId(ProfileIdT&& value) {
69 SetProfileId(std::forward<ProfileIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_widgetId;
75
76 Aws::String m_profileId;
77 bool m_widgetIdHasBeenSet = false;
78 bool m_profileIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Connect
83} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WidgetDestination & WithWidgetId(WidgetIdT &&value)
AWS_CONNECT_API WidgetDestination(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
const Aws::String & GetWidgetId() const
WidgetDestination & WithProfileId(ProfileIdT &&value)
AWS_CONNECT_API WidgetDestination()=default
AWS_CONNECT_API WidgetDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue