AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
62 inline Index& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline Index& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline Index& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const Aws::String& GetRegion() const{ return m_region; }
72 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
73 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
74 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
75 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
76 inline Index& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
77 inline Index& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
78 inline Index& WithRegion(const char* value) { SetRegion(value); return *this;}
80
82
91 inline const IndexType& GetType() const{ return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 inline void SetType(const IndexType& value) { m_typeHasBeenSet = true; m_type = value; }
94 inline void SetType(IndexType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
95 inline Index& WithType(const IndexType& value) { SetType(value); return *this;}
96 inline Index& WithType(IndexType&& value) { SetType(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_arn;
101 bool m_arnHasBeenSet = false;
102
103 Aws::String m_region;
104 bool m_regionHasBeenSet = false;
105
106 IndexType m_type;
107 bool m_typeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ResourceExplorer2
112} // namespace Aws
Index & WithRegion(Aws::String &&value)
Definition Index.h:77
Index & WithArn(const char *value)
Definition Index.h:64
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
Index & WithRegion(const Aws::String &value)
Definition Index.h:76
Index & WithArn(const Aws::String &value)
Definition Index.h:62
Index & WithRegion(const char *value)
Definition Index.h:78
AWS_RESOURCEEXPLORER2_API Index()
void SetArn(const Aws::String &value)
Definition Index.h:59
void SetRegion(const Aws::String &value)
Definition Index.h:73
void SetType(const IndexType &value)
Definition Index.h:93
void SetRegion(Aws::String &&value)
Definition Index.h:74
AWS_RESOURCEEXPLORER2_API Index(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition Index.h:57
Index & WithType(const IndexType &value)
Definition Index.h:95
void SetArn(const char *value)
Definition Index.h:61
Index & WithType(IndexType &&value)
Definition Index.h:96
const Aws::String & GetRegion() const
Definition Index.h:71
const IndexType & GetType() const
Definition Index.h:91
Index & WithArn(Aws::String &&value)
Definition Index.h:63
AWS_RESOURCEEXPLORER2_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const char *value)
Definition Index.h:75
void SetArn(Aws::String &&value)
Definition Index.h:60
void SetType(IndexType &&value)
Definition Index.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue