AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Index.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
42 class Index
43 {
44 public:
45 AWS_RESOURCEEXPLORER2_API Index() = default;
46 AWS_RESOURCEEXPLORER2_API Index(Aws::Utils::Json::JsonView jsonValue);
47 AWS_RESOURCEEXPLORER2_API Index& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 Index& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRegion() const { return m_region; }
70 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
71 template<typename RegionT = Aws::String>
72 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
73 template<typename RegionT = Aws::String>
74 Index& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
76
78
87 inline IndexType GetType() const { return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(IndexType value) { m_typeHasBeenSet = true; m_type = value; }
90 inline Index& WithType(IndexType value) { SetType(value); return *this;}
92 private:
93
94 Aws::String m_arn;
95 bool m_arnHasBeenSet = false;
96
97 Aws::String m_region;
98 bool m_regionHasBeenSet = false;
99
101 bool m_typeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace ResourceExplorer2
106} // namespace Aws
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
Index & WithRegion(RegionT &&value)
Definition Index.h:74
AWS_RESOURCEEXPLORER2_API Index()=default
AWS_RESOURCEEXPLORER2_API Index(Aws::Utils::Json::JsonView jsonValue)
Index & WithArn(ArnT &&value)
Definition Index.h:62
void SetType(IndexType value)
Definition Index.h:89
Index & WithType(IndexType value)
Definition Index.h:90
void SetArn(ArnT &&value)
Definition Index.h:60
const Aws::String & GetArn() const
Definition Index.h:57
const Aws::String & GetRegion() const
Definition Index.h:69
void SetRegion(RegionT &&value)
Definition Index.h:72
AWS_RESOURCEEXPLORER2_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue