AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailChannelRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API EmailChannelRequest();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetConfigurationSet() const{ return m_configurationSet; }
49 inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; }
50 inline void SetConfigurationSet(const Aws::String& value) { m_configurationSetHasBeenSet = true; m_configurationSet = value; }
51 inline void SetConfigurationSet(Aws::String&& value) { m_configurationSetHasBeenSet = true; m_configurationSet = std::move(value); }
52 inline void SetConfigurationSet(const char* value) { m_configurationSetHasBeenSet = true; m_configurationSet.assign(value); }
53 inline EmailChannelRequest& WithConfigurationSet(const Aws::String& value) { SetConfigurationSet(value); return *this;}
54 inline EmailChannelRequest& WithConfigurationSet(Aws::String&& value) { SetConfigurationSet(std::move(value)); return *this;}
55 inline EmailChannelRequest& WithConfigurationSet(const char* value) { SetConfigurationSet(value); return *this;}
57
59
62 inline bool GetEnabled() const{ return m_enabled; }
63 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
64 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
65 inline EmailChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
67
69
73 inline const Aws::String& GetFromAddress() const{ return m_fromAddress; }
74 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
75 inline void SetFromAddress(const Aws::String& value) { m_fromAddressHasBeenSet = true; m_fromAddress = value; }
76 inline void SetFromAddress(Aws::String&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::move(value); }
77 inline void SetFromAddress(const char* value) { m_fromAddressHasBeenSet = true; m_fromAddress.assign(value); }
78 inline EmailChannelRequest& WithFromAddress(const Aws::String& value) { SetFromAddress(value); return *this;}
79 inline EmailChannelRequest& WithFromAddress(Aws::String&& value) { SetFromAddress(std::move(value)); return *this;}
80 inline EmailChannelRequest& WithFromAddress(const char* value) { SetFromAddress(value); return *this;}
82
84
89 inline const Aws::String& GetIdentity() const{ return m_identity; }
90 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
91 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
92 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
93 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
94 inline EmailChannelRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
95 inline EmailChannelRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
96 inline EmailChannelRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
98
100
105 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
106 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
107 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
108 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
109 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
110 inline EmailChannelRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
111 inline EmailChannelRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
112 inline EmailChannelRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
114
116
120 inline const Aws::String& GetOrchestrationSendingRoleArn() const{ return m_orchestrationSendingRoleArn; }
121 inline bool OrchestrationSendingRoleArnHasBeenSet() const { return m_orchestrationSendingRoleArnHasBeenSet; }
122 inline void SetOrchestrationSendingRoleArn(const Aws::String& value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn = value; }
123 inline void SetOrchestrationSendingRoleArn(Aws::String&& value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn = std::move(value); }
124 inline void SetOrchestrationSendingRoleArn(const char* value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn.assign(value); }
129 private:
130
131 Aws::String m_configurationSet;
132 bool m_configurationSetHasBeenSet = false;
133
134 bool m_enabled;
135 bool m_enabledHasBeenSet = false;
136
137 Aws::String m_fromAddress;
138 bool m_fromAddressHasBeenSet = false;
139
140 Aws::String m_identity;
141 bool m_identityHasBeenSet = false;
142
143 Aws::String m_roleArn;
144 bool m_roleArnHasBeenSet = false;
145
146 Aws::String m_orchestrationSendingRoleArn;
147 bool m_orchestrationSendingRoleArnHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Pinpoint
152} // namespace Aws
void SetIdentity(const Aws::String &value)
EmailChannelRequest & WithConfigurationSet(Aws::String &&value)
EmailChannelRequest & WithOrchestrationSendingRoleArn(Aws::String &&value)
EmailChannelRequest & WithRoleArn(const char *value)
AWS_PINPOINT_API EmailChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfigurationSet(const Aws::String &value)
void SetOrchestrationSendingRoleArn(const Aws::String &value)
EmailChannelRequest & WithIdentity(const Aws::String &value)
void SetFromAddress(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EmailChannelRequest & WithFromAddress(Aws::String &&value)
EmailChannelRequest & WithIdentity(const char *value)
EmailChannelRequest & WithRoleArn(const Aws::String &value)
AWS_PINPOINT_API EmailChannelRequest(Aws::Utils::Json::JsonView jsonValue)
void SetOrchestrationSendingRoleArn(Aws::String &&value)
EmailChannelRequest & WithFromAddress(const char *value)
const Aws::String & GetConfigurationSet() const
EmailChannelRequest & WithRoleArn(Aws::String &&value)
EmailChannelRequest & WithOrchestrationSendingRoleArn(const char *value)
const Aws::String & GetOrchestrationSendingRoleArn() const
EmailChannelRequest & WithEnabled(bool value)
EmailChannelRequest & WithFromAddress(const Aws::String &value)
EmailChannelRequest & WithOrchestrationSendingRoleArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
EmailChannelRequest & WithConfigurationSet(const char *value)
EmailChannelRequest & WithConfigurationSet(const Aws::String &value)
EmailChannelRequest & WithIdentity(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue