AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannel(const Aws::String& value) { m_channelHasBeenSet = true; m_channel = value; }
50 inline void SetChannel(Aws::String&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
51 inline void SetChannel(const char* value) { m_channelHasBeenSet = true; m_channel.assign(value); }
52 inline ContactContent& WithChannel(const Aws::String& value) { SetChannel(value); return *this;}
53 inline ContactContent& WithChannel(Aws::String&& value) { SetChannel(std::move(value)); return *this;}
54 inline ContactContent& WithChannel(const char* value) { SetChannel(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetConnectedToSystemTime() const{ return m_connectedToSystemTime; }
63 inline bool ConnectedToSystemTimeHasBeenSet() const { return m_connectedToSystemTimeHasBeenSet; }
64 inline void SetConnectedToSystemTime(const Aws::Utils::DateTime& value) { m_connectedToSystemTimeHasBeenSet = true; m_connectedToSystemTime = value; }
65 inline void SetConnectedToSystemTime(Aws::Utils::DateTime&& value) { m_connectedToSystemTimeHasBeenSet = true; m_connectedToSystemTime = std::move(value); }
69
71
74 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
75 inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
76 inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
77 inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
78 inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
79 inline ContactContent& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
80 inline ContactContent& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
81 inline ContactContent& WithContactArn(const char* value) { SetContactArn(value); return *this;}
83 private:
84
85 Aws::String m_channel;
86 bool m_channelHasBeenSet = false;
87
88 Aws::Utils::DateTime m_connectedToSystemTime;
89 bool m_connectedToSystemTimeHasBeenSet = false;
90
91 Aws::String m_contactArn;
92 bool m_contactArnHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ConnectCases
97} // namespace Aws
ContactContent & WithContactArn(const char *value)
AWS_CONNECTCASES_API ContactContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContactArn() const
void SetConnectedToSystemTime(Aws::Utils::DateTime &&value)
AWS_CONNECTCASES_API ContactContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContactArn(Aws::String &&value)
ContactContent & WithConnectedToSystemTime(Aws::Utils::DateTime &&value)
void SetConnectedToSystemTime(const Aws::Utils::DateTime &value)
ContactContent & WithChannel(const char *value)
const Aws::Utils::DateTime & GetConnectedToSystemTime() const
ContactContent & WithChannel(Aws::String &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
ContactContent & WithContactArn(Aws::String &&value)
ContactContent & WithChannel(const Aws::String &value)
void SetContactArn(const Aws::String &value)
ContactContent & WithConnectedToSystemTime(const Aws::Utils::DateTime &value)
void SetChannel(const Aws::String &value)
ContactContent & WithContactArn(const Aws::String &value)
const Aws::String & GetChannel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue