AWS SDK for C++  0.14.3
AWS SDK for C++
ConfigSnapshotDeliveryProperties.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ConfigService
29 {
30 namespace Model
31 {
32 
66  {
67  public:
71  Aws::Utils::Json::JsonValue Jsonize() const;
72 
76  inline const MaximumExecutionFrequency& GetDeliveryFrequency() const{ return m_deliveryFrequency; }
77 
81  inline void SetDeliveryFrequency(const MaximumExecutionFrequency& value) { m_deliveryFrequencyHasBeenSet = true; m_deliveryFrequency = value; }
82 
86  inline void SetDeliveryFrequency(MaximumExecutionFrequency&& value) { m_deliveryFrequencyHasBeenSet = true; m_deliveryFrequency = value; }
87 
91  inline ConfigSnapshotDeliveryProperties& WithDeliveryFrequency(const MaximumExecutionFrequency& value) { SetDeliveryFrequency(value); return *this;}
92 
96  inline ConfigSnapshotDeliveryProperties& WithDeliveryFrequency(MaximumExecutionFrequency&& value) { SetDeliveryFrequency(value); return *this;}
97 
98  private:
99  MaximumExecutionFrequency m_deliveryFrequency;
100  bool m_deliveryFrequencyHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace ConfigService
105 } // namespace Aws
ConfigSnapshotDeliveryProperties & WithDeliveryFrequency(MaximumExecutionFrequency &&value)
ConfigSnapshotDeliveryProperties & WithDeliveryFrequency(const MaximumExecutionFrequency &value)
#define AWS_CONFIGSERVICE_API
JSON (JavaScript Object Notation).