AWS SDK for C++  0.12.9
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 
55  inline long long GetValue() const{ return m_value; }
56 
61  inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
62 
67  inline FileSystemSize& WithValue(long long value) { SetValue(value); return *this;}
68 
74  inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
75 
81  inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
82 
88  inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
89 
95  inline FileSystemSize& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
96 
102  inline FileSystemSize& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(value); return *this;}
103 
104  private:
105  long long m_value;
106  bool m_valueHasBeenSet;
107  Aws::Utils::DateTime m_timestamp;
108  bool m_timestampHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace EFS
113 } // namespace Aws
FileSystemSize & WithTimestamp(const Aws::Utils::DateTime &value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:34
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)