AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/UrlReference.h>
9#include <aws/connect/model/AttachmentReference.h>
10#include <aws/connect/model/StringReference.h>
11#include <aws/connect/model/NumberReference.h>
12#include <aws/connect/model/DateReference.h>
13#include <aws/connect/model/EmailReference.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_CONNECT_API ReferenceSummary();
42 AWS_CONNECT_API ReferenceSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const UrlReference& GetUrl() const{ return m_url; }
53 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
54 inline void SetUrl(const UrlReference& value) { m_urlHasBeenSet = true; m_url = value; }
55 inline void SetUrl(UrlReference&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
56 inline ReferenceSummary& WithUrl(const UrlReference& value) { SetUrl(value); return *this;}
57 inline ReferenceSummary& WithUrl(UrlReference&& value) { SetUrl(std::move(value)); return *this;}
59
61
65 inline const AttachmentReference& GetAttachment() const{ return m_attachment; }
66 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
67 inline void SetAttachment(const AttachmentReference& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
68 inline void SetAttachment(AttachmentReference&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
69 inline ReferenceSummary& WithAttachment(const AttachmentReference& value) { SetAttachment(value); return *this;}
70 inline ReferenceSummary& WithAttachment(AttachmentReference&& value) { SetAttachment(std::move(value)); return *this;}
72
74
78 inline const StringReference& GetString() const{ return m_string; }
79 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
80 inline void SetString(const StringReference& value) { m_stringHasBeenSet = true; m_string = value; }
81 inline void SetString(StringReference&& value) { m_stringHasBeenSet = true; m_string = std::move(value); }
82 inline ReferenceSummary& WithString(const StringReference& value) { SetString(value); return *this;}
83 inline ReferenceSummary& WithString(StringReference&& value) { SetString(std::move(value)); return *this;}
85
87
91 inline const NumberReference& GetNumber() const{ return m_number; }
92 inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; }
93 inline void SetNumber(const NumberReference& value) { m_numberHasBeenSet = true; m_number = value; }
94 inline void SetNumber(NumberReference&& value) { m_numberHasBeenSet = true; m_number = std::move(value); }
95 inline ReferenceSummary& WithNumber(const NumberReference& value) { SetNumber(value); return *this;}
96 inline ReferenceSummary& WithNumber(NumberReference&& value) { SetNumber(std::move(value)); return *this;}
98
100
104 inline const DateReference& GetDate() const{ return m_date; }
105 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
106 inline void SetDate(const DateReference& value) { m_dateHasBeenSet = true; m_date = value; }
107 inline void SetDate(DateReference&& value) { m_dateHasBeenSet = true; m_date = std::move(value); }
108 inline ReferenceSummary& WithDate(const DateReference& value) { SetDate(value); return *this;}
109 inline ReferenceSummary& WithDate(DateReference&& value) { SetDate(std::move(value)); return *this;}
111
113
117 inline const EmailReference& GetEmail() const{ return m_email; }
118 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
119 inline void SetEmail(const EmailReference& value) { m_emailHasBeenSet = true; m_email = value; }
120 inline void SetEmail(EmailReference&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
121 inline ReferenceSummary& WithEmail(const EmailReference& value) { SetEmail(value); return *this;}
122 inline ReferenceSummary& WithEmail(EmailReference&& value) { SetEmail(std::move(value)); return *this;}
124 private:
125
126 UrlReference m_url;
127 bool m_urlHasBeenSet = false;
128
129 AttachmentReference m_attachment;
130 bool m_attachmentHasBeenSet = false;
131
132 StringReference m_string;
133 bool m_stringHasBeenSet = false;
134
135 NumberReference m_number;
136 bool m_numberHasBeenSet = false;
137
138 DateReference m_date;
139 bool m_dateHasBeenSet = false;
140
141 EmailReference m_email;
142 bool m_emailHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Connect
147} // namespace Aws
ReferenceSummary & WithString(StringReference &&value)
void SetString(const StringReference &value)
ReferenceSummary & WithUrl(const UrlReference &value)
const NumberReference & GetNumber() const
ReferenceSummary & WithAttachment(AttachmentReference &&value)
void SetNumber(NumberReference &&value)
void SetDate(DateReference &&value)
const DateReference & GetDate() const
ReferenceSummary & WithEmail(const EmailReference &value)
ReferenceSummary & WithDate(DateReference &&value)
void SetUrl(UrlReference &&value)
AWS_CONNECT_API ReferenceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceSummary & WithDate(const DateReference &value)
const StringReference & GetString() const
void SetAttachment(const AttachmentReference &value)
ReferenceSummary & WithString(const StringReference &value)
ReferenceSummary & WithAttachment(const AttachmentReference &value)
AWS_CONNECT_API ReferenceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEmail(const EmailReference &value)
const UrlReference & GetUrl() const
ReferenceSummary & WithEmail(EmailReference &&value)
ReferenceSummary & WithNumber(NumberReference &&value)
void SetAttachment(AttachmentReference &&value)
void SetNumber(const NumberReference &value)
ReferenceSummary & WithNumber(const NumberReference &value)
void SetDate(const DateReference &value)
void SetEmail(EmailReference &&value)
const AttachmentReference & GetAttachment() const
void SetString(StringReference &&value)
ReferenceSummary & WithUrl(UrlReference &&value)
void SetUrl(const UrlReference &value)
const EmailReference & GetEmail() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue