AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityReference.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/EntityIdentifier.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 VerifiedPermissions
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_VERIFIEDPERMISSIONS_API EntityReference();
40 AWS_VERIFIEDPERMISSIONS_API EntityReference(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API EntityReference& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline bool GetUnspecified() const{ return m_unspecified; }
52 inline bool UnspecifiedHasBeenSet() const { return m_unspecifiedHasBeenSet; }
53 inline void SetUnspecified(bool value) { m_unspecifiedHasBeenSet = true; m_unspecified = value; }
54 inline EntityReference& WithUnspecified(bool value) { SetUnspecified(value); return *this;}
56
58
62 inline const EntityIdentifier& GetIdentifier() const{ return m_identifier; }
63 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
64 inline void SetIdentifier(const EntityIdentifier& value) { m_identifierHasBeenSet = true; m_identifier = value; }
65 inline void SetIdentifier(EntityIdentifier&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
66 inline EntityReference& WithIdentifier(const EntityIdentifier& value) { SetIdentifier(value); return *this;}
67 inline EntityReference& WithIdentifier(EntityIdentifier&& value) { SetIdentifier(std::move(value)); return *this;}
69 private:
70
71 bool m_unspecified;
72 bool m_unspecifiedHasBeenSet = false;
73
74 EntityIdentifier m_identifier;
75 bool m_identifierHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace VerifiedPermissions
80} // namespace Aws
void SetIdentifier(const EntityIdentifier &value)
const EntityIdentifier & GetIdentifier() const
AWS_VERIFIEDPERMISSIONS_API EntityReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
EntityReference & WithIdentifier(EntityIdentifier &&value)
EntityReference & WithIdentifier(const EntityIdentifier &value)
AWS_VERIFIEDPERMISSIONS_API EntityReference(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API EntityReference()
Aws::Utils::Json::JsonValue JsonValue