AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GetFleetResult.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/iotfleetwise/IoTFleetWise_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 IoTFleetWise {
24namespace Model {
26 public:
27 AWS_IOTFLEETWISE_API GetFleetResult() = default;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
42 GetFleetResult& WithId(IdT&& value) {
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
59 GetFleetResult& WithArn(ArnT&& value) {
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
76 GetFleetResult& WithDescription(DescriptionT&& value) {
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
87 template <typename SignalCatalogArnT = Aws::String>
88 void SetSignalCatalogArn(SignalCatalogArnT&& value) {
89 m_signalCatalogArnHasBeenSet = true;
90 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
91 }
92 template <typename SignalCatalogArnT = Aws::String>
93 GetFleetResult& WithSignalCatalogArn(SignalCatalogArnT&& value) {
94 SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
105 template <typename CreationTimeT = Aws::Utils::DateTime>
106 void SetCreationTime(CreationTimeT&& value) {
107 m_creationTimeHasBeenSet = true;
108 m_creationTime = std::forward<CreationTimeT>(value);
109 }
110 template <typename CreationTimeT = Aws::Utils::DateTime>
111 GetFleetResult& WithCreationTime(CreationTimeT&& value) {
112 SetCreationTime(std::forward<CreationTimeT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
123 template <typename LastModificationTimeT = Aws::Utils::DateTime>
124 void SetLastModificationTime(LastModificationTimeT&& value) {
125 m_lastModificationTimeHasBeenSet = true;
126 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
127 }
128 template <typename LastModificationTimeT = Aws::Utils::DateTime>
129 GetFleetResult& WithLastModificationTime(LastModificationTimeT&& value) {
130 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
144 GetFleetResult& WithRequestId(RequestIdT&& value) {
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_id;
153
154 Aws::String m_arn;
155
156 Aws::String m_description;
157
158 Aws::String m_signalCatalogArn;
159
160 Aws::Utils::DateTime m_creationTime{};
161
162 Aws::Utils::DateTime m_lastModificationTime{};
163
164 Aws::String m_requestId;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_idHasBeenSet = false;
167 bool m_arnHasBeenSet = false;
168 bool m_descriptionHasBeenSet = false;
169 bool m_signalCatalogArnHasBeenSet = false;
170 bool m_creationTimeHasBeenSet = false;
171 bool m_lastModificationTimeHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace IoTFleetWise
177} // namespace Aws
GetFleetResult & WithLastModificationTime(LastModificationTimeT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
AWS_IOTFLEETWISE_API GetFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFleetResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
GetFleetResult & WithId(IdT &&value)
const Aws::String & GetDescription() const
GetFleetResult & WithRequestId(RequestIdT &&value)
GetFleetResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetSignalCatalogArn() const
void SetLastModificationTime(LastModificationTimeT &&value)
const Aws::String & GetRequestId() const
GetFleetResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_IOTFLEETWISE_API GetFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTFLEETWISE_API GetFleetResult()=default
const Aws::Utils::DateTime & GetLastModificationTime() const
GetFleetResult & WithSignalCatalogArn(SignalCatalogArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreationTime(CreationTimeT &&value)
void SetSignalCatalogArn(SignalCatalogArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue