AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateCredentialLockerResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations {
24namespace Model {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerResult() = default;
29 AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerResult& operator=(
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_id;
101
102 Aws::String m_arn;
103
104 Aws::Utils::DateTime m_createdAt{};
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_idHasBeenSet = false;
109 bool m_arnHasBeenSet = false;
110 bool m_createdAtHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace IoTManagedIntegrations
116} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCredentialLockerResult & WithCreatedAt(CreatedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateCredentialLockerResult()=default
CreateCredentialLockerResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue