AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Plugin.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/PluginType.h>
10#include <aws/qbusiness/model/PluginState.h>
11#include <aws/qbusiness/model/PluginBuildStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QBusiness
26{
27namespace Model
28{
29
36 class Plugin
37 {
38 public:
39 AWS_QBUSINESS_API Plugin();
40 AWS_QBUSINESS_API Plugin(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QBUSINESS_API Plugin& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
50 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
51 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
52 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
53 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
54 inline Plugin& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
55 inline Plugin& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
56 inline Plugin& WithPluginId(const char* value) { SetPluginId(value); return *this;}
58
60
63 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
64 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
65 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
66 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
67 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
68 inline Plugin& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
69 inline Plugin& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
70 inline Plugin& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
72
74
77 inline const PluginType& GetType() const{ return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(const PluginType& value) { m_typeHasBeenSet = true; m_type = value; }
80 inline void SetType(PluginType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
81 inline Plugin& WithType(const PluginType& value) { SetType(value); return *this;}
82 inline Plugin& WithType(PluginType&& value) { SetType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetServerUrl() const{ return m_serverUrl; }
90 inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; }
91 inline void SetServerUrl(const Aws::String& value) { m_serverUrlHasBeenSet = true; m_serverUrl = value; }
92 inline void SetServerUrl(Aws::String&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::move(value); }
93 inline void SetServerUrl(const char* value) { m_serverUrlHasBeenSet = true; m_serverUrl.assign(value); }
94 inline Plugin& WithServerUrl(const Aws::String& value) { SetServerUrl(value); return *this;}
95 inline Plugin& WithServerUrl(Aws::String&& value) { SetServerUrl(std::move(value)); return *this;}
96 inline Plugin& WithServerUrl(const char* value) { SetServerUrl(value); return *this;}
98
100
103 inline const PluginState& GetState() const{ return m_state; }
104 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
105 inline void SetState(const PluginState& value) { m_stateHasBeenSet = true; m_state = value; }
106 inline void SetState(PluginState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
107 inline Plugin& WithState(const PluginState& value) { SetState(value); return *this;}
108 inline Plugin& WithState(PluginState&& value) { SetState(std::move(value)); return *this;}
110
112
115 inline const PluginBuildStatus& GetBuildStatus() const{ return m_buildStatus; }
116 inline bool BuildStatusHasBeenSet() const { return m_buildStatusHasBeenSet; }
117 inline void SetBuildStatus(const PluginBuildStatus& value) { m_buildStatusHasBeenSet = true; m_buildStatus = value; }
118 inline void SetBuildStatus(PluginBuildStatus&& value) { m_buildStatusHasBeenSet = true; m_buildStatus = std::move(value); }
119 inline Plugin& WithBuildStatus(const PluginBuildStatus& value) { SetBuildStatus(value); return *this;}
120 inline Plugin& WithBuildStatus(PluginBuildStatus&& value) { SetBuildStatus(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
128 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
129 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
130 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
131 inline Plugin& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
132 inline Plugin& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
140 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
141 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
142 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
143 inline Plugin& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
144 inline Plugin& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_pluginId;
149 bool m_pluginIdHasBeenSet = false;
150
151 Aws::String m_displayName;
152 bool m_displayNameHasBeenSet = false;
153
154 PluginType m_type;
155 bool m_typeHasBeenSet = false;
156
157 Aws::String m_serverUrl;
158 bool m_serverUrlHasBeenSet = false;
159
160 PluginState m_state;
161 bool m_stateHasBeenSet = false;
162
163 PluginBuildStatus m_buildStatus;
164 bool m_buildStatusHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdAt;
167 bool m_createdAtHasBeenSet = false;
168
169 Aws::Utils::DateTime m_updatedAt;
170 bool m_updatedAtHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace QBusiness
175} // namespace Aws
Plugin & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Plugin.h:144
Plugin & WithDisplayName(const char *value)
Definition Plugin.h:70
Plugin & WithDisplayName(Aws::String &&value)
Definition Plugin.h:69
const Aws::String & GetDisplayName() const
Definition Plugin.h:63
void SetPluginId(const char *value)
Definition Plugin.h:53
Plugin & WithPluginId(const Aws::String &value)
Definition Plugin.h:54
Plugin & WithBuildStatus(PluginBuildStatus &&value)
Definition Plugin.h:120
void SetDisplayName(const char *value)
Definition Plugin.h:67
void SetDisplayName(Aws::String &&value)
Definition Plugin.h:66
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerUrlHasBeenSet() const
Definition Plugin.h:90
Plugin & WithState(PluginState &&value)
Definition Plugin.h:108
const PluginBuildStatus & GetBuildStatus() const
Definition Plugin.h:115
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Plugin.h:139
const Aws::String & GetServerUrl() const
Definition Plugin.h:89
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Plugin.h:142
AWS_QBUSINESS_API Plugin(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Plugin.h:141
void SetState(const PluginState &value)
Definition Plugin.h:105
void SetPluginId(Aws::String &&value)
Definition Plugin.h:52
Plugin & WithType(PluginType &&value)
Definition Plugin.h:82
void SetType(const PluginType &value)
Definition Plugin.h:79
const Aws::String & GetPluginId() const
Definition Plugin.h:49
Plugin & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Plugin.h:143
AWS_QBUSINESS_API Plugin & operator=(Aws::Utils::Json::JsonView jsonValue)
const PluginState & GetState() const
Definition Plugin.h:103
Plugin & WithState(const PluginState &value)
Definition Plugin.h:107
void SetServerUrl(const Aws::String &value)
Definition Plugin.h:91
const PluginType & GetType() const
Definition Plugin.h:77
AWS_QBUSINESS_API Plugin()
bool CreatedAtHasBeenSet() const
Definition Plugin.h:128
Plugin & WithPluginId(const char *value)
Definition Plugin.h:56
void SetState(PluginState &&value)
Definition Plugin.h:106
void SetPluginId(const Aws::String &value)
Definition Plugin.h:51
bool UpdatedAtHasBeenSet() const
Definition Plugin.h:140
Plugin & WithServerUrl(const Aws::String &value)
Definition Plugin.h:94
bool TypeHasBeenSet() const
Definition Plugin.h:78
bool DisplayNameHasBeenSet() const
Definition Plugin.h:64
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Plugin.h:129
void SetBuildStatus(const PluginBuildStatus &value)
Definition Plugin.h:117
bool BuildStatusHasBeenSet() const
Definition Plugin.h:116
void SetDisplayName(const Aws::String &value)
Definition Plugin.h:65
void SetServerUrl(const char *value)
Definition Plugin.h:93
Plugin & WithPluginId(Aws::String &&value)
Definition Plugin.h:55
bool StateHasBeenSet() const
Definition Plugin.h:104
void SetType(PluginType &&value)
Definition Plugin.h:80
Plugin & WithType(const PluginType &value)
Definition Plugin.h:81
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Plugin.h:127
void SetBuildStatus(PluginBuildStatus &&value)
Definition Plugin.h:118
void SetServerUrl(Aws::String &&value)
Definition Plugin.h:92
Plugin & WithServerUrl(Aws::String &&value)
Definition Plugin.h:95
Plugin & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Plugin.h:132
Plugin & WithServerUrl(const char *value)
Definition Plugin.h:96
Plugin & WithDisplayName(const Aws::String &value)
Definition Plugin.h:68
Plugin & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Plugin.h:131
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Plugin.h:130
Plugin & WithBuildStatus(const PluginBuildStatus &value)
Definition Plugin.h:119
bool PluginIdHasBeenSet() const
Definition Plugin.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue