AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EntityIdentifier.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_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 VerifiedPermissions
22{
23namespace Model
24{
25
43 {
44 public:
45 AWS_VERIFIEDPERMISSIONS_API EntityIdentifier() = default;
46 AWS_VERIFIEDPERMISSIONS_API EntityIdentifier(Aws::Utils::Json::JsonView jsonValue);
47 AWS_VERIFIEDPERMISSIONS_API EntityIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::String& GetEntityType() const { return m_entityType; }
57 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
58 template<typename EntityTypeT = Aws::String>
59 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::forward<EntityTypeT>(value); }
60 template<typename EntityTypeT = Aws::String>
61 EntityIdentifier& WithEntityType(EntityTypeT&& value) { SetEntityType(std::forward<EntityTypeT>(value)); return *this;}
63
65
69 inline const Aws::String& GetEntityId() const { return m_entityId; }
70 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
71 template<typename EntityIdT = Aws::String>
72 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
73 template<typename EntityIdT = Aws::String>
74 EntityIdentifier& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_entityType;
79 bool m_entityTypeHasBeenSet = false;
80
81 Aws::String m_entityId;
82 bool m_entityIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace VerifiedPermissions
87} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier(Aws::Utils::Json::JsonView jsonValue)
EntityIdentifier & WithEntityType(EntityTypeT &&value)
EntityIdentifier & WithEntityId(EntityIdT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue