AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Master.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
32 class Master
33 {
34 public:
35 AWS_GUARDDUTY_API Master();
36 AWS_GUARDDUTY_API Master(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Master& 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 Master& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Master& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Master& 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 Master& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
66 inline Master& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
67 inline Master& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
69
71
75 inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
76 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
77 inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
78 inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
79 inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
80 inline Master& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
81 inline Master& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
82 inline Master& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
84
86
89 inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
90 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
91 inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
92 inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
93 inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
94 inline Master& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
95 inline Master& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
96 inline Master& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
98 private:
99
100 Aws::String m_accountId;
101 bool m_accountIdHasBeenSet = false;
102
103 Aws::String m_invitationId;
104 bool m_invitationIdHasBeenSet = false;
105
106 Aws::String m_relationshipStatus;
107 bool m_relationshipStatusHasBeenSet = false;
108
109 Aws::String m_invitedAt;
110 bool m_invitedAtHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace GuardDuty
115} // namespace Aws
void SetAccountId(Aws::String &&value)
Definition Master.h:48
bool InvitationIdHasBeenSet() const
Definition Master.h:61
Master & WithInvitationId(const Aws::String &value)
Definition Master.h:65
Master & WithInvitationId(const char *value)
Definition Master.h:67
void SetRelationshipStatus(const Aws::String &value)
Definition Master.h:77
AWS_GUARDDUTY_API Master(Aws::Utils::Json::JsonView jsonValue)
void SetRelationshipStatus(const char *value)
Definition Master.h:79
void SetInvitationId(const Aws::String &value)
Definition Master.h:62
void SetInvitedAt(const char *value)
Definition Master.h:93
const Aws::String & GetAccountId() const
Definition Master.h:45
Master & WithRelationshipStatus(const char *value)
Definition Master.h:82
Master & WithRelationshipStatus(Aws::String &&value)
Definition Master.h:81
bool AccountIdHasBeenSet() const
Definition Master.h:46
bool InvitedAtHasBeenSet() const
Definition Master.h:90
void SetInvitedAt(Aws::String &&value)
Definition Master.h:92
Master & WithInvitedAt(const char *value)
Definition Master.h:96
Master & WithAccountId(Aws::String &&value)
Definition Master.h:51
AWS_GUARDDUTY_API Master()
const Aws::String & GetRelationshipStatus() const
Definition Master.h:75
Master & WithRelationshipStatus(const Aws::String &value)
Definition Master.h:80
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Master & WithInvitationId(Aws::String &&value)
Definition Master.h:66
const Aws::String & GetInvitationId() const
Definition Master.h:60
Master & WithInvitedAt(const Aws::String &value)
Definition Master.h:94
void SetInvitationId(Aws::String &&value)
Definition Master.h:63
Master & WithAccountId(const Aws::String &value)
Definition Master.h:50
Master & WithAccountId(const char *value)
Definition Master.h:52
bool RelationshipStatusHasBeenSet() const
Definition Master.h:76
void SetAccountId(const char *value)
Definition Master.h:49
Master & WithInvitedAt(Aws::String &&value)
Definition Master.h:95
void SetRelationshipStatus(Aws::String &&value)
Definition Master.h:78
void SetAccountId(const Aws::String &value)
Definition Master.h:47
const Aws::String & GetInvitedAt() const
Definition Master.h:89
void SetInvitedAt(const Aws::String &value)
Definition Master.h:91
AWS_GUARDDUTY_API Master & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvitationId(const char *value)
Definition Master.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue