AWS SDK for C++  0.14.3
AWS SDK for C++
FileSystemSize.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 EFS
29 {
30 namespace Model
31 {
32 
44  {
45  public:
48  FileSystemSize& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
49  Aws::Utils::Json::JsonValue Jsonize() const;
50 
54  inline long long GetValue() const{ return m_value; }
55 
59  inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
60 
64  inline FileSystemSize& WithValue(long long value) { SetValue(value); return *this;}
65 
71  inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
72 
78  inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
79 
85  inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
86 
92  inline FileSystemSize& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
93 
99  inline FileSystemSize& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(value); return *this;}
100 
101  private:
102  long long m_value;
103  bool m_valueHasBeenSet;
104  Aws::Utils::DateTime m_timestamp;
105  bool m_timestampHasBeenSet;
106  };
107 
108 } // namespace Model
109 } // namespace EFS
110 } // namespace Aws
FileSystemSize & WithTimestamp(const Aws::Utils::DateTime &value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
void SetTimestamp(const Aws::Utils::DateTime &value)
FileSystemSize & WithTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetValue(long long value)
JSON (JavaScript Object Notation).
FileSystemSize & WithValue(long long value)