AWS SDK for C++  0.14.3
AWS SDK for C++
SetIdentityNotificationTopicRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/email/SES_EXPORTS.h>
17 #include <aws/email/SESRequest.h>
20 
21 namespace Aws
22 {
23 namespace SES
24 {
25 namespace Model
26 {
27 
37  {
38  public:
40  Aws::String SerializePayload() const override;
41 
48  inline const Aws::String& GetIdentity() const{ return m_identity; }
49 
56  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
57 
64  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = value; }
65 
72  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
73 
80  inline SetIdentityNotificationTopicRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
81 
88  inline SetIdentityNotificationTopicRequest& WithIdentity(Aws::String&& value) { SetIdentity(value); return *this;}
89 
96  inline SetIdentityNotificationTopicRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
97 
102  inline const NotificationType& GetNotificationType() const{ return m_notificationType; }
103 
108  inline void SetNotificationType(const NotificationType& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
109 
114  inline void SetNotificationType(NotificationType&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
115 
120  inline SetIdentityNotificationTopicRequest& WithNotificationType(const NotificationType& value) { SetNotificationType(value); return *this;}
121 
126  inline SetIdentityNotificationTopicRequest& WithNotificationType(NotificationType&& value) { SetNotificationType(value); return *this;}
127 
133  inline const Aws::String& GetSnsTopic() const{ return m_snsTopic; }
134 
140  inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
141 
147  inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
148 
154  inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
155 
161  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
162 
168  inline SetIdentityNotificationTopicRequest& WithSnsTopic(Aws::String&& value) { SetSnsTopic(value); return *this;}
169 
175  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
176 
177  private:
178  Aws::String m_identity;
179  bool m_identityHasBeenSet;
180  NotificationType m_notificationType;
181  bool m_notificationTypeHasBeenSet;
182  Aws::String m_snsTopic;
183  bool m_snsTopicHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace SES
188 } // namespace Aws
SetIdentityNotificationTopicRequest & WithIdentity(Aws::String &&value)
SetIdentityNotificationTopicRequest & WithSnsTopic(Aws::String &&value)
SetIdentityNotificationTopicRequest & WithNotificationType(const NotificationType &value)
SetIdentityNotificationTopicRequest & WithSnsTopic(const Aws::String &value)
SetIdentityNotificationTopicRequest & WithSnsTopic(const char *value)
SetIdentityNotificationTopicRequest & WithIdentity(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
SetIdentityNotificationTopicRequest & WithIdentity(const char *value)
SetIdentityNotificationTopicRequest & WithNotificationType(NotificationType &&value)
JSON (JavaScript Object Notation).