AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceSummary.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/model/Instance.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SnowDeviceManagement
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary();
36 AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Instance& GetInstance() const{ return m_instance; }
46 inline bool InstanceHasBeenSet() const { return m_instanceHasBeenSet; }
47 inline void SetInstance(const Instance& value) { m_instanceHasBeenSet = true; m_instance = value; }
48 inline void SetInstance(Instance&& value) { m_instanceHasBeenSet = true; m_instance = std::move(value); }
49 inline InstanceSummary& WithInstance(const Instance& value) { SetInstance(value); return *this;}
50 inline InstanceSummary& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
58 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
59 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
60 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
61 inline InstanceSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
62 inline InstanceSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
64 private:
65
66 Instance m_instance;
67 bool m_instanceHasBeenSet = false;
68
69 Aws::Utils::DateTime m_lastUpdatedAt;
70 bool m_lastUpdatedAtHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SnowDeviceManagement
75} // namespace Aws
AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary()
InstanceSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_SNOWDEVICEMANAGEMENT_API InstanceSummary(Aws::Utils::Json::JsonView jsonValue)
InstanceSummary & WithInstance(const Instance &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
InstanceSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
InstanceSummary & WithInstance(Instance &&value)
Aws::Utils::Json::JsonValue JsonValue