AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
OtaTaskConfigurationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API OtaTaskConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTaskConfigurationId() const { return m_taskConfigurationId; }
41 inline bool TaskConfigurationIdHasBeenSet() const { return m_taskConfigurationIdHasBeenSet; }
42 template <typename TaskConfigurationIdT = Aws::String>
43 void SetTaskConfigurationId(TaskConfigurationIdT&& value) {
44 m_taskConfigurationIdHasBeenSet = true;
45 m_taskConfigurationId = std::forward<TaskConfigurationIdT>(value);
46 }
47 template <typename TaskConfigurationIdT = Aws::String>
49 SetTaskConfigurationId(std::forward<TaskConfigurationIdT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 template <typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) {
81 m_createdAtHasBeenSet = true;
82 m_createdAt = std::forward<CreatedAtT>(value);
83 }
84 template <typename CreatedAtT = Aws::Utils::DateTime>
86 SetCreatedAt(std::forward<CreatedAtT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_taskConfigurationId;
92
93 Aws::String m_name;
94
95 Aws::Utils::DateTime m_createdAt{};
96 bool m_taskConfigurationIdHasBeenSet = false;
97 bool m_nameHasBeenSet = false;
98 bool m_createdAtHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace IoTManagedIntegrations
103} // 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