AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MemberIndex.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resource-explorer-2/model/IndexType.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 ResourceExplorer2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_RESOURCEEXPLORER2_API MemberIndex() = default;
38 AWS_RESOURCEEXPLORER2_API MemberIndex(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESOURCEEXPLORER2_API MemberIndex& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template<typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
51 template<typename AccountIdT = Aws::String>
52 MemberIndex& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template<typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 MemberIndex& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetRegion() const { return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 template<typename RegionT = Aws::String>
76 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
77 template<typename RegionT = Aws::String>
78 MemberIndex& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
80
82
91 inline IndexType GetType() const { return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 inline void SetType(IndexType value) { m_typeHasBeenSet = true; m_type = value; }
94 inline MemberIndex& WithType(IndexType value) { SetType(value); return *this;}
96 private:
97
98 Aws::String m_accountId;
99 bool m_accountIdHasBeenSet = false;
100
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 Aws::String m_region;
105 bool m_regionHasBeenSet = false;
106
108 bool m_typeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ResourceExplorer2
113} // namespace Aws
MemberIndex & WithArn(ArnT &&value)
Definition MemberIndex.h:66
MemberIndex & WithAccountId(AccountIdT &&value)
Definition MemberIndex.h:52
void SetAccountId(AccountIdT &&value)
Definition MemberIndex.h:50
AWS_RESOURCEEXPLORER2_API MemberIndex()=default
const Aws::String & GetAccountId() const
Definition MemberIndex.h:47
const Aws::String & GetArn() const
Definition MemberIndex.h:61
const Aws::String & GetRegion() const
Definition MemberIndex.h:73
AWS_RESOURCEEXPLORER2_API MemberIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESOURCEEXPLORER2_API MemberIndex(Aws::Utils::Json::JsonView jsonValue)
MemberIndex & WithType(IndexType value)
Definition MemberIndex.h:94
MemberIndex & WithRegion(RegionT &&value)
Definition MemberIndex.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue