AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline MemberIndex& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline MemberIndex& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline MemberIndex& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline MemberIndex& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline MemberIndex& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline MemberIndex& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetRegion() const{ return m_region; }
78 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
79 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
80 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
81 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
82 inline MemberIndex& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
83 inline MemberIndex& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
84 inline MemberIndex& WithRegion(const char* value) { SetRegion(value); return *this;}
86
88
97 inline const IndexType& GetType() const{ return m_type; }
98 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 inline void SetType(const IndexType& value) { m_typeHasBeenSet = true; m_type = value; }
100 inline void SetType(IndexType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
101 inline MemberIndex& WithType(const IndexType& value) { SetType(value); return *this;}
102 inline MemberIndex& WithType(IndexType&& value) { SetType(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_accountId;
107 bool m_accountIdHasBeenSet = false;
108
109 Aws::String m_arn;
110 bool m_arnHasBeenSet = false;
111
112 Aws::String m_region;
113 bool m_regionHasBeenSet = false;
114
115 IndexType m_type;
116 bool m_typeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ResourceExplorer2
121} // namespace Aws
void SetAccountId(Aws::String &&value)
Definition MemberIndex.h:50
MemberIndex & WithAccountId(Aws::String &&value)
Definition MemberIndex.h:53
AWS_RESOURCEEXPLORER2_API MemberIndex()
void SetType(const IndexType &value)
Definition MemberIndex.h:99
void SetArn(const Aws::String &value)
Definition MemberIndex.h:65
MemberIndex & WithAccountId(const Aws::String &value)
Definition MemberIndex.h:52
void SetRegion(const Aws::String &value)
Definition MemberIndex.h:79
const Aws::String & GetAccountId() const
Definition MemberIndex.h:47
MemberIndex & WithArn(const Aws::String &value)
Definition MemberIndex.h:68
MemberIndex & WithRegion(const char *value)
Definition MemberIndex.h:84
const Aws::String & GetArn() const
Definition MemberIndex.h:63
const Aws::String & GetRegion() const
Definition MemberIndex.h:77
AWS_RESOURCEEXPLORER2_API MemberIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
MemberIndex & WithType(const IndexType &value)
void SetAccountId(const Aws::String &value)
Definition MemberIndex.h:49
MemberIndex & WithType(IndexType &&value)
AWS_RESOURCEEXPLORER2_API MemberIndex(Aws::Utils::Json::JsonView jsonValue)
MemberIndex & WithArn(const char *value)
Definition MemberIndex.h:70
MemberIndex & WithArn(Aws::String &&value)
Definition MemberIndex.h:69
MemberIndex & WithAccountId(const char *value)
Definition MemberIndex.h:54
void SetRegion(Aws::String &&value)
Definition MemberIndex.h:80
MemberIndex & WithRegion(Aws::String &&value)
Definition MemberIndex.h:83
MemberIndex & WithRegion(const Aws::String &value)
Definition MemberIndex.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue