AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContactContent.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 ConnectCases
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECTCASES_API ContactContent() = default;
37 AWS_CONNECTCASES_API ContactContent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API ContactContent& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetChannel() const { return m_channel; }
48 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
49 template<typename ChannelT = Aws::String>
50 void SetChannel(ChannelT&& value) { m_channelHasBeenSet = true; m_channel = std::forward<ChannelT>(value); }
51 template<typename ChannelT = Aws::String>
52 ContactContent& WithChannel(ChannelT&& value) { SetChannel(std::forward<ChannelT>(value)); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetConnectedToSystemTime() const { return m_connectedToSystemTime; }
61 inline bool ConnectedToSystemTimeHasBeenSet() const { return m_connectedToSystemTimeHasBeenSet; }
62 template<typename ConnectedToSystemTimeT = Aws::Utils::DateTime>
63 void SetConnectedToSystemTime(ConnectedToSystemTimeT&& value) { m_connectedToSystemTimeHasBeenSet = true; m_connectedToSystemTime = std::forward<ConnectedToSystemTimeT>(value); }
64 template<typename ConnectedToSystemTimeT = Aws::Utils::DateTime>
65 ContactContent& WithConnectedToSystemTime(ConnectedToSystemTimeT&& value) { SetConnectedToSystemTime(std::forward<ConnectedToSystemTimeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetContactArn() const { return m_contactArn; }
73 inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
74 template<typename ContactArnT = Aws::String>
75 void SetContactArn(ContactArnT&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::forward<ContactArnT>(value); }
76 template<typename ContactArnT = Aws::String>
77 ContactContent& WithContactArn(ContactArnT&& value) { SetContactArn(std::forward<ContactArnT>(value)); return *this;}
79 private:
80
81 Aws::String m_channel;
82 bool m_channelHasBeenSet = false;
83
84 Aws::Utils::DateTime m_connectedToSystemTime{};
85 bool m_connectedToSystemTimeHasBeenSet = false;
86
87 Aws::String m_contactArn;
88 bool m_contactArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ConnectCases
93} // 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