AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
59 inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
60 inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); }
61 inline EntityIdentifier& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
62 inline EntityIdentifier& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
63 inline EntityIdentifier& WithEntityType(const char* value) { SetEntityType(value); return *this;}
65
67
71 inline const Aws::String& GetEntityId() const{ return m_entityId; }
72 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
73 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
74 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
75 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
76 inline EntityIdentifier& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
77 inline EntityIdentifier& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
78 inline EntityIdentifier& WithEntityId(const char* value) { SetEntityId(value); return *this;}
80 private:
81
82 Aws::String m_entityType;
83 bool m_entityTypeHasBeenSet = false;
84
85 Aws::String m_entityId;
86 bool m_entityIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace VerifiedPermissions
91} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier(Aws::Utils::Json::JsonView jsonValue)
EntityIdentifier & WithEntityType(const Aws::String &value)
EntityIdentifier & WithEntityId(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier()
AWS_VERIFIEDPERMISSIONS_API EntityIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityIdentifier & WithEntityType(const char *value)
EntityIdentifier & WithEntityId(const Aws::String &value)
EntityIdentifier & WithEntityId(const char *value)
EntityIdentifier & WithEntityType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue