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/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/IdentityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/VerificationStatus.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 SESV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SESV2_API IdentityInfo();
37 AWS_SESV2_API IdentityInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
48 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
49 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
50 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
51 inline IdentityInfo& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
52 inline IdentityInfo& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
60 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
61 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
62 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
63 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
64 inline IdentityInfo& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
65 inline IdentityInfo& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
66 inline IdentityInfo& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
68
70
77 inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
78 inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
79 inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
80 inline IdentityInfo& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
82
84
95 inline const VerificationStatus& GetVerificationStatus() const{ return m_verificationStatus; }
96 inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
97 inline void SetVerificationStatus(const VerificationStatus& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = value; }
98 inline void SetVerificationStatus(VerificationStatus&& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = std::move(value); }
99 inline IdentityInfo& WithVerificationStatus(const VerificationStatus& value) { SetVerificationStatus(value); return *this;}
100 inline IdentityInfo& WithVerificationStatus(VerificationStatus&& value) { SetVerificationStatus(std::move(value)); return *this;}
102 private:
103
104 IdentityType m_identityType;
105 bool m_identityTypeHasBeenSet = false;
106
107 Aws::String m_identityName;
108 bool m_identityNameHasBeenSet = false;
109
110 bool m_sendingEnabled;
111 bool m_sendingEnabledHasBeenSet = false;
112
113 VerificationStatus m_verificationStatus;
114 bool m_verificationStatusHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SESV2
119} // namespace Aws
void SetVerificationStatus(VerificationStatus &&value)
IdentityInfo & WithIdentityName(const char *value)
IdentityInfo & WithIdentityType(const IdentityType &value)
void SetSendingEnabled(bool value)
void SetIdentityType(IdentityType &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool VerificationStatusHasBeenSet() const
IdentityInfo & WithIdentityType(IdentityType &&value)
IdentityInfo & WithIdentityName(Aws::String &&value)
void SetIdentityName(const char *value)
IdentityInfo & WithIdentityName(const Aws::String &value)
void SetVerificationStatus(const VerificationStatus &value)
AWS_SESV2_API IdentityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API IdentityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityName(Aws::String &&value)
IdentityInfo & WithVerificationStatus(VerificationStatus &&value)
IdentityInfo & WithSendingEnabled(bool value)
void SetIdentityType(const IdentityType &value)
void SetIdentityName(const Aws::String &value)
const Aws::String & GetIdentityName() const
IdentityInfo & WithVerificationStatus(const VerificationStatus &value)
const IdentityType & GetIdentityType() const
const VerificationStatus & GetVerificationStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue