AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RotationsListEntry.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/RotationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KMS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KMS_API RotationsListEntry();
41
42
44
47 inline const Aws::String& GetKeyId() const{ return m_keyId; }
48 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
49 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
50 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
51 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
52 inline RotationsListEntry& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
53 inline RotationsListEntry& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
54 inline RotationsListEntry& WithKeyId(const char* value) { SetKeyId(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetRotationDate() const{ return m_rotationDate; }
63 inline bool RotationDateHasBeenSet() const { return m_rotationDateHasBeenSet; }
64 inline void SetRotationDate(const Aws::Utils::DateTime& value) { m_rotationDateHasBeenSet = true; m_rotationDate = value; }
65 inline void SetRotationDate(Aws::Utils::DateTime&& value) { m_rotationDateHasBeenSet = true; m_rotationDate = std::move(value); }
66 inline RotationsListEntry& WithRotationDate(const Aws::Utils::DateTime& value) { SetRotationDate(value); return *this;}
67 inline RotationsListEntry& WithRotationDate(Aws::Utils::DateTime&& value) { SetRotationDate(std::move(value)); return *this;}
69
71
78 inline const RotationType& GetRotationType() const{ return m_rotationType; }
79 inline bool RotationTypeHasBeenSet() const { return m_rotationTypeHasBeenSet; }
80 inline void SetRotationType(const RotationType& value) { m_rotationTypeHasBeenSet = true; m_rotationType = value; }
81 inline void SetRotationType(RotationType&& value) { m_rotationTypeHasBeenSet = true; m_rotationType = std::move(value); }
82 inline RotationsListEntry& WithRotationType(const RotationType& value) { SetRotationType(value); return *this;}
83 inline RotationsListEntry& WithRotationType(RotationType&& value) { SetRotationType(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_keyId;
88 bool m_keyIdHasBeenSet = false;
89
90 Aws::Utils::DateTime m_rotationDate;
91 bool m_rotationDateHasBeenSet = false;
92
93 RotationType m_rotationType;
94 bool m_rotationTypeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace KMS
99} // namespace Aws
void SetKeyId(const Aws::String &value)
bool RotationTypeHasBeenSet() const
const Aws::String & GetKeyId() const
AWS_KMS_API RotationsListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KMS_API RotationsListEntry()
const RotationType & GetRotationType() const
AWS_KMS_API RotationsListEntry(Aws::Utils::Json::JsonView jsonValue)
RotationsListEntry & WithRotationDate(Aws::Utils::DateTime &&value)
void SetKeyId(const char *value)
RotationsListEntry & WithRotationType(const RotationType &value)
bool KeyIdHasBeenSet() const
void SetRotationDate(Aws::Utils::DateTime &&value)
void SetRotationType(RotationType &&value)
RotationsListEntry & WithRotationDate(const Aws::Utils::DateTime &value)
RotationsListEntry & WithKeyId(const Aws::String &value)
RotationsListEntry & WithKeyId(const char *value)
RotationsListEntry & WithKeyId(Aws::String &&value)
RotationsListEntry & WithRotationType(RotationType &&value)
void SetRotationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetRotationDate() const
void SetRotationType(const RotationType &value)
bool RotationDateHasBeenSet() const
void SetKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue