AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Administrator.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 Administrator();
36 AWS_GUARDDUTY_API Administrator(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Administrator& 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 Administrator& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Administrator& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Administrator& 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 Administrator& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
66 inline Administrator& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
67 inline Administrator& 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 Administrator& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
81 inline Administrator& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
82 inline Administrator& 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 Administrator& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
95 inline Administrator& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
96 inline Administrator& 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
AWS_GUARDDUTY_API Administrator(Aws::Utils::Json::JsonView jsonValue)
void SetInvitedAt(Aws::String &&value)
void SetRelationshipStatus(const Aws::String &value)
Administrator & WithInvitationId(Aws::String &&value)
Administrator & WithInvitationId(const char *value)
Administrator & WithInvitedAt(const char *value)
void SetAccountId(Aws::String &&value)
void SetInvitationId(Aws::String &&value)
Administrator & WithInvitationId(const Aws::String &value)
void SetAccountId(const char *value)
const Aws::String & GetInvitationId() const
void SetRelationshipStatus(Aws::String &&value)
Administrator & WithRelationshipStatus(Aws::String &&value)
const Aws::String & GetInvitedAt() const
AWS_GUARDDUTY_API Administrator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
void SetRelationshipStatus(const char *value)
const Aws::String & GetAccountId() const
Administrator & WithInvitedAt(Aws::String &&value)
void SetInvitedAt(const char *value)
void SetInvitedAt(const Aws::String &value)
Administrator & WithInvitedAt(const Aws::String &value)
Administrator & WithRelationshipStatus(const Aws::String &value)
Administrator & WithAccountId(Aws::String &&value)
Administrator & WithAccountId(const char *value)
const Aws::String & GetRelationshipStatus() const
Administrator & WithRelationshipStatus(const char *value)
void SetInvitationId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInvitationId(const char *value)
Administrator & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue