AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
ContactContent.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCases {
21namespace Model {
22
30 public:
31 AWS_CONNECTCASES_API ContactContent() = default;
32 AWS_CONNECTCASES_API ContactContent(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCASES_API ContactContent& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetContactArn() const { return m_contactArn; }
41 inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
42 template <typename ContactArnT = Aws::String>
43 void SetContactArn(ContactArnT&& value) {
44 m_contactArnHasBeenSet = true;
45 m_contactArn = std::forward<ContactArnT>(value);
46 }
47 template <typename ContactArnT = Aws::String>
48 ContactContent& WithContactArn(ContactArnT&& value) {
49 SetContactArn(std::forward<ContactArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetChannel() const { return m_channel; }
60 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
61 template <typename ChannelT = Aws::String>
62 void SetChannel(ChannelT&& value) {
63 m_channelHasBeenSet = true;
64 m_channel = std::forward<ChannelT>(value);
65 }
66 template <typename ChannelT = Aws::String>
67 ContactContent& WithChannel(ChannelT&& value) {
68 SetChannel(std::forward<ChannelT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Utils::DateTime& GetConnectedToSystemTime() const { return m_connectedToSystemTime; }
79 inline bool ConnectedToSystemTimeHasBeenSet() const { return m_connectedToSystemTimeHasBeenSet; }
80 template <typename ConnectedToSystemTimeT = Aws::Utils::DateTime>
81 void SetConnectedToSystemTime(ConnectedToSystemTimeT&& value) {
82 m_connectedToSystemTimeHasBeenSet = true;
83 m_connectedToSystemTime = std::forward<ConnectedToSystemTimeT>(value);
84 }
85 template <typename ConnectedToSystemTimeT = Aws::Utils::DateTime>
86 ContactContent& WithConnectedToSystemTime(ConnectedToSystemTimeT&& value) {
87 SetConnectedToSystemTime(std::forward<ConnectedToSystemTimeT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_contactArn;
93
94 Aws::String m_channel;
95
96 Aws::Utils::DateTime m_connectedToSystemTime{};
97 bool m_contactArnHasBeenSet = false;
98 bool m_channelHasBeenSet = false;
99 bool m_connectedToSystemTimeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace ConnectCases
104} // namespace Aws
AWS_CONNECTCASES_API ContactContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContactArn() const
ContactContent & WithConnectedToSystemTime(ConnectedToSystemTimeT &&value)
AWS_CONNECTCASES_API ContactContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContactArn(ContactArnT &&value)
ContactContent & WithChannel(ChannelT &&value)
ContactContent & WithContactArn(ContactArnT &&value)
const Aws::Utils::DateTime & GetConnectedToSystemTime() const
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API ContactContent()=default
const Aws::String & GetChannel() const
void SetConnectedToSystemTime(ConnectedToSystemTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue