AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Invitation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API Invitation();
36 AWS_SECURITYHUB_API Invitation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Invitation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline Invitation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline Invitation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline Invitation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
61 inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
62 inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
63 inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
64 inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
65 inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
66 inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
67 inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
75 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
76 inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
77 inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
78 inline Invitation& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
79 inline Invitation& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetMemberStatus() const{ return m_memberStatus; }
88 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
89 inline void SetMemberStatus(const Aws::String& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; }
90 inline void SetMemberStatus(Aws::String&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); }
91 inline void SetMemberStatus(const char* value) { m_memberStatusHasBeenSet = true; m_memberStatus.assign(value); }
92 inline Invitation& WithMemberStatus(const Aws::String& value) { SetMemberStatus(value); return *this;}
93 inline Invitation& WithMemberStatus(Aws::String&& value) { SetMemberStatus(std::move(value)); return *this;}
94 inline Invitation& WithMemberStatus(const char* value) { SetMemberStatus(value); return *this;}
96 private:
97
98 Aws::String m_accountId;
99 bool m_accountIdHasBeenSet = false;
100
101 Aws::String m_invitationId;
102 bool m_invitationIdHasBeenSet = false;
103
104 Aws::Utils::DateTime m_invitedAt;
105 bool m_invitedAtHasBeenSet = false;
106
107 Aws::String m_memberStatus;
108 bool m_memberStatusHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SecurityHub
113} // namespace Aws
void SetInvitationId(Aws::String &&value)
Definition Invitation.h:63
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMemberStatus(const Aws::String &value)
Definition Invitation.h:89
const Aws::String & GetInvitationId() const
Definition Invitation.h:60
Invitation & WithInvitationId(const Aws::String &value)
Definition Invitation.h:65
AWS_SECURITYHUB_API Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Invitation & WithMemberStatus(Aws::String &&value)
Definition Invitation.h:93
Invitation & WithAccountId(const Aws::String &value)
Definition Invitation.h:51
Invitation & WithInvitedAt(const Aws::Utils::DateTime &value)
Definition Invitation.h:78
Invitation & WithAccountId(const char *value)
Definition Invitation.h:53
void SetInvitedAt(const Aws::Utils::DateTime &value)
Definition Invitation.h:76
void SetMemberStatus(Aws::String &&value)
Definition Invitation.h:90
Invitation & WithInvitationId(Aws::String &&value)
Definition Invitation.h:66
Invitation & WithInvitedAt(Aws::Utils::DateTime &&value)
Definition Invitation.h:79
Invitation & WithInvitationId(const char *value)
Definition Invitation.h:67
void SetMemberStatus(const char *value)
Definition Invitation.h:91
void SetInvitationId(const char *value)
Definition Invitation.h:64
AWS_SECURITYHUB_API Invitation(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Invitation()
const Aws::Utils::DateTime & GetInvitedAt() const
Definition Invitation.h:74
const Aws::String & GetAccountId() const
Definition Invitation.h:46
void SetAccountId(Aws::String &&value)
Definition Invitation.h:49
void SetInvitationId(const Aws::String &value)
Definition Invitation.h:62
Invitation & WithMemberStatus(const char *value)
Definition Invitation.h:94
Invitation & WithMemberStatus(const Aws::String &value)
Definition Invitation.h:92
void SetAccountId(const char *value)
Definition Invitation.h:50
void SetAccountId(const Aws::String &value)
Definition Invitation.h:48
Invitation & WithAccountId(Aws::String &&value)
Definition Invitation.h:52
const Aws::String & GetMemberStatus() const
Definition Invitation.h:87
void SetInvitedAt(Aws::Utils::DateTime &&value)
Definition Invitation.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue