AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
SearchResultItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API SearchResultItem() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
48 SearchResultItem& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAssetName() const { return m_assetName; }
59 inline bool AssetNameHasBeenSet() const { return m_assetNameHasBeenSet; }
60 template <typename AssetNameT = Aws::String>
61 void SetAssetName(AssetNameT&& value) {
62 m_assetNameHasBeenSet = true;
63 m_assetName = std::forward<AssetNameT>(value);
64 }
65 template <typename AssetNameT = Aws::String>
66 SearchResultItem& WithAssetName(AssetNameT&& value) {
67 SetAssetName(std::forward<AssetNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetAssetDescription() const { return m_assetDescription; }
77 inline bool AssetDescriptionHasBeenSet() const { return m_assetDescriptionHasBeenSet; }
78 template <typename AssetDescriptionT = Aws::String>
79 void SetAssetDescription(AssetDescriptionT&& value) {
80 m_assetDescriptionHasBeenSet = true;
81 m_assetDescription = std::forward<AssetDescriptionT>(value);
82 }
83 template <typename AssetDescriptionT = Aws::String>
84 SearchResultItem& WithAssetDescription(AssetDescriptionT&& value) {
85 SetAssetDescription(std::forward<AssetDescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
95 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
96 template <typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(UpdatedAtT&& value) {
98 m_updatedAtHasBeenSet = true;
99 m_updatedAt = std::forward<UpdatedAtT>(value);
100 }
101 template <typename UpdatedAtT = Aws::Utils::DateTime>
102 SearchResultItem& WithUpdatedAt(UpdatedAtT&& value) {
103 SetUpdatedAt(std::forward<UpdatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetAssetTypeId() const { return m_assetTypeId; }
113 inline bool AssetTypeIdHasBeenSet() const { return m_assetTypeIdHasBeenSet; }
114 template <typename AssetTypeIdT = Aws::String>
115 void SetAssetTypeId(AssetTypeIdT&& value) {
116 m_assetTypeIdHasBeenSet = true;
117 m_assetTypeId = std::forward<AssetTypeIdT>(value);
118 }
119 template <typename AssetTypeIdT = Aws::String>
120 SearchResultItem& WithAssetTypeId(AssetTypeIdT&& value) {
121 SetAssetTypeId(std::forward<AssetTypeIdT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_id;
127
128 Aws::String m_assetName;
129
130 Aws::String m_assetDescription;
131
132 Aws::Utils::DateTime m_updatedAt{};
133
134 Aws::String m_assetTypeId;
135 bool m_idHasBeenSet = false;
136 bool m_assetNameHasBeenSet = false;
137 bool m_assetDescriptionHasBeenSet = false;
138 bool m_updatedAtHasBeenSet = false;
139 bool m_assetTypeIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Glue
144} // namespace Aws
void SetAssetName(AssetNameT &&value)
SearchResultItem & WithAssetName(AssetNameT &&value)
AWS_GLUE_API SearchResultItem()=default
const Aws::String & GetId() const
const Aws::String & GetAssetTypeId() const
SearchResultItem & WithAssetTypeId(AssetTypeIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SearchResultItem & WithAssetDescription(AssetDescriptionT &&value)
AWS_GLUE_API SearchResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssetTypeId(AssetTypeIdT &&value)
const Aws::String & GetAssetDescription() const
AWS_GLUE_API SearchResultItem(Aws::Utils::Json::JsonView jsonValue)
void SetAssetDescription(AssetDescriptionT &&value)
SearchResultItem & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetAssetName() const
SearchResultItem & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue