AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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
46 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
47 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
48 template<typename IngressPointNameT = Aws::String>
49 void SetIngressPointName(IngressPointNameT&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::forward<IngressPointNameT>(value); }
50 template<typename IngressPointNameT = Aws::String>
51 IngressPoint& WithIngressPointName(IngressPointNameT&& value) { SetIngressPointName(std::forward<IngressPointNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetIngressPointId() const { return m_ingressPointId; }
59 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
60 template<typename IngressPointIdT = Aws::String>
61 void SetIngressPointId(IngressPointIdT&& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = std::forward<IngressPointIdT>(value); }
62 template<typename IngressPointIdT = Aws::String>
63 IngressPoint& WithIngressPointId(IngressPointIdT&& value) { SetIngressPointId(std::forward<IngressPointIdT>(value)); return *this;}
65
67
70 inline IngressPointStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(IngressPointStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline IngressPoint& WithStatus(IngressPointStatus value) { SetStatus(value); return *this;}
75
77
80 inline IngressPointType GetType() const { return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(IngressPointType value) { m_typeHasBeenSet = true; m_type = value; }
83 inline IngressPoint& WithType(IngressPointType value) { SetType(value); return *this;}
85
87
91 inline const Aws::String& GetARecord() const { return m_aRecord; }
92 inline bool ARecordHasBeenSet() const { return m_aRecordHasBeenSet; }
93 template<typename ARecordT = Aws::String>
94 void SetARecord(ARecordT&& value) { m_aRecordHasBeenSet = true; m_aRecord = std::forward<ARecordT>(value); }
95 template<typename ARecordT = Aws::String>
96 IngressPoint& WithARecord(ARecordT&& value) { SetARecord(std::forward<ARecordT>(value)); return *this;}
98 private:
99
100 Aws::String m_ingressPointName;
101 bool m_ingressPointNameHasBeenSet = false;
102
103 Aws::String m_ingressPointId;
104 bool m_ingressPointIdHasBeenSet = false;
105
107 bool m_statusHasBeenSet = false;
108
110 bool m_typeHasBeenSet = false;
111
112 Aws::String m_aRecord;
113 bool m_aRecordHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace MailManager
118} // namespace Aws
void SetARecord(ARecordT &&value)
IngressPoint & WithIngressPointName(IngressPointNameT &&value)
void SetIngressPointName(IngressPointNameT &&value)
const Aws::String & GetARecord() const
IngressPoint & WithARecord(ARecordT &&value)
IngressPoint & WithStatus(IngressPointStatus value)
IngressPoint & WithIngressPointId(IngressPointIdT &&value)
AWS_MAILMANAGER_API IngressPoint(Aws::Utils::Json::JsonView jsonValue)
IngressPointType GetType() const
AWS_MAILMANAGER_API IngressPoint()=default
AWS_MAILMANAGER_API IngressPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
IngressPoint & WithType(IngressPointType value)
const Aws::String & GetIngressPointId() const
void SetIngressPointId(IngressPointIdT &&value)
const Aws::String & GetIngressPointName() const
IngressPointStatus GetStatus() const
void SetType(IngressPointType value)
void SetStatus(IngressPointStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue