AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntitiesDefinition.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/verifiedpermissions/model/EntityItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VerifiedPermissions
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition();
43 AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition(Aws::Utils::Json::JsonView jsonValue);
44 AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::Vector<EntityItem>& GetEntityList() const{ return m_entityList; }
55 inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; }
56 inline void SetEntityList(const Aws::Vector<EntityItem>& value) { m_entityListHasBeenSet = true; m_entityList = value; }
57 inline void SetEntityList(Aws::Vector<EntityItem>&& value) { m_entityListHasBeenSet = true; m_entityList = std::move(value); }
58 inline EntitiesDefinition& WithEntityList(const Aws::Vector<EntityItem>& value) { SetEntityList(value); return *this;}
59 inline EntitiesDefinition& WithEntityList(Aws::Vector<EntityItem>&& value) { SetEntityList(std::move(value)); return *this;}
60 inline EntitiesDefinition& AddEntityList(const EntityItem& value) { m_entityListHasBeenSet = true; m_entityList.push_back(value); return *this; }
61 inline EntitiesDefinition& AddEntityList(EntityItem&& value) { m_entityListHasBeenSet = true; m_entityList.push_back(std::move(value)); return *this; }
63 private:
64
65 Aws::Vector<EntityItem> m_entityList;
66 bool m_entityListHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace VerifiedPermissions
71} // namespace Aws
void SetEntityList(const Aws::Vector< EntityItem > &value)
EntitiesDefinition & AddEntityList(EntityItem &&value)
EntitiesDefinition & WithEntityList(const Aws::Vector< EntityItem > &value)
EntitiesDefinition & WithEntityList(Aws::Vector< EntityItem > &&value)
EntitiesDefinition & AddEntityList(const EntityItem &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition()
void SetEntityList(Aws::Vector< EntityItem > &&value)
const Aws::Vector< EntityItem > & GetEntityList() const
AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API EntitiesDefinition(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue