7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ResourceExplorer2
50 template<
typename DataT = Aws::Utils::Document>
51 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
52 template<
typename DataT = Aws::Utils::Document>
63 template<
typename LastReportedAtT = Aws::Utils::DateTime>
64 void SetLastReportedAt(LastReportedAtT&& value) { m_lastReportedAtHasBeenSet =
true; m_lastReportedAt = std::forward<LastReportedAtT>(value); }
65 template<
typename LastReportedAtT = Aws::Utils::DateTime>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
83 bool m_dataHasBeenSet =
false;
86 bool m_lastReportedAtHasBeenSet =
false;
89 bool m_nameHasBeenSet =
false;
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataHasBeenSet() const
bool NameHasBeenSet() const
ResourceProperty & WithName(NameT &&value)
ResourceProperty & WithData(DataT &&value)
AWS_RESOURCEEXPLORER2_API ResourceProperty()=default
AWS_RESOURCEEXPLORER2_API ResourceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_RESOURCEEXPLORER2_API ResourceProperty(Aws::Utils::Json::JsonView jsonValue)
bool LastReportedAtHasBeenSet() const
void SetLastReportedAt(LastReportedAtT &&value)
const Aws::Utils::DateTime & GetLastReportedAt() const
void SetName(NameT &&value)
Aws::Utils::DocumentView GetData() const
ResourceProperty & WithLastReportedAt(LastReportedAtT &&value)
void SetData(DataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue