AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
CreateManagedThingResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API CreateManagedThingResult() = default;
34
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template<typename IdT = Aws::String>
42 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
43 template<typename IdT = Aws::String>
44 CreateManagedThingResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 CreateManagedThingResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 CreateManagedThingResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreateManagedThingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_id;
80 bool m_idHasBeenSet = false;
81
82 Aws::String m_arn;
83 bool m_arnHasBeenSet = false;
84
85 Aws::Utils::DateTime m_createdAt{};
86 bool m_createdAtHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTManagedIntegrations
94} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API CreateManagedThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateManagedThingResult & WithRequestId(RequestIdT &&value)
CreateManagedThingResult & WithCreatedAt(CreatedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateManagedThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API CreateManagedThingResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue