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/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API Invitation();
36 AWS_GUARDDUTY_API Invitation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Invitation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline Invitation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Invitation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Invitation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
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::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
75 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
76 inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
77 inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
78 inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
79 inline Invitation& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
80 inline Invitation& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
81 inline Invitation& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
83
85
88 inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
89 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
90 inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
91 inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
92 inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
93 inline Invitation& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
94 inline Invitation& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
95 inline Invitation& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
97 private:
98
99 Aws::String m_accountId;
100 bool m_accountIdHasBeenSet = false;
101
102 Aws::String m_invitationId;
103 bool m_invitationIdHasBeenSet = false;
104
105 Aws::String m_relationshipStatus;
106 bool m_relationshipStatusHasBeenSet = false;
107
108 Aws::String m_invitedAt;
109 bool m_invitedAtHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GuardDuty
114} // namespace Aws
Invitation & WithRelationshipStatus(Aws::String &&value)
Definition Invitation.h:80
void SetInvitationId(const Aws::String &value)
Definition Invitation.h:62
AWS_GUARDDUTY_API Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Invitation & WithInvitedAt(const Aws::String &value)
Definition Invitation.h:93
const Aws::String & GetRelationshipStatus() const
Definition Invitation.h:74
Invitation & WithAccountId(Aws::String &&value)
Definition Invitation.h:51
Invitation & WithRelationshipStatus(const Aws::String &value)
Definition Invitation.h:79
Invitation & WithInvitationId(Aws::String &&value)
Definition Invitation.h:66
void SetInvitedAt(Aws::String &&value)
Definition Invitation.h:91
Invitation & WithInvitationId(const Aws::String &value)
Definition Invitation.h:65
Invitation & WithInvitationId(const char *value)
Definition Invitation.h:67
Invitation & WithInvitedAt(const char *value)
Definition Invitation.h:95
void SetInvitationId(const char *value)
Definition Invitation.h:64
void SetAccountId(Aws::String &&value)
Definition Invitation.h:48
void SetInvitationId(Aws::String &&value)
Definition Invitation.h:63
AWS_GUARDDUTY_API Invitation()
void SetAccountId(const char *value)
Definition Invitation.h:49
bool RelationshipStatusHasBeenSet() const
Definition Invitation.h:75
Invitation & WithAccountId(const char *value)
Definition Invitation.h:52
const Aws::String & GetInvitationId() const
Definition Invitation.h:60
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelationshipStatus(const char *value)
Definition Invitation.h:78
AWS_GUARDDUTY_API Invitation(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
Definition Invitation.h:47
Invitation & WithRelationshipStatus(const char *value)
Definition Invitation.h:81
void SetInvitedAt(const Aws::String &value)
Definition Invitation.h:90
const Aws::String & GetAccountId() const
Definition Invitation.h:45
void SetRelationshipStatus(Aws::String &&value)
Definition Invitation.h:77
const Aws::String & GetInvitedAt() const
Definition Invitation.h:88
void SetInvitedAt(const char *value)
Definition Invitation.h:92
void SetRelationshipStatus(const Aws::String &value)
Definition Invitation.h:76
Invitation & WithAccountId(const Aws::String &value)
Definition Invitation.h:50
Invitation & WithInvitedAt(Aws::String &&value)
Definition Invitation.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue