AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetMembershipAccountDetailItem.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/model/MembershipAccountRelationshipStatus.h>
10#include <aws/security-ir/model/MembershipAccountRelationshipType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityIR
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SECURITYIR_API GetMembershipAccountDetailItem() = default;
39 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 GetMembershipAccountDetailItem& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
58 inline MembershipAccountRelationshipStatus GetRelationshipStatus() const { return m_relationshipStatus; }
59 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
60 inline void SetRelationshipStatus(MembershipAccountRelationshipStatus value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
63
65
68 inline MembershipAccountRelationshipType GetRelationshipType() const { return m_relationshipType; }
69 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
70 inline void SetRelationshipType(MembershipAccountRelationshipType value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
73 private:
74
75 Aws::String m_accountId;
76 bool m_accountIdHasBeenSet = false;
77
79 bool m_relationshipStatusHasBeenSet = false;
80
82 bool m_relationshipTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SecurityIR
87} // 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