AWS SDK for C++  0.12.9
AWS SDK for C++
UpdatePipelineNotificationsRequest.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
20 
21 namespace Aws
22 {
23 namespace ElasticTranscoder
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
47  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 
53  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
54 
59  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60 
65  inline UpdatePipelineNotificationsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
66 
71  inline UpdatePipelineNotificationsRequest& WithId(Aws::String&& value) { SetId(value); return *this;}
72 
77  inline UpdatePipelineNotificationsRequest& WithId(const char* value) { SetId(value); return *this;}
78 
97  inline const Notifications& GetNotifications() const{ return m_notifications; }
98 
117  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
118 
137  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
138 
157  inline UpdatePipelineNotificationsRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
158 
177  inline UpdatePipelineNotificationsRequest& WithNotifications(Notifications&& value) { SetNotifications(value); return *this;}
178 
179  private:
180  Aws::String m_id;
181  bool m_idHasBeenSet;
182  Notifications m_notifications;
183  bool m_notificationsHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace ElasticTranscoder
188 } // namespace Aws
UpdatePipelineNotificationsRequest & WithId(Aws::String &&value)
UpdatePipelineNotificationsRequest & WithNotifications(Notifications &&value)
#define AWS_ELASTICTRANSCODER_API
UpdatePipelineNotificationsRequest & WithNotifications(const Notifications &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdatePipelineNotificationsRequest & WithId(const Aws::String &value)
JSON (JavaScript Object Notation).