AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityInfo.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/IdentityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PINPOINTEMAIL_API IdentityInfo();
36 AWS_PINPOINTEMAIL_API IdentityInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PINPOINTEMAIL_API IdentityInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
50 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
51 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
52 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
53 inline IdentityInfo& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
54 inline IdentityInfo& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
62 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
63 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
64 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
65 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
66 inline IdentityInfo& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
67 inline IdentityInfo& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
68 inline IdentityInfo& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
70
72
79 inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
80 inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
81 inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
82 inline IdentityInfo& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
84 private:
85
86 IdentityType m_identityType;
87 bool m_identityTypeHasBeenSet = false;
88
89 Aws::String m_identityName;
90 bool m_identityNameHasBeenSet = false;
91
92 bool m_sendingEnabled;
93 bool m_sendingEnabledHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PinpointEmail
98} // namespace Aws
IdentityInfo & WithIdentityType(IdentityType &&value)
void SetIdentityName(Aws::String &&value)
AWS_PINPOINTEMAIL_API IdentityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API IdentityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityInfo & WithIdentityName(const char *value)
IdentityInfo & WithIdentityName(Aws::String &&value)
IdentityInfo & WithIdentityType(const IdentityType &value)
const Aws::String & GetIdentityName() const
const IdentityType & GetIdentityType() const
void SetIdentityType(IdentityType &&value)
IdentityInfo & WithIdentityName(const Aws::String &value)
void SetIdentityName(const char *value)
AWS_PINPOINTEMAIL_API IdentityInfo()
void SetIdentityName(const Aws::String &value)
void SetIdentityType(const IdentityType &value)
IdentityInfo & WithSendingEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue