AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRetentionSettingsResult.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/RetentionSettings.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Chime
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const RetentionSettings& GetRetentionSettings() const{ return m_retentionSettings; }
42 inline void SetRetentionSettings(const RetentionSettings& value) { m_retentionSettings = value; }
43 inline void SetRetentionSettings(RetentionSettings&& value) { m_retentionSettings = std::move(value); }
47
49
53 inline const Aws::Utils::DateTime& GetInitiateDeletionTimestamp() const{ return m_initiateDeletionTimestamp; }
54 inline void SetInitiateDeletionTimestamp(const Aws::Utils::DateTime& value) { m_initiateDeletionTimestamp = value; }
55 inline void SetInitiateDeletionTimestamp(Aws::Utils::DateTime&& value) { m_initiateDeletionTimestamp = std::move(value); }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline GetRetentionSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline GetRetentionSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline GetRetentionSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 RetentionSettings m_retentionSettings;
73
74 Aws::Utils::DateTime m_initiateDeletionTimestamp;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace Chime
81} // namespace Aws
AWS_CHIME_API GetRetentionSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetentionSettingsResult & WithInitiateDeletionTimestamp(Aws::Utils::DateTime &&value)
GetRetentionSettingsResult & WithRequestId(const Aws::String &value)
void SetInitiateDeletionTimestamp(const Aws::Utils::DateTime &value)
GetRetentionSettingsResult & WithRequestId(Aws::String &&value)
GetRetentionSettingsResult & WithInitiateDeletionTimestamp(const Aws::Utils::DateTime &value)
void SetRetentionSettings(const RetentionSettings &value)
GetRetentionSettingsResult & WithRetentionSettings(RetentionSettings &&value)
GetRetentionSettingsResult & WithRequestId(const char *value)
void SetInitiateDeletionTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetInitiateDeletionTimestamp() const
AWS_CHIME_API GetRetentionSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetentionSettingsResult & WithRetentionSettings(const RetentionSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue