AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngressPoint.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/IngressPointStatus.h>
10#include <aws/mailmanager/model/IngressPointType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MailManager
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MAILMANAGER_API IngressPoint();
37 AWS_MAILMANAGER_API IngressPoint(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API IngressPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetARecord() const{ return m_aRecord; }
48 inline bool ARecordHasBeenSet() const { return m_aRecordHasBeenSet; }
49 inline void SetARecord(const Aws::String& value) { m_aRecordHasBeenSet = true; m_aRecord = value; }
50 inline void SetARecord(Aws::String&& value) { m_aRecordHasBeenSet = true; m_aRecord = std::move(value); }
51 inline void SetARecord(const char* value) { m_aRecordHasBeenSet = true; m_aRecord.assign(value); }
52 inline IngressPoint& WithARecord(const Aws::String& value) { SetARecord(value); return *this;}
53 inline IngressPoint& WithARecord(Aws::String&& value) { SetARecord(std::move(value)); return *this;}
54 inline IngressPoint& WithARecord(const char* value) { SetARecord(value); return *this;}
56
58
61 inline const Aws::String& GetIngressPointId() const{ return m_ingressPointId; }
62 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
63 inline void SetIngressPointId(const Aws::String& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = value; }
64 inline void SetIngressPointId(Aws::String&& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = std::move(value); }
65 inline void SetIngressPointId(const char* value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId.assign(value); }
66 inline IngressPoint& WithIngressPointId(const Aws::String& value) { SetIngressPointId(value); return *this;}
67 inline IngressPoint& WithIngressPointId(Aws::String&& value) { SetIngressPointId(std::move(value)); return *this;}
68 inline IngressPoint& WithIngressPointId(const char* value) { SetIngressPointId(value); return *this;}
70
72
75 inline const Aws::String& GetIngressPointName() const{ return m_ingressPointName; }
76 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
77 inline void SetIngressPointName(const Aws::String& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = value; }
78 inline void SetIngressPointName(Aws::String&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::move(value); }
79 inline void SetIngressPointName(const char* value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName.assign(value); }
80 inline IngressPoint& WithIngressPointName(const Aws::String& value) { SetIngressPointName(value); return *this;}
81 inline IngressPoint& WithIngressPointName(Aws::String&& value) { SetIngressPointName(std::move(value)); return *this;}
82 inline IngressPoint& WithIngressPointName(const char* value) { SetIngressPointName(value); return *this;}
84
86
89 inline const IngressPointStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const IngressPointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(IngressPointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline IngressPoint& WithStatus(const IngressPointStatus& value) { SetStatus(value); return *this;}
94 inline IngressPoint& WithStatus(IngressPointStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const IngressPointType& GetType() const{ return m_type; }
102 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
103 inline void SetType(const IngressPointType& value) { m_typeHasBeenSet = true; m_type = value; }
104 inline void SetType(IngressPointType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
105 inline IngressPoint& WithType(const IngressPointType& value) { SetType(value); return *this;}
106 inline IngressPoint& WithType(IngressPointType&& value) { SetType(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_aRecord;
111 bool m_aRecordHasBeenSet = false;
112
113 Aws::String m_ingressPointId;
114 bool m_ingressPointIdHasBeenSet = false;
115
116 Aws::String m_ingressPointName;
117 bool m_ingressPointNameHasBeenSet = false;
118
119 IngressPointStatus m_status;
120 bool m_statusHasBeenSet = false;
121
122 IngressPointType m_type;
123 bool m_typeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MailManager
128} // namespace Aws
void SetARecord(Aws::String &&value)
void SetStatus(IngressPointStatus &&value)
IngressPoint & WithIngressPointId(const Aws::String &value)
void SetIngressPointName(Aws::String &&value)
IngressPoint & WithIngressPointId(const char *value)
IngressPoint & WithARecord(const Aws::String &value)
const Aws::String & GetARecord() const
void SetARecord(const Aws::String &value)
IngressPoint & WithStatus(const IngressPointStatus &value)
IngressPoint & WithType(IngressPointType &&value)
void SetIngressPointId(const char *value)
IngressPoint & WithStatus(IngressPointStatus &&value)
void SetType(IngressPointType &&value)
void SetIngressPointId(const Aws::String &value)
AWS_MAILMANAGER_API IngressPoint(Aws::Utils::Json::JsonView jsonValue)
void SetIngressPointName(const Aws::String &value)
IngressPoint & WithIngressPointName(const char *value)
void SetIngressPointId(Aws::String &&value)
void SetARecord(const char *value)
void SetStatus(const IngressPointStatus &value)
IngressPoint & WithIngressPointName(const Aws::String &value)
IngressPoint & WithIngressPointId(Aws::String &&value)
IngressPoint & WithARecord(Aws::String &&value)
IngressPoint & WithARecord(const char *value)
AWS_MAILMANAGER_API IngressPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const IngressPointType & GetType() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
IngressPoint & WithType(const IngressPointType &value)
const Aws::String & GetIngressPointId() const
IngressPoint & WithIngressPointName(Aws::String &&value)
AWS_MAILMANAGER_API IngressPoint()
void SetIngressPointName(const char *value)
const IngressPointStatus & GetStatus() const
const Aws::String & GetIngressPointName() const
void SetType(const IngressPointType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue