AWS SDK for C++  0.14.3
AWS SDK for C++
TrustedAdvisorCheckRefreshStatus.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 Support
29 {
30 namespace Model
31 {
32 
37  {
38  public:
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline const Aws::String& GetCheckId() const{ return m_checkId; }
48 
52  inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
53 
57  inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
58 
62  inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); }
63 
67  inline TrustedAdvisorCheckRefreshStatus& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;}
68 
72  inline TrustedAdvisorCheckRefreshStatus& WithCheckId(Aws::String&& value) { SetCheckId(value); return *this;}
73 
77  inline TrustedAdvisorCheckRefreshStatus& WithCheckId(const char* value) { SetCheckId(value); return *this;}
78 
83  inline const Aws::String& GetStatus() const{ return m_status; }
84 
89  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
90 
95  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = value; }
96 
101  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
102 
107  inline TrustedAdvisorCheckRefreshStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
108 
113  inline TrustedAdvisorCheckRefreshStatus& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
114 
119  inline TrustedAdvisorCheckRefreshStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
120 
125  inline long long GetMillisUntilNextRefreshable() const{ return m_millisUntilNextRefreshable; }
126 
131  inline void SetMillisUntilNextRefreshable(long long value) { m_millisUntilNextRefreshableHasBeenSet = true; m_millisUntilNextRefreshable = value; }
132 
137  inline TrustedAdvisorCheckRefreshStatus& WithMillisUntilNextRefreshable(long long value) { SetMillisUntilNextRefreshable(value); return *this;}
138 
139  private:
140  Aws::String m_checkId;
141  bool m_checkIdHasBeenSet;
142  Aws::String m_status;
143  bool m_statusHasBeenSet;
144  long long m_millisUntilNextRefreshable;
145  bool m_millisUntilNextRefreshableHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace Support
150 } // namespace Aws
TrustedAdvisorCheckRefreshStatus & WithCheckId(Aws::String &&value)
TrustedAdvisorCheckRefreshStatus & WithStatus(const Aws::String &value)
TrustedAdvisorCheckRefreshStatus & WithStatus(Aws::String &&value)
TrustedAdvisorCheckRefreshStatus & WithCheckId(const Aws::String &value)
#define AWS_SUPPORT_API
TrustedAdvisorCheckRefreshStatus & WithCheckId(const char *value)
TrustedAdvisorCheckRefreshStatus & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
TrustedAdvisorCheckRefreshStatus & WithMillisUntilNextRefreshable(long long value)
JSON (JavaScript Object Notation).