AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
OtaTaskConfigurationSummary.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_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 IoTManagedIntegrations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTaskConfigurationId() const { return m_taskConfigurationId; }
47 inline bool TaskConfigurationIdHasBeenSet() const { return m_taskConfigurationIdHasBeenSet; }
48 template<typename TaskConfigurationIdT = Aws::String>
49 void SetTaskConfigurationId(TaskConfigurationIdT&& value) { m_taskConfigurationIdHasBeenSet = true; m_taskConfigurationId = std::forward<TaskConfigurationIdT>(value); }
50 template<typename TaskConfigurationIdT = Aws::String>
51 OtaTaskConfigurationSummary& WithTaskConfigurationId(TaskConfigurationIdT&& value) { SetTaskConfigurationId(std::forward<TaskConfigurationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 OtaTaskConfigurationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 OtaTaskConfigurationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
78 private:
79
80 Aws::String m_taskConfigurationId;
81 bool m_taskConfigurationIdHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::Utils::DateTime m_createdAt{};
87 bool m_createdAtHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTManagedIntegrations
92} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OtaTaskConfigurationSummary & WithCreatedAt(CreatedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
OtaTaskConfigurationSummary & WithTaskConfigurationId(TaskConfigurationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue