AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetailsMap.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 LakeFormation
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_LAKEFORMATION_API DetailsMap();
40 AWS_LAKEFORMATION_API DetailsMap(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LAKEFORMATION_API DetailsMap& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<Aws::String>& GetResourceShare() const{ return m_resourceShare; }
50 inline bool ResourceShareHasBeenSet() const { return m_resourceShareHasBeenSet; }
51 inline void SetResourceShare(const Aws::Vector<Aws::String>& value) { m_resourceShareHasBeenSet = true; m_resourceShare = value; }
52 inline void SetResourceShare(Aws::Vector<Aws::String>&& value) { m_resourceShareHasBeenSet = true; m_resourceShare = std::move(value); }
53 inline DetailsMap& WithResourceShare(const Aws::Vector<Aws::String>& value) { SetResourceShare(value); return *this;}
54 inline DetailsMap& WithResourceShare(Aws::Vector<Aws::String>&& value) { SetResourceShare(std::move(value)); return *this;}
55 inline DetailsMap& AddResourceShare(const Aws::String& value) { m_resourceShareHasBeenSet = true; m_resourceShare.push_back(value); return *this; }
56 inline DetailsMap& AddResourceShare(Aws::String&& value) { m_resourceShareHasBeenSet = true; m_resourceShare.push_back(std::move(value)); return *this; }
57 inline DetailsMap& AddResourceShare(const char* value) { m_resourceShareHasBeenSet = true; m_resourceShare.push_back(value); return *this; }
59 private:
60
61 Aws::Vector<Aws::String> m_resourceShare;
62 bool m_resourceShareHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace LakeFormation
67} // namespace Aws
DetailsMap & AddResourceShare(Aws::String &&value)
Definition DetailsMap.h:56
AWS_LAKEFORMATION_API DetailsMap(Aws::Utils::Json::JsonView jsonValue)
void SetResourceShare(const Aws::Vector< Aws::String > &value)
Definition DetailsMap.h:51
void SetResourceShare(Aws::Vector< Aws::String > &&value)
Definition DetailsMap.h:52
AWS_LAKEFORMATION_API DetailsMap()
const Aws::Vector< Aws::String > & GetResourceShare() const
Definition DetailsMap.h:49
AWS_LAKEFORMATION_API DetailsMap & operator=(Aws::Utils::Json::JsonView jsonValue)
DetailsMap & WithResourceShare(const Aws::Vector< Aws::String > &value)
Definition DetailsMap.h:53
DetailsMap & AddResourceShare(const Aws::String &value)
Definition DetailsMap.h:55
DetailsMap & WithResourceShare(Aws::Vector< Aws::String > &&value)
Definition DetailsMap.h:54
DetailsMap & AddResourceShare(const char *value)
Definition DetailsMap.h:57
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue