AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArchivalSummary.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DYNAMODB_API ArchivalSummary();
36 AWS_DYNAMODB_API ArchivalSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::DateTime& GetArchivalDateTime() const{ return m_archivalDateTime; }
47 inline bool ArchivalDateTimeHasBeenSet() const { return m_archivalDateTimeHasBeenSet; }
48 inline void SetArchivalDateTime(const Aws::Utils::DateTime& value) { m_archivalDateTimeHasBeenSet = true; m_archivalDateTime = value; }
49 inline void SetArchivalDateTime(Aws::Utils::DateTime&& value) { m_archivalDateTimeHasBeenSet = true; m_archivalDateTime = std::move(value); }
51 inline ArchivalSummary& WithArchivalDateTime(Aws::Utils::DateTime&& value) { SetArchivalDateTime(std::move(value)); return *this;}
53
55
62 inline const Aws::String& GetArchivalReason() const{ return m_archivalReason; }
63 inline bool ArchivalReasonHasBeenSet() const { return m_archivalReasonHasBeenSet; }
64 inline void SetArchivalReason(const Aws::String& value) { m_archivalReasonHasBeenSet = true; m_archivalReason = value; }
65 inline void SetArchivalReason(Aws::String&& value) { m_archivalReasonHasBeenSet = true; m_archivalReason = std::move(value); }
66 inline void SetArchivalReason(const char* value) { m_archivalReasonHasBeenSet = true; m_archivalReason.assign(value); }
67 inline ArchivalSummary& WithArchivalReason(const Aws::String& value) { SetArchivalReason(value); return *this;}
68 inline ArchivalSummary& WithArchivalReason(Aws::String&& value) { SetArchivalReason(std::move(value)); return *this;}
69 inline ArchivalSummary& WithArchivalReason(const char* value) { SetArchivalReason(value); return *this;}
71
73
78 inline const Aws::String& GetArchivalBackupArn() const{ return m_archivalBackupArn; }
79 inline bool ArchivalBackupArnHasBeenSet() const { return m_archivalBackupArnHasBeenSet; }
80 inline void SetArchivalBackupArn(const Aws::String& value) { m_archivalBackupArnHasBeenSet = true; m_archivalBackupArn = value; }
81 inline void SetArchivalBackupArn(Aws::String&& value) { m_archivalBackupArnHasBeenSet = true; m_archivalBackupArn = std::move(value); }
82 inline void SetArchivalBackupArn(const char* value) { m_archivalBackupArnHasBeenSet = true; m_archivalBackupArn.assign(value); }
83 inline ArchivalSummary& WithArchivalBackupArn(const Aws::String& value) { SetArchivalBackupArn(value); return *this;}
84 inline ArchivalSummary& WithArchivalBackupArn(Aws::String&& value) { SetArchivalBackupArn(std::move(value)); return *this;}
85 inline ArchivalSummary& WithArchivalBackupArn(const char* value) { SetArchivalBackupArn(value); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_archivalDateTime;
90 bool m_archivalDateTimeHasBeenSet = false;
91
92 Aws::String m_archivalReason;
93 bool m_archivalReasonHasBeenSet = false;
94
95 Aws::String m_archivalBackupArn;
96 bool m_archivalBackupArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
AWS_DYNAMODB_API ArchivalSummary(Aws::Utils::Json::JsonView jsonValue)
void SetArchivalBackupArn(Aws::String &&value)
const Aws::String & GetArchivalBackupArn() const
ArchivalSummary & WithArchivalReason(const char *value)
AWS_DYNAMODB_API ArchivalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArchivalReason(Aws::String &&value)
ArchivalSummary & WithArchivalBackupArn(const char *value)
void SetArchivalDateTime(Aws::Utils::DateTime &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetArchivalDateTime() const
ArchivalSummary & WithArchivalDateTime(Aws::Utils::DateTime &&value)
void SetArchivalBackupArn(const char *value)
void SetArchivalDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArchivalReason() const
void SetArchivalReason(const char *value)
void SetArchivalBackupArn(const Aws::String &value)
ArchivalSummary & WithArchivalBackupArn(Aws::String &&value)
ArchivalSummary & WithArchivalReason(Aws::String &&value)
ArchivalSummary & WithArchivalReason(const Aws::String &value)
ArchivalSummary & WithArchivalBackupArn(const Aws::String &value)
void SetArchivalReason(const Aws::String &value)
ArchivalSummary & WithArchivalDateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue