AWS SDK for C++  0.14.3
AWS SDK for C++
TrustedAdvisorCheckSummary.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 Support
31 {
32 namespace Model
33 {
34 
40  {
41  public:
44  TrustedAdvisorCheckSummary& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
50  inline const Aws::String& GetCheckId() const{ return m_checkId; }
51 
55  inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
56 
60  inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
61 
65  inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); }
66 
70  inline TrustedAdvisorCheckSummary& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;}
71 
75  inline TrustedAdvisorCheckSummary& WithCheckId(Aws::String&& value) { SetCheckId(value); return *this;}
76 
80  inline TrustedAdvisorCheckSummary& WithCheckId(const char* value) { SetCheckId(value); return *this;}
81 
85  inline const Aws::String& GetTimestamp() const{ return m_timestamp; }
86 
90  inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
91 
95  inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
96 
100  inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); }
101 
105  inline TrustedAdvisorCheckSummary& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;}
106 
110  inline TrustedAdvisorCheckSummary& WithTimestamp(Aws::String&& value) { SetTimestamp(value); return *this;}
111 
115  inline TrustedAdvisorCheckSummary& WithTimestamp(const char* value) { SetTimestamp(value); return *this;}
116 
121  inline const Aws::String& GetStatus() const{ return m_status; }
122 
127  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
128 
133  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = value; }
134 
139  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
140 
145  inline TrustedAdvisorCheckSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
146 
151  inline TrustedAdvisorCheckSummary& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
152 
157  inline TrustedAdvisorCheckSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
158 
162  inline bool GetHasFlaggedResources() const{ return m_hasFlaggedResources; }
163 
167  inline void SetHasFlaggedResources(bool value) { m_hasFlaggedResourcesHasBeenSet = true; m_hasFlaggedResources = value; }
168 
172  inline TrustedAdvisorCheckSummary& WithHasFlaggedResources(bool value) { SetHasFlaggedResources(value); return *this;}
173 
174 
175  inline const TrustedAdvisorResourcesSummary& GetResourcesSummary() const{ return m_resourcesSummary; }
176 
177 
178  inline void SetResourcesSummary(const TrustedAdvisorResourcesSummary& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = value; }
179 
180 
181  inline void SetResourcesSummary(TrustedAdvisorResourcesSummary&& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = value; }
182 
183 
184  inline TrustedAdvisorCheckSummary& WithResourcesSummary(const TrustedAdvisorResourcesSummary& value) { SetResourcesSummary(value); return *this;}
185 
186 
187  inline TrustedAdvisorCheckSummary& WithResourcesSummary(TrustedAdvisorResourcesSummary&& value) { SetResourcesSummary(value); return *this;}
188 
193  inline const TrustedAdvisorCategorySpecificSummary& GetCategorySpecificSummary() const{ return m_categorySpecificSummary; }
194 
199  inline void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = value; }
200 
205  inline void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary&& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = value; }
206 
211  inline TrustedAdvisorCheckSummary& WithCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary& value) { SetCategorySpecificSummary(value); return *this;}
212 
217  inline TrustedAdvisorCheckSummary& WithCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary&& value) { SetCategorySpecificSummary(value); return *this;}
218 
219  private:
220  Aws::String m_checkId;
221  bool m_checkIdHasBeenSet;
222  Aws::String m_timestamp;
223  bool m_timestampHasBeenSet;
224  Aws::String m_status;
225  bool m_statusHasBeenSet;
226  bool m_hasFlaggedResources;
227  bool m_hasFlaggedResourcesHasBeenSet;
228  TrustedAdvisorResourcesSummary m_resourcesSummary;
229  bool m_resourcesSummaryHasBeenSet;
230  TrustedAdvisorCategorySpecificSummary m_categorySpecificSummary;
231  bool m_categorySpecificSummaryHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace Support
236 } // namespace Aws
TrustedAdvisorCheckSummary & WithCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
const TrustedAdvisorResourcesSummary & GetResourcesSummary() const
TrustedAdvisorCheckSummary & WithResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckSummary & WithCheckId(const char *value)
void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
TrustedAdvisorCheckSummary & WithTimestamp(const char *value)
void SetResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckSummary & WithCheckId(const Aws::String &value)
TrustedAdvisorCheckSummary & WithCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
TrustedAdvisorCheckSummary & WithCheckId(Aws::String &&value)
TrustedAdvisorCheckSummary & WithStatus(Aws::String &&value)
void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
#define AWS_SUPPORT_API
void SetResourcesSummary(const TrustedAdvisorResourcesSummary &value)
TrustedAdvisorCheckSummary & WithStatus(const Aws::String &value)
TrustedAdvisorCheckSummary & WithTimestamp(const Aws::String &value)
TrustedAdvisorCheckSummary & WithTimestamp(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const TrustedAdvisorCategorySpecificSummary & GetCategorySpecificSummary() const
TrustedAdvisorCheckSummary & WithResourcesSummary(const TrustedAdvisorResourcesSummary &value)
TrustedAdvisorCheckSummary & WithHasFlaggedResources(bool value)
JSON (JavaScript Object Notation).
TrustedAdvisorCheckSummary & WithStatus(const char *value)