AWS SDK for C++  1.9.160
AWS SDK for C++
IdentityInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
45  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
46 
51  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
52 
57  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
58 
63  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
64 
69  inline IdentityInfo& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
70 
75  inline IdentityInfo& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
76 
77 
81  inline const Aws::String& GetIdentityName() const{ return m_identityName; }
82 
86  inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
87 
91  inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
92 
96  inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
97 
101  inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
102 
106  inline IdentityInfo& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
107 
111  inline IdentityInfo& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
112 
116  inline IdentityInfo& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
117 
118 
126  inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
127 
135  inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
136 
144  inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
145 
153  inline IdentityInfo& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
154 
155  private:
156 
157  IdentityType m_identityType;
158  bool m_identityTypeHasBeenSet;
159 
160  Aws::String m_identityName;
161  bool m_identityNameHasBeenSet;
162 
163  bool m_sendingEnabled;
164  bool m_sendingEnabledHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace SESV2
169 } // namespace Aws
Aws::SESV2::Model::IdentityInfo::SetSendingEnabled
void SetSendingEnabled(bool value)
Definition: IdentityInfo.h:144
Aws::SESV2::Model::IdentityInfo::SetIdentityName
void SetIdentityName(const Aws::String &value)
Definition: IdentityInfo.h:91
Aws::SESV2::Model::IdentityInfo::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: IdentityInfo.h:51
Aws::SESV2::Model::IdentityInfo::SetIdentityName
void SetIdentityName(Aws::String &&value)
Definition: IdentityInfo.h:96
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::IdentityInfo::GetIdentityName
const Aws::String & GetIdentityName() const
Definition: IdentityInfo.h:81
Aws::SESV2::Model::IdentityInfo::GetSendingEnabled
bool GetSendingEnabled() const
Definition: IdentityInfo.h:126
Aws::SESV2::Model::IdentityInfo::WithIdentityName
IdentityInfo & WithIdentityName(const Aws::String &value)
Definition: IdentityInfo.h:106
IdentityType.h
Aws::SESV2::Model::IdentityInfo::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: IdentityInfo.h:63
Aws::SESV2::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::SESV2::Model::IdentityInfo
Definition: IdentityInfo.h:33
Aws::SESV2::Model::IdentityInfo::IdentityInfo
IdentityInfo()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::IdentityInfo::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: IdentityInfo.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::IdentityInfo::operator=
IdentityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
SESV2_EXPORTS.h
Aws::SESV2::Model::IdentityInfo::IdentityInfo
IdentityInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::IdentityInfo::WithIdentityType
IdentityInfo & WithIdentityType(const IdentityType &value)
Definition: IdentityInfo.h:69
Aws::SESV2::Model::IdentityInfo::WithIdentityName
IdentityInfo & WithIdentityName(Aws::String &&value)
Definition: IdentityInfo.h:111
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::IdentityInfo::WithIdentityType
IdentityInfo & WithIdentityType(IdentityType &&value)
Definition: IdentityInfo.h:75
Aws::SESV2::Model::IdentityInfo::WithSendingEnabled
IdentityInfo & WithSendingEnabled(bool value)
Definition: IdentityInfo.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::IdentityInfo::WithIdentityName
IdentityInfo & WithIdentityName(const char *value)
Definition: IdentityInfo.h:116
Aws::SESV2::Model::IdentityInfo::SetIdentityName
void SetIdentityName(const char *value)
Definition: IdentityInfo.h:101
Aws::SESV2::Model::IdentityInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::IdentityInfo::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: IdentityInfo.h:57
Aws::SESV2::Model::IdentityInfo::SendingEnabledHasBeenSet
bool SendingEnabledHasBeenSet() const
Definition: IdentityInfo.h:135
Aws::SESV2::Model::IdentityInfo::IdentityNameHasBeenSet
bool IdentityNameHasBeenSet() const
Definition: IdentityInfo.h:86