AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
LastSuccessfulReplicatedUpdate.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace S3Tables {
21namespace Model {
22
30 public:
31 AWS_S3TABLES_API LastSuccessfulReplicatedUpdate() = default;
34 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetMetadataLocation() const { return m_metadataLocation; }
41 inline bool MetadataLocationHasBeenSet() const { return m_metadataLocationHasBeenSet; }
42 template <typename MetadataLocationT = Aws::String>
43 void SetMetadataLocation(MetadataLocationT&& value) {
44 m_metadataLocationHasBeenSet = true;
45 m_metadataLocation = std::forward<MetadataLocationT>(value);
46 }
47 template <typename MetadataLocationT = Aws::String>
49 SetMetadataLocation(std::forward<MetadataLocationT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
59 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
60 template <typename TimestampT = Aws::Utils::DateTime>
61 void SetTimestamp(TimestampT&& value) {
62 m_timestampHasBeenSet = true;
63 m_timestamp = std::forward<TimestampT>(value);
64 }
65 template <typename TimestampT = Aws::Utils::DateTime>
67 SetTimestamp(std::forward<TimestampT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_metadataLocation;
73
74 Aws::Utils::DateTime m_timestamp{};
75 bool m_metadataLocationHasBeenSet = false;
76 bool m_timestampHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace S3Tables
81} // namespace Aws
LastSuccessfulReplicatedUpdate & WithTimestamp(TimestampT &&value)
AWS_S3TABLES_API LastSuccessfulReplicatedUpdate()=default
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API LastSuccessfulReplicatedUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API LastSuccessfulReplicatedUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
LastSuccessfulReplicatedUpdate & WithMetadataLocation(MetadataLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue