AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Relay.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 MailManager
23{
24namespace Model
25{
26
33 class Relay
34 {
35 public:
36 AWS_MAILMANAGER_API Relay();
37 AWS_MAILMANAGER_API Relay(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API Relay& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
47 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
48 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = value; }
49 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::move(value); }
51 inline Relay& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetRelayId() const{ return m_relayId; }
59 inline bool RelayIdHasBeenSet() const { return m_relayIdHasBeenSet; }
60 inline void SetRelayId(const Aws::String& value) { m_relayIdHasBeenSet = true; m_relayId = value; }
61 inline void SetRelayId(Aws::String&& value) { m_relayIdHasBeenSet = true; m_relayId = std::move(value); }
62 inline void SetRelayId(const char* value) { m_relayIdHasBeenSet = true; m_relayId.assign(value); }
63 inline Relay& WithRelayId(const Aws::String& value) { SetRelayId(value); return *this;}
64 inline Relay& WithRelayId(Aws::String&& value) { SetRelayId(std::move(value)); return *this;}
65 inline Relay& WithRelayId(const char* value) { SetRelayId(value); return *this;}
67
69
72 inline const Aws::String& GetRelayName() const{ return m_relayName; }
73 inline bool RelayNameHasBeenSet() const { return m_relayNameHasBeenSet; }
74 inline void SetRelayName(const Aws::String& value) { m_relayNameHasBeenSet = true; m_relayName = value; }
75 inline void SetRelayName(Aws::String&& value) { m_relayNameHasBeenSet = true; m_relayName = std::move(value); }
76 inline void SetRelayName(const char* value) { m_relayNameHasBeenSet = true; m_relayName.assign(value); }
77 inline Relay& WithRelayName(const Aws::String& value) { SetRelayName(value); return *this;}
78 inline Relay& WithRelayName(Aws::String&& value) { SetRelayName(std::move(value)); return *this;}
79 inline Relay& WithRelayName(const char* value) { SetRelayName(value); return *this;}
81 private:
82
83 Aws::Utils::DateTime m_lastModifiedTimestamp;
84 bool m_lastModifiedTimestampHasBeenSet = false;
85
86 Aws::String m_relayId;
87 bool m_relayIdHasBeenSet = false;
88
89 Aws::String m_relayName;
90 bool m_relayNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MailManager
95} // namespace Aws
void SetRelayId(Aws::String &&value)
Definition Relay.h:61
Relay & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
Definition Relay.h:50
void SetRelayName(Aws::String &&value)
Definition Relay.h:75
void SetRelayName(const char *value)
Definition Relay.h:76
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
Definition Relay.h:49
Relay & WithRelayName(const char *value)
Definition Relay.h:79
void SetRelayId(const char *value)
Definition Relay.h:62
Relay & WithRelayName(Aws::String &&value)
Definition Relay.h:78
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRelayName() const
Definition Relay.h:72
AWS_MAILMANAGER_API Relay()
void SetRelayId(const Aws::String &value)
Definition Relay.h:60
Relay & WithRelayName(const Aws::String &value)
Definition Relay.h:77
Relay & WithRelayId(const Aws::String &value)
Definition Relay.h:63
const Aws::String & GetRelayId() const
Definition Relay.h:58
bool RelayIdHasBeenSet() const
Definition Relay.h:59
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
Definition Relay.h:48
AWS_MAILMANAGER_API Relay(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
Definition Relay.h:46
Relay & WithRelayId(const char *value)
Definition Relay.h:65
Relay & WithRelayId(Aws::String &&value)
Definition Relay.h:64
Relay & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
Definition Relay.h:51
AWS_MAILMANAGER_API Relay & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RelayNameHasBeenSet() const
Definition Relay.h:73
bool LastModifiedTimestampHasBeenSet() const
Definition Relay.h:47
void SetRelayName(const Aws::String &value)
Definition Relay.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue