AWS SDK for C++  0.12.9
AWS SDK for C++
RecordingGroup.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
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace ConfigService
30 {
31 namespace Model
32 {
33 
61  {
62  public:
65  RecordingGroup& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
66  Aws::Utils::Json::JsonValue Jsonize() const;
67 
76  inline bool GetAllSupported() const{ return m_allSupported; }
77 
86  inline void SetAllSupported(bool value) { m_allSupportedHasBeenSet = true; m_allSupported = value; }
87 
96  inline RecordingGroup& WithAllSupported(bool value) { SetAllSupported(value); return *this;}
97 
109  inline bool GetIncludeGlobalResourceTypes() const{ return m_includeGlobalResourceTypes; }
110 
122  inline void SetIncludeGlobalResourceTypes(bool value) { m_includeGlobalResourceTypesHasBeenSet = true; m_includeGlobalResourceTypes = value; }
123 
135  inline RecordingGroup& WithIncludeGlobalResourceTypes(bool value) { SetIncludeGlobalResourceTypes(value); return *this;}
136 
151  inline const Aws::Vector<ResourceType>& GetResourceTypes() const{ return m_resourceTypes; }
152 
167  inline void SetResourceTypes(const Aws::Vector<ResourceType>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
168 
183  inline void SetResourceTypes(Aws::Vector<ResourceType>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
184 
199  inline RecordingGroup& WithResourceTypes(const Aws::Vector<ResourceType>& value) { SetResourceTypes(value); return *this;}
200 
215  inline RecordingGroup& WithResourceTypes(Aws::Vector<ResourceType>&& value) { SetResourceTypes(value); return *this;}
216 
231  inline RecordingGroup& AddResourceTypes(const ResourceType& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
232 
247  inline RecordingGroup& AddResourceTypes(ResourceType&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
248 
249  private:
250  bool m_allSupported;
251  bool m_allSupportedHasBeenSet;
252  bool m_includeGlobalResourceTypes;
253  bool m_includeGlobalResourceTypesHasBeenSet;
254  Aws::Vector<ResourceType> m_resourceTypes;
255  bool m_resourceTypesHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace ConfigService
260 } // namespace Aws
RecordingGroup & WithAllSupported(bool value)
void SetResourceTypes(Aws::Vector< ResourceType > &&value)
void SetResourceTypes(const Aws::Vector< ResourceType > &value)
const Aws::Vector< ResourceType > & GetResourceTypes() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
RecordingGroup & AddResourceTypes(const ResourceType &value)
RecordingGroup & WithResourceTypes(const Aws::Vector< ResourceType > &value)
RecordingGroup & WithIncludeGlobalResourceTypes(bool value)
RecordingGroup & AddResourceTypes(ResourceType &&value)
#define AWS_CONFIGSERVICE_API
RecordingGroup & WithResourceTypes(Aws::Vector< ResourceType > &&value)
JSON (JavaScript Object Notation).