AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RecipientDetail.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/SSOIdentity.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTEvents {
20namespace Model {
21
28 public:
29 AWS_IOTEVENTS_API RecipientDetail() = default;
30 AWS_IOTEVENTS_API RecipientDetail(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const SSOIdentity& GetSsoIdentity() const { return m_ssoIdentity; }
39 inline bool SsoIdentityHasBeenSet() const { return m_ssoIdentityHasBeenSet; }
40 template <typename SsoIdentityT = SSOIdentity>
41 void SetSsoIdentity(SsoIdentityT&& value) {
42 m_ssoIdentityHasBeenSet = true;
43 m_ssoIdentity = std::forward<SsoIdentityT>(value);
44 }
45 template <typename SsoIdentityT = SSOIdentity>
46 RecipientDetail& WithSsoIdentity(SsoIdentityT&& value) {
47 SetSsoIdentity(std::forward<SsoIdentityT>(value));
48 return *this;
49 }
51 private:
52 SSOIdentity m_ssoIdentity;
53 bool m_ssoIdentityHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace IoTEvents
58} // namespace Aws
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API RecipientDetail(Aws::Utils::Json::JsonView jsonValue)
RecipientDetail & WithSsoIdentity(SsoIdentityT &&value)
AWS_IOTEVENTS_API RecipientDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSsoIdentity(SsoIdentityT &&value)
AWS_IOTEVENTS_API RecipientDetail()=default
const SSOIdentity & GetSsoIdentity() const
Aws::Utils::Json::JsonValue JsonValue