AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetFleetResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_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 IoTFleetWise
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTFLEETWISE_API GetFleetResult() = 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 GetFleetResult& 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 GetFleetResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 GetFleetResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
74 template<typename SignalCatalogArnT = Aws::String>
75 void SetSignalCatalogArn(SignalCatalogArnT&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::forward<SignalCatalogArnT>(value); }
76 template<typename SignalCatalogArnT = Aws::String>
77 GetFleetResult& WithSignalCatalogArn(SignalCatalogArnT&& value) { SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 GetFleetResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
98 template<typename LastModificationTimeT = Aws::Utils::DateTime>
99 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
100 template<typename LastModificationTimeT = Aws::Utils::DateTime>
101 GetFleetResult& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template<typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
109 template<typename RequestIdT = Aws::String>
110 GetFleetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 Aws::String m_arn;
118 bool m_arnHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::String m_signalCatalogArn;
124 bool m_signalCatalogArnHasBeenSet = false;
125
126 Aws::Utils::DateTime m_creationTime{};
127 bool m_creationTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastModificationTime{};
130 bool m_lastModificationTimeHasBeenSet = false;
131
132 Aws::String m_requestId;
133 bool m_requestIdHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace IoTFleetWise
138} // 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)
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