AWS SDK for C++  1.8.154
AWS SDK for C++
Master.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
35  Master();
39 
40 
44  inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 
49  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
59  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
60 
64  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
65 
69  inline Master& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
70 
74  inline Master& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
75 
79  inline Master& WithAccountId(const char* value) { SetAccountId(value); return *this;}
80 
81 
86  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
87 
92  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
93 
98  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
99 
104  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
105 
110  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
111 
116  inline Master& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
117 
122  inline Master& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
123 
128  inline Master& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
129 
130 
135  inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
136 
141  inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
142 
147  inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
148 
153  inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
154 
159  inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
160 
165  inline Master& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
166 
171  inline Master& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
172 
177  inline Master& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
178 
179 
183  inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
184 
188  inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
189 
193  inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
194 
198  inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
199 
203  inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
204 
208  inline Master& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
209 
213  inline Master& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
214 
218  inline Master& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
219 
220  private:
221 
222  Aws::String m_accountId;
223  bool m_accountIdHasBeenSet;
224 
225  Aws::String m_invitationId;
226  bool m_invitationIdHasBeenSet;
227 
228  Aws::String m_relationshipStatus;
229  bool m_relationshipStatusHasBeenSet;
230 
231  Aws::String m_invitedAt;
232  bool m_invitedAtHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace GuardDuty
237 } // namespace Aws
Aws::GuardDuty::Model::Master::WithInvitationId
Master & WithInvitationId(Aws::String &&value)
Definition: Master.h:122
Aws::GuardDuty::Model::Master::operator=
Master & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Master::SetRelationshipStatus
void SetRelationshipStatus(const char *value)
Definition: Master.h:159
Aws::GuardDuty::Model::Master::WithInvitedAt
Master & WithInvitedAt(Aws::String &&value)
Definition: Master.h:213
Aws::GuardDuty::Model::Master::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::Master::WithInvitationId
Master & WithInvitationId(const Aws::String &value)
Definition: Master.h:116
Aws::GuardDuty::Model::Master::InvitedAtHasBeenSet
bool InvitedAtHasBeenSet() const
Definition: Master.h:188
Aws::GuardDuty::Model::Master::SetInvitedAt
void SetInvitedAt(Aws::String &&value)
Definition: Master.h:198
Aws::GuardDuty::Model::Master::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Master.h:54
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::Master::WithRelationshipStatus
Master & WithRelationshipStatus(const char *value)
Definition: Master.h:177
Aws::GuardDuty::Model::Master::SetAccountId
void SetAccountId(const char *value)
Definition: Master.h:64
Aws::GuardDuty::Model::Master::WithAccountId
Master & WithAccountId(const char *value)
Definition: Master.h:79
Aws::GuardDuty::Model::Master
Definition: Master.h:33
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::Master::SetInvitedAt
void SetInvitedAt(const Aws::String &value)
Definition: Master.h:193
Aws::GuardDuty::Model::Master::WithRelationshipStatus
Master & WithRelationshipStatus(const Aws::String &value)
Definition: Master.h:165
Aws::GuardDuty::Model::Master::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: Master.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::GuardDuty::Model::Master::SetRelationshipStatus
void SetRelationshipStatus(const Aws::String &value)
Definition: Master.h:147
Aws::GuardDuty::Model::Master::WithRelationshipStatus
Master & WithRelationshipStatus(Aws::String &&value)
Definition: Master.h:171
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::Master::SetInvitationId
void SetInvitationId(const char *value)
Definition: Master.h:110
Aws::GuardDuty::Model::Master::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Master.h:59
Aws::GuardDuty::Model::Master::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: Master.h:92
Aws::GuardDuty::Model::Master::GetInvitedAt
const Aws::String & GetInvitedAt() const
Definition: Master.h:183
Aws::GuardDuty::Model::Master::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Master.h:49
Aws::GuardDuty::Model::Master::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: Master.h:86
Aws::GuardDuty::Model::Master::Master
Master(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Master::Master
Master()
Aws::GuardDuty::Model::Master::WithAccountId
Master & WithAccountId(Aws::String &&value)
Definition: Master.h:74
Aws::GuardDuty::Model::Master::WithInvitedAt
Master & WithInvitedAt(const Aws::String &value)
Definition: Master.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::Master::SetRelationshipStatus
void SetRelationshipStatus(Aws::String &&value)
Definition: Master.h:153
Aws::GuardDuty::Model::Master::GetAccountId
const Aws::String & GetAccountId() const
Definition: Master.h:44
Aws::GuardDuty::Model::Master::RelationshipStatusHasBeenSet
bool RelationshipStatusHasBeenSet() const
Definition: Master.h:141
Aws::GuardDuty::Model::Master::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: Master.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::Master::WithAccountId
Master & WithAccountId(const Aws::String &value)
Definition: Master.h:69
Aws::GuardDuty::Model::Master::SetInvitedAt
void SetInvitedAt(const char *value)
Definition: Master.h:203
Aws::GuardDuty::Model::Master::WithInvitationId
Master & WithInvitationId(const char *value)
Definition: Master.h:128
Aws::GuardDuty::Model::Master::WithInvitedAt
Master & WithInvitedAt(const char *value)
Definition: Master.h:218
Aws::GuardDuty::Model::Master::GetRelationshipStatus
const Aws::String & GetRelationshipStatus() const
Definition: Master.h:135