AWS SDK for C++  0.12.9
AWS SDK for C++
DeliveryChannelStatus.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 Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace ConfigService
31 {
32 namespace Model
33 {
34 
40  {
41  public:
44  DeliveryChannelStatus& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline DeliveryChannelStatus& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline DeliveryChannelStatus& WithName(Aws::String&& value) { SetName(value); return *this;}
76 
80  inline DeliveryChannelStatus& WithName(const char* value) { SetName(value); return *this;}
81 
86  inline const ConfigExportDeliveryInfo& GetConfigSnapshotDeliveryInfo() const{ return m_configSnapshotDeliveryInfo; }
87 
92  inline void SetConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo& value) { m_configSnapshotDeliveryInfoHasBeenSet = true; m_configSnapshotDeliveryInfo = value; }
93 
98  inline void SetConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo&& value) { m_configSnapshotDeliveryInfoHasBeenSet = true; m_configSnapshotDeliveryInfo = value; }
99 
104  inline DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo& value) { SetConfigSnapshotDeliveryInfo(value); return *this;}
105 
110  inline DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo&& value) { SetConfigSnapshotDeliveryInfo(value); return *this;}
111 
116  inline const ConfigExportDeliveryInfo& GetConfigHistoryDeliveryInfo() const{ return m_configHistoryDeliveryInfo; }
117 
122  inline void SetConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo& value) { m_configHistoryDeliveryInfoHasBeenSet = true; m_configHistoryDeliveryInfo = value; }
123 
128  inline void SetConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo&& value) { m_configHistoryDeliveryInfoHasBeenSet = true; m_configHistoryDeliveryInfo = value; }
129 
134  inline DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo& value) { SetConfigHistoryDeliveryInfo(value); return *this;}
135 
140  inline DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo&& value) { SetConfigHistoryDeliveryInfo(value); return *this;}
141 
146  inline const ConfigStreamDeliveryInfo& GetConfigStreamDeliveryInfo() const{ return m_configStreamDeliveryInfo; }
147 
152  inline void SetConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo& value) { m_configStreamDeliveryInfoHasBeenSet = true; m_configStreamDeliveryInfo = value; }
153 
158  inline void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo&& value) { m_configStreamDeliveryInfoHasBeenSet = true; m_configStreamDeliveryInfo = value; }
159 
164  inline DeliveryChannelStatus& WithConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo& value) { SetConfigStreamDeliveryInfo(value); return *this;}
165 
170  inline DeliveryChannelStatus& WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo&& value) { SetConfigStreamDeliveryInfo(value); return *this;}
171 
172  private:
173  Aws::String m_name;
174  bool m_nameHasBeenSet;
175  ConfigExportDeliveryInfo m_configSnapshotDeliveryInfo;
176  bool m_configSnapshotDeliveryInfoHasBeenSet;
177  ConfigExportDeliveryInfo m_configHistoryDeliveryInfo;
178  bool m_configHistoryDeliveryInfoHasBeenSet;
179  ConfigStreamDeliveryInfo m_configStreamDeliveryInfo;
180  bool m_configStreamDeliveryInfoHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace ConfigService
185 } // namespace Aws
DeliveryChannelStatus & WithConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo &value)
void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo &&value)
void SetConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo &value)
DeliveryChannelStatus & WithConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo &&value)
void SetConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo &&value)
const ConfigExportDeliveryInfo & GetConfigSnapshotDeliveryInfo() const
DeliveryChannelStatus & WithName(Aws::String &&value)
DeliveryChannelStatus & WithConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo &value)
void SetConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo &value)
DeliveryChannelStatus & WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo &&value)
DeliveryChannelStatus & WithConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo &&value)
DeliveryChannelStatus & WithName(const char *value)
void SetConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo &&value)
void SetConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo &value)
DeliveryChannelStatus & WithConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo &value)
DeliveryChannelStatus & WithName(const Aws::String &value)
const ConfigExportDeliveryInfo & GetConfigHistoryDeliveryInfo() const
const ConfigStreamDeliveryInfo & GetConfigStreamDeliveryInfo() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CONFIGSERVICE_API
JSON (JavaScript Object Notation).