AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngressPointPasswordConfiguration.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
34 {
35 public:
36 AWS_MAILMANAGER_API IngressPointPasswordConfiguration();
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetPreviousSmtpPasswordExpiryTimestamp() const{ return m_previousSmtpPasswordExpiryTimestamp; }
47 inline bool PreviousSmtpPasswordExpiryTimestampHasBeenSet() const { return m_previousSmtpPasswordExpiryTimestampHasBeenSet; }
48 inline void SetPreviousSmtpPasswordExpiryTimestamp(const Aws::Utils::DateTime& value) { m_previousSmtpPasswordExpiryTimestampHasBeenSet = true; m_previousSmtpPasswordExpiryTimestamp = value; }
49 inline void SetPreviousSmtpPasswordExpiryTimestamp(Aws::Utils::DateTime&& value) { m_previousSmtpPasswordExpiryTimestampHasBeenSet = true; m_previousSmtpPasswordExpiryTimestamp = std::move(value); }
53
55
58 inline const Aws::String& GetPreviousSmtpPasswordVersion() const{ return m_previousSmtpPasswordVersion; }
59 inline bool PreviousSmtpPasswordVersionHasBeenSet() const { return m_previousSmtpPasswordVersionHasBeenSet; }
60 inline void SetPreviousSmtpPasswordVersion(const Aws::String& value) { m_previousSmtpPasswordVersionHasBeenSet = true; m_previousSmtpPasswordVersion = value; }
61 inline void SetPreviousSmtpPasswordVersion(Aws::String&& value) { m_previousSmtpPasswordVersionHasBeenSet = true; m_previousSmtpPasswordVersion = std::move(value); }
62 inline void SetPreviousSmtpPasswordVersion(const char* value) { m_previousSmtpPasswordVersionHasBeenSet = true; m_previousSmtpPasswordVersion.assign(value); }
67
69
72 inline const Aws::String& GetSmtpPasswordVersion() const{ return m_smtpPasswordVersion; }
73 inline bool SmtpPasswordVersionHasBeenSet() const { return m_smtpPasswordVersionHasBeenSet; }
74 inline void SetSmtpPasswordVersion(const Aws::String& value) { m_smtpPasswordVersionHasBeenSet = true; m_smtpPasswordVersion = value; }
75 inline void SetSmtpPasswordVersion(Aws::String&& value) { m_smtpPasswordVersionHasBeenSet = true; m_smtpPasswordVersion = std::move(value); }
76 inline void SetSmtpPasswordVersion(const char* value) { m_smtpPasswordVersionHasBeenSet = true; m_smtpPasswordVersion.assign(value); }
79 inline IngressPointPasswordConfiguration& WithSmtpPasswordVersion(const char* value) { SetSmtpPasswordVersion(value); return *this;}
81 private:
82
83 Aws::Utils::DateTime m_previousSmtpPasswordExpiryTimestamp;
84 bool m_previousSmtpPasswordExpiryTimestampHasBeenSet = false;
85
86 Aws::String m_previousSmtpPasswordVersion;
87 bool m_previousSmtpPasswordVersionHasBeenSet = false;
88
89 Aws::String m_smtpPasswordVersion;
90 bool m_smtpPasswordVersionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MailManager
95} // namespace Aws
AWS_MAILMANAGER_API IngressPointPasswordConfiguration(Aws::Utils::Json::JsonView jsonValue)
IngressPointPasswordConfiguration & WithPreviousSmtpPasswordVersion(const Aws::String &value)
IngressPointPasswordConfiguration & WithSmtpPasswordVersion(Aws::String &&value)
IngressPointPasswordConfiguration & WithPreviousSmtpPasswordVersion(Aws::String &&value)
AWS_MAILMANAGER_API IngressPointPasswordConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
IngressPointPasswordConfiguration & WithPreviousSmtpPasswordExpiryTimestamp(Aws::Utils::DateTime &&value)
IngressPointPasswordConfiguration & WithPreviousSmtpPasswordExpiryTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
IngressPointPasswordConfiguration & WithSmtpPasswordVersion(const char *value)
IngressPointPasswordConfiguration & WithSmtpPasswordVersion(const Aws::String &value)
IngressPointPasswordConfiguration & WithPreviousSmtpPasswordVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue