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/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/IndexStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
34 class Index
35 {
36 public:
37 AWS_QBUSINESS_API Index();
38 AWS_QBUSINESS_API Index(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QBUSINESS_API Index& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
48 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
49 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
50 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
51 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
52 inline Index& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
53 inline Index& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
54 inline Index& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
56
58
61 inline const Aws::String& GetIndexId() const{ return m_indexId; }
62 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
63 inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
64 inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
65 inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
66 inline Index& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
67 inline Index& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
68 inline Index& WithIndexId(const char* value) { SetIndexId(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
79 inline Index& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline Index& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
88 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
89 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
90 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
91 inline Index& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
92 inline Index& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
94
96
100 inline const IndexStatus& GetStatus() const{ return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(const IndexStatus& value) { m_statusHasBeenSet = true; m_status = value; }
103 inline void SetStatus(IndexStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
104 inline Index& WithStatus(const IndexStatus& value) { SetStatus(value); return *this;}
105 inline Index& WithStatus(IndexStatus&& value) { SetStatus(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_displayName;
110 bool m_displayNameHasBeenSet = false;
111
112 Aws::String m_indexId;
113 bool m_indexIdHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdAt;
116 bool m_createdAtHasBeenSet = false;
117
118 Aws::Utils::DateTime m_updatedAt;
119 bool m_updatedAtHasBeenSet = false;
120
121 IndexStatus m_status;
122 bool m_statusHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QBusiness
127} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Index.h:78
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Index.h:75
Index & WithIndexId(Aws::String &&value)
Definition Index.h:67
void SetDisplayName(const char *value)
Definition Index.h:51
bool UpdatedAtHasBeenSet() const
Definition Index.h:88
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Index.h:89
AWS_QBUSINESS_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
Definition Index.h:101
Index & WithDisplayName(const char *value)
Definition Index.h:54
Index & WithIndexId(const Aws::String &value)
Definition Index.h:66
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Index & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Index.h:91
Index & WithIndexId(const char *value)
Definition Index.h:68
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Index.h:90
bool CreatedAtHasBeenSet() const
Definition Index.h:76
AWS_QBUSINESS_API Index(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(const Aws::String &value)
Definition Index.h:49
AWS_QBUSINESS_API Index()
bool IndexIdHasBeenSet() const
Definition Index.h:62
Index & WithDisplayName(const Aws::String &value)
Definition Index.h:52
Index & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Index.h:79
void SetIndexId(const Aws::String &value)
Definition Index.h:63
Index & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Index.h:92
Index & WithStatus(const IndexStatus &value)
Definition Index.h:104
void SetIndexId(Aws::String &&value)
Definition Index.h:64
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Index.h:87
void SetStatus(IndexStatus &&value)
Definition Index.h:103
void SetStatus(const IndexStatus &value)
Definition Index.h:102
Index & WithDisplayName(Aws::String &&value)
Definition Index.h:53
void SetDisplayName(Aws::String &&value)
Definition Index.h:50
bool DisplayNameHasBeenSet() const
Definition Index.h:48
const Aws::String & GetDisplayName() const
Definition Index.h:47
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Index.h:77
Index & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Index.h:80
const IndexStatus & GetStatus() const
Definition Index.h:100
const Aws::String & GetIndexId() const
Definition Index.h:61
Index & WithStatus(IndexStatus &&value)
Definition Index.h:105
void SetIndexId(const char *value)
Definition Index.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue