7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename ConfigurationSetT = Aws::String>
51 void SetConfigurationSet(ConfigurationSetT&& value) { m_configurationSetHasBeenSet =
true; m_configurationSet = std::forward<ConfigurationSetT>(value); }
52 template<
typename ConfigurationSetT = Aws::String>
62 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
73 template<
typename FromAddressT = Aws::String>
74 void SetFromAddress(FromAddressT&& value) { m_fromAddressHasBeenSet =
true; m_fromAddress = std::forward<FromAddressT>(value); }
75 template<
typename FromAddressT = Aws::String>
87 template<
typename IdentityT = Aws::String>
88 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet =
true; m_identity = std::forward<IdentityT>(value); }
89 template<
typename IdentityT = Aws::String>
101 template<
typename RoleArnT = Aws::String>
102 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
103 template<
typename RoleArnT = Aws::String>
114 template<
typename OrchestrationSendingRoleArnT = Aws::String>
115 void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT&& value) { m_orchestrationSendingRoleArnHasBeenSet =
true; m_orchestrationSendingRoleArn = std::forward<OrchestrationSendingRoleArnT>(value); }
116 template<
typename OrchestrationSendingRoleArnT = Aws::String>
122 bool m_configurationSetHasBeenSet =
false;
124 bool m_enabled{
false};
125 bool m_enabledHasBeenSet =
false;
128 bool m_fromAddressHasBeenSet =
false;
131 bool m_identityHasBeenSet =
false;
134 bool m_roleArnHasBeenSet =
false;
137 bool m_orchestrationSendingRoleArnHasBeenSet =
false;
EmailChannelRequest & WithRoleArn(RoleArnT &&value)
AWS_PINPOINT_API EmailChannelRequest()=default
AWS_PINPOINT_API EmailChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentity() const
void SetConfigurationSet(ConfigurationSetT &&value)
bool IdentityHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConfigurationSetHasBeenSet() const
void SetIdentity(IdentityT &&value)
AWS_PINPOINT_API EmailChannelRequest(Aws::Utils::Json::JsonView jsonValue)
EmailChannelRequest & WithConfigurationSet(ConfigurationSetT &&value)
void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
const Aws::String & GetRoleArn() const
bool OrchestrationSendingRoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetConfigurationSet() const
void SetFromAddress(FromAddressT &&value)
const Aws::String & GetFromAddress() const
bool FromAddressHasBeenSet() const
EmailChannelRequest & WithFromAddress(FromAddressT &&value)
EmailChannelRequest & WithIdentity(IdentityT &&value)
const Aws::String & GetOrchestrationSendingRoleArn() const
bool EnabledHasBeenSet() const
EmailChannelRequest & WithEnabled(bool value)
bool RoleArnHasBeenSet() const
EmailChannelRequest & WithOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
void SetEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue