AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetMembershipAccountDetailItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/security-ir/SecurityIR_EXPORTS.h>
9#include <aws/security-ir/model/MembershipAccountRelationshipStatus.h>
10#include <aws/security-ir/model/MembershipAccountRelationshipType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityIR {
22namespace Model {
23
30 public:
31 AWS_SECURITYIR_API GetMembershipAccountDetailItem() = default;
34 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
58 inline MembershipAccountRelationshipStatus GetRelationshipStatus() const { return m_relationshipStatus; }
59 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
61 m_relationshipStatusHasBeenSet = true;
62 m_relationshipStatus = value;
63 }
66 return *this;
67 }
69
71
74 inline MembershipAccountRelationshipType GetRelationshipType() const { return m_relationshipType; }
75 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
77 m_relationshipTypeHasBeenSet = true;
78 m_relationshipType = value;
79 }
82 return *this;
83 }
85 private:
86 Aws::String m_accountId;
87
89
91 bool m_accountIdHasBeenSet = false;
92 bool m_relationshipStatusHasBeenSet = false;
93 bool m_relationshipTypeHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SecurityIR
98} // namespace Aws
GetMembershipAccountDetailItem & WithRelationshipStatus(MembershipAccountRelationshipStatus value)
void SetRelationshipStatus(MembershipAccountRelationshipStatus value)
AWS_SECURITYIR_API GetMembershipAccountDetailItem()=default
GetMembershipAccountDetailItem & WithAccountId(AccountIdT &&value)
GetMembershipAccountDetailItem & WithRelationshipType(MembershipAccountRelationshipType value)
AWS_SECURITYIR_API GetMembershipAccountDetailItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelationshipType(MembershipAccountRelationshipType value)
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipAccountRelationshipStatus GetRelationshipStatus() const
AWS_SECURITYIR_API GetMembershipAccountDetailItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue