AWS SDK for C++  0.12.9
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 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
42  inline const Aws::String& GetIdentity() const{ return m_identity; }
43 
50  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
51 
58  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = value; }
59 
66  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
67 
74  inline SetIdentityNotificationTopicRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
75 
82  inline SetIdentityNotificationTopicRequest& WithIdentity(Aws::String&& value) { SetIdentity(value); return *this;}
83 
90  inline SetIdentityNotificationTopicRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
91 
96  inline const NotificationType& GetNotificationType() const{ return m_notificationType; }
97 
102  inline void SetNotificationType(const NotificationType& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
103 
108  inline void SetNotificationType(NotificationType&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
109 
114  inline SetIdentityNotificationTopicRequest& WithNotificationType(const NotificationType& value) { SetNotificationType(value); return *this;}
115 
120  inline SetIdentityNotificationTopicRequest& WithNotificationType(NotificationType&& value) { SetNotificationType(value); return *this;}
121 
127  inline const Aws::String& GetSnsTopic() const{ return m_snsTopic; }
128 
134  inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
135 
141  inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
142 
148  inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
149 
155  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
156 
162  inline SetIdentityNotificationTopicRequest& WithSnsTopic(Aws::String&& value) { SetSnsTopic(value); return *this;}
163 
169  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
170 
171  private:
172  Aws::String m_identity;
173  bool m_identityHasBeenSet;
174  NotificationType m_notificationType;
175  bool m_notificationTypeHasBeenSet;
176  Aws::String m_snsTopic;
177  bool m_snsTopicHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace SES
182 } // 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:34
SetIdentityNotificationTopicRequest & WithIdentity(const char *value)
SetIdentityNotificationTopicRequest & WithNotificationType(NotificationType &&value)
JSON (JavaScript Object Notation).