AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleKeyDeletionResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kms/model/KeyState.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 KMS
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline const Aws::String& GetKeyId() const{ return m_keyId; }
44 inline void SetKeyId(const Aws::String& value) { m_keyId = value; }
45 inline void SetKeyId(Aws::String&& value) { m_keyId = std::move(value); }
46 inline void SetKeyId(const char* value) { m_keyId.assign(value); }
47 inline ScheduleKeyDeletionResult& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
48 inline ScheduleKeyDeletionResult& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
49 inline ScheduleKeyDeletionResult& WithKeyId(const char* value) { SetKeyId(value); return *this;}
51
53
59 inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
60 inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; }
61 inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); }
63 inline ScheduleKeyDeletionResult& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;}
65
67
73 inline const KeyState& GetKeyState() const{ return m_keyState; }
74 inline void SetKeyState(const KeyState& value) { m_keyState = value; }
75 inline void SetKeyState(KeyState&& value) { m_keyState = std::move(value); }
76 inline ScheduleKeyDeletionResult& WithKeyState(const KeyState& value) { SetKeyState(value); return *this;}
77 inline ScheduleKeyDeletionResult& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;}
79
81
87 inline int GetPendingWindowInDays() const{ return m_pendingWindowInDays; }
88 inline void SetPendingWindowInDays(int value) { m_pendingWindowInDays = value; }
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline ScheduleKeyDeletionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline ScheduleKeyDeletionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline ScheduleKeyDeletionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_keyId;
105
106 Aws::Utils::DateTime m_deletionDate;
107
108 KeyState m_keyState;
109
110 int m_pendingWindowInDays;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace KMS
117} // namespace Aws
ScheduleKeyDeletionResult & WithKeyId(Aws::String &&value)
AWS_KMS_API ScheduleKeyDeletionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ScheduleKeyDeletionResult & WithDeletionDate(const Aws::Utils::DateTime &value)
void SetDeletionDate(Aws::Utils::DateTime &&value)
ScheduleKeyDeletionResult & WithKeyState(KeyState &&value)
AWS_KMS_API ScheduleKeyDeletionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeletionDate(const Aws::Utils::DateTime &value)
ScheduleKeyDeletionResult & WithKeyId(const Aws::String &value)
ScheduleKeyDeletionResult & WithKeyId(const char *value)
ScheduleKeyDeletionResult & WithDeletionDate(Aws::Utils::DateTime &&value)
ScheduleKeyDeletionResult & WithRequestId(Aws::String &&value)
ScheduleKeyDeletionResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetDeletionDate() const
ScheduleKeyDeletionResult & WithRequestId(const char *value)
ScheduleKeyDeletionResult & WithPendingWindowInDays(int value)
ScheduleKeyDeletionResult & WithKeyState(const KeyState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue