AWS SDK for C++  0.14.3
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 
62  {
63  public:
66  RecordingGroup& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
67  Aws::Utils::Json::JsonValue Jsonize() const;
68 
77  inline bool GetAllSupported() const{ return m_allSupported; }
78 
87  inline void SetAllSupported(bool value) { m_allSupportedHasBeenSet = true; m_allSupported = value; }
88 
97  inline RecordingGroup& WithAllSupported(bool value) { SetAllSupported(value); return *this;}
98 
110  inline bool GetIncludeGlobalResourceTypes() const{ return m_includeGlobalResourceTypes; }
111 
123  inline void SetIncludeGlobalResourceTypes(bool value) { m_includeGlobalResourceTypesHasBeenSet = true; m_includeGlobalResourceTypes = value; }
124 
136  inline RecordingGroup& WithIncludeGlobalResourceTypes(bool value) { SetIncludeGlobalResourceTypes(value); return *this;}
137 
152  inline const Aws::Vector<ResourceType>& GetResourceTypes() const{ return m_resourceTypes; }
153 
168  inline void SetResourceTypes(const Aws::Vector<ResourceType>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
169 
184  inline void SetResourceTypes(Aws::Vector<ResourceType>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
185 
200  inline RecordingGroup& WithResourceTypes(const Aws::Vector<ResourceType>& value) { SetResourceTypes(value); return *this;}
201 
216  inline RecordingGroup& WithResourceTypes(Aws::Vector<ResourceType>&& value) { SetResourceTypes(value); return *this;}
217 
232  inline RecordingGroup& AddResourceTypes(const ResourceType& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
233 
248  inline RecordingGroup& AddResourceTypes(ResourceType&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
249 
250  private:
251  bool m_allSupported;
252  bool m_allSupportedHasBeenSet;
253  bool m_includeGlobalResourceTypes;
254  bool m_includeGlobalResourceTypesHasBeenSet;
255  Aws::Vector<ResourceType> m_resourceTypes;
256  bool m_resourceTypesHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace ConfigService
261 } // 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).