AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
RegistrationAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EndUserMessaging {
21namespace Model {
22
30 public:
31 AWS_ENDUSERMESSAGING_API RegistrationAssociationSummary() = default;
34 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
41 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
42 template <typename RegistrationIdT = Aws::String>
43 void SetRegistrationId(RegistrationIdT&& value) {
44 m_registrationIdHasBeenSet = true;
45 m_registrationId = std::forward<RegistrationIdT>(value);
46 }
47 template <typename RegistrationIdT = Aws::String>
49 SetRegistrationId(std::forward<RegistrationIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRegistrationType() const { return m_registrationType; }
60 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
61 template <typename RegistrationTypeT = Aws::String>
62 void SetRegistrationType(RegistrationTypeT&& value) {
63 m_registrationTypeHasBeenSet = true;
64 m_registrationType = std::forward<RegistrationTypeT>(value);
65 }
66 template <typename RegistrationTypeT = Aws::String>
68 SetRegistrationType(std::forward<RegistrationTypeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 template <typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) {
81 m_createdAtHasBeenSet = true;
82 m_createdAt = std::forward<CreatedAtT>(value);
83 }
84 template <typename CreatedAtT = Aws::Utils::DateTime>
86 SetCreatedAt(std::forward<CreatedAtT>(value));
87 return *this;
88 }
90
92
95 inline bool GetSmartMatchUsed() const { return m_smartMatchUsed; }
96 inline bool SmartMatchUsedHasBeenSet() const { return m_smartMatchUsedHasBeenSet; }
97 inline void SetSmartMatchUsed(bool value) {
98 m_smartMatchUsedHasBeenSet = true;
99 m_smartMatchUsed = value;
100 }
102 SetSmartMatchUsed(value);
103 return *this;
104 }
106 private:
107 Aws::String m_registrationId;
108
109 Aws::String m_registrationType;
110
111 Aws::Utils::DateTime m_createdAt{};
112
113 bool m_smartMatchUsed{false};
114 bool m_registrationIdHasBeenSet = false;
115 bool m_registrationTypeHasBeenSet = false;
116 bool m_createdAtHasBeenSet = false;
117 bool m_smartMatchUsedHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace EndUserMessaging
122} // namespace Aws
RegistrationAssociationSummary & WithRegistrationId(RegistrationIdT &&value)
RegistrationAssociationSummary & WithCreatedAt(CreatedAtT &&value)
RegistrationAssociationSummary & WithRegistrationType(RegistrationTypeT &&value)
AWS_ENDUSERMESSAGING_API RegistrationAssociationSummary()=default
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENDUSERMESSAGING_API RegistrationAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API RegistrationAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue