AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OTAUpdateSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API OTAUpdateSummary() = default;
39
40
42
45 inline const Aws::String& GetOtaUpdateId() const { return m_otaUpdateId; }
46 inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; }
47 template<typename OtaUpdateIdT = Aws::String>
48 void SetOtaUpdateId(OtaUpdateIdT&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::forward<OtaUpdateIdT>(value); }
49 template<typename OtaUpdateIdT = Aws::String>
50 OTAUpdateSummary& WithOtaUpdateId(OtaUpdateIdT&& value) { SetOtaUpdateId(std::forward<OtaUpdateIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetOtaUpdateArn() const { return m_otaUpdateArn; }
58 inline bool OtaUpdateArnHasBeenSet() const { return m_otaUpdateArnHasBeenSet; }
59 template<typename OtaUpdateArnT = Aws::String>
60 void SetOtaUpdateArn(OtaUpdateArnT&& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = std::forward<OtaUpdateArnT>(value); }
61 template<typename OtaUpdateArnT = Aws::String>
62 OTAUpdateSummary& WithOtaUpdateArn(OtaUpdateArnT&& value) { SetOtaUpdateArn(std::forward<OtaUpdateArnT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
70 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
71 template<typename CreationDateT = Aws::Utils::DateTime>
72 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
73 template<typename CreationDateT = Aws::Utils::DateTime>
74 OTAUpdateSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
76 private:
77
78 Aws::String m_otaUpdateId;
79 bool m_otaUpdateIdHasBeenSet = false;
80
81 Aws::String m_otaUpdateArn;
82 bool m_otaUpdateArnHasBeenSet = false;
83
84 Aws::Utils::DateTime m_creationDate{};
85 bool m_creationDateHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoT
90} // namespace Aws
AWS_IOT_API OTAUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOtaUpdateId(OtaUpdateIdT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
OTAUpdateSummary & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
AWS_IOT_API OTAUpdateSummary()=default
const Aws::Utils::DateTime & GetCreationDate() const
OTAUpdateSummary & WithOtaUpdateArn(OtaUpdateArnT &&value)
const Aws::String & GetOtaUpdateId() const
OTAUpdateSummary & WithOtaUpdateId(OtaUpdateIdT &&value)
AWS_IOT_API OTAUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOtaUpdateArn(OtaUpdateArnT &&value)
const Aws::String & GetOtaUpdateArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue