AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRetentionSettingsResult.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 PutRetentionSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline PutRetentionSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline PutRetentionSettingsResult& 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
PutRetentionSettingsResult & WithRetentionSettings(const RetentionSettings &value)
AWS_CHIME_API PutRetentionSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInitiateDeletionTimestamp(Aws::Utils::DateTime &&value)
void SetInitiateDeletionTimestamp(const Aws::Utils::DateTime &value)
PutRetentionSettingsResult & WithRetentionSettings(RetentionSettings &&value)
PutRetentionSettingsResult & WithRequestId(Aws::String &&value)
PutRetentionSettingsResult & WithInitiateDeletionTimestamp(Aws::Utils::DateTime &&value)
PutRetentionSettingsResult & WithRequestId(const char *value)
void SetRetentionSettings(const RetentionSettings &value)
PutRetentionSettingsResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetInitiateDeletionTimestamp() const
PutRetentionSettingsResult & WithInitiateDeletionTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API PutRetentionSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue