AWS SDK for C++  0.14.3
AWS SDK for C++
TrustedAdvisorResourcesSummary.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
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace Support
28 {
29 namespace Model
30 {
31 
37  {
38  public:
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
48  inline long long GetResourcesProcessed() const{ return m_resourcesProcessed; }
49 
54  inline void SetResourcesProcessed(long long value) { m_resourcesProcessedHasBeenSet = true; m_resourcesProcessed = value; }
55 
60  inline TrustedAdvisorResourcesSummary& WithResourcesProcessed(long long value) { SetResourcesProcessed(value); return *this;}
61 
66  inline long long GetResourcesFlagged() const{ return m_resourcesFlagged; }
67 
72  inline void SetResourcesFlagged(long long value) { m_resourcesFlaggedHasBeenSet = true; m_resourcesFlagged = value; }
73 
78  inline TrustedAdvisorResourcesSummary& WithResourcesFlagged(long long value) { SetResourcesFlagged(value); return *this;}
79 
84  inline long long GetResourcesIgnored() const{ return m_resourcesIgnored; }
85 
90  inline void SetResourcesIgnored(long long value) { m_resourcesIgnoredHasBeenSet = true; m_resourcesIgnored = value; }
91 
96  inline TrustedAdvisorResourcesSummary& WithResourcesIgnored(long long value) { SetResourcesIgnored(value); return *this;}
97 
102  inline long long GetResourcesSuppressed() const{ return m_resourcesSuppressed; }
103 
108  inline void SetResourcesSuppressed(long long value) { m_resourcesSuppressedHasBeenSet = true; m_resourcesSuppressed = value; }
109 
114  inline TrustedAdvisorResourcesSummary& WithResourcesSuppressed(long long value) { SetResourcesSuppressed(value); return *this;}
115 
116  private:
117  long long m_resourcesProcessed;
118  bool m_resourcesProcessedHasBeenSet;
119  long long m_resourcesFlagged;
120  bool m_resourcesFlaggedHasBeenSet;
121  long long m_resourcesIgnored;
122  bool m_resourcesIgnoredHasBeenSet;
123  long long m_resourcesSuppressed;
124  bool m_resourcesSuppressedHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace Support
129 } // namespace Aws
TrustedAdvisorResourcesSummary & WithResourcesSuppressed(long long value)
#define AWS_SUPPORT_API
TrustedAdvisorResourcesSummary & WithResourcesProcessed(long long value)
JSON (JavaScript Object Notation).
TrustedAdvisorResourcesSummary & WithResourcesFlagged(long long value)
TrustedAdvisorResourcesSummary & WithResourcesIgnored(long long value)