AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityKey.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API SecurityKey();
36 AWS_CONNECT_API SecurityKey(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
47 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
48 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
49 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
50 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
51 inline SecurityKey& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
52 inline SecurityKey& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
53 inline SecurityKey& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
55
57
60 inline const Aws::String& GetKey() const{ return m_key; }
61 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
62 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
63 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
64 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
65 inline SecurityKey& WithKey(const Aws::String& value) { SetKey(value); return *this;}
66 inline SecurityKey& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
67 inline SecurityKey& WithKey(const char* value) { SetKey(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
77 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
78 inline SecurityKey& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
79 inline SecurityKey& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_associationId;
84 bool m_associationIdHasBeenSet = false;
85
86 Aws::String m_key;
87 bool m_keyHasBeenSet = false;
88
89 Aws::Utils::DateTime m_creationTime;
90 bool m_creationTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
SecurityKey & WithAssociationId(const char *value)
Definition SecurityKey.h:53
AWS_CONNECT_API SecurityKey(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
Definition SecurityKey.h:74
const Aws::String & GetKey() const
Definition SecurityKey.h:60
SecurityKey & WithKey(Aws::String &&value)
Definition SecurityKey.h:66
const Aws::String & GetAssociationId() const
Definition SecurityKey.h:46
void SetKey(Aws::String &&value)
Definition SecurityKey.h:63
SecurityKey & WithCreationTime(Aws::Utils::DateTime &&value)
Definition SecurityKey.h:79
SecurityKey & WithKey(const Aws::String &value)
Definition SecurityKey.h:65
AWS_CONNECT_API SecurityKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociationId(const Aws::String &value)
Definition SecurityKey.h:48
SecurityKey & WithAssociationId(const Aws::String &value)
Definition SecurityKey.h:51
void SetAssociationId(const char *value)
Definition SecurityKey.h:50
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKey(const Aws::String &value)
Definition SecurityKey.h:62
void SetKey(const char *value)
Definition SecurityKey.h:64
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition SecurityKey.h:76
void SetAssociationId(Aws::String &&value)
Definition SecurityKey.h:49
SecurityKey & WithAssociationId(Aws::String &&value)
Definition SecurityKey.h:52
SecurityKey & WithKey(const char *value)
Definition SecurityKey.h:67
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition SecurityKey.h:77
SecurityKey & WithCreationTime(const Aws::Utils::DateTime &value)
Definition SecurityKey.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue