AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PluginIdT = Aws::String>
52 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
53 template<typename PluginIdT = Aws::String>
54 Plugin& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDisplayName() const { return m_displayName; }
62 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
63 template<typename DisplayNameT = Aws::String>
64 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
65 template<typename DisplayNameT = Aws::String>
66 Plugin& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
68
70
73 inline PluginType GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(PluginType value) { m_typeHasBeenSet = true; m_type = value; }
76 inline Plugin& WithType(PluginType value) { SetType(value); return *this;}
78
80
83 inline const Aws::String& GetServerUrl() const { return m_serverUrl; }
84 inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; }
85 template<typename ServerUrlT = Aws::String>
86 void SetServerUrl(ServerUrlT&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::forward<ServerUrlT>(value); }
87 template<typename ServerUrlT = Aws::String>
88 Plugin& WithServerUrl(ServerUrlT&& value) { SetServerUrl(std::forward<ServerUrlT>(value)); return *this;}
90
92
95 inline PluginState GetState() const { return m_state; }
96 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
97 inline void SetState(PluginState value) { m_stateHasBeenSet = true; m_state = value; }
98 inline Plugin& WithState(PluginState value) { SetState(value); return *this;}
100
102
105 inline PluginBuildStatus GetBuildStatus() const { return m_buildStatus; }
106 inline bool BuildStatusHasBeenSet() const { return m_buildStatusHasBeenSet; }
107 inline void SetBuildStatus(PluginBuildStatus value) { m_buildStatusHasBeenSet = true; m_buildStatus = value; }
108 inline Plugin& WithBuildStatus(PluginBuildStatus value) { SetBuildStatus(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
116 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
117 template<typename CreatedAtT = Aws::Utils::DateTime>
118 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
119 template<typename CreatedAtT = Aws::Utils::DateTime>
120 Plugin& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 template<typename UpdatedAtT = Aws::Utils::DateTime>
130 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
131 template<typename UpdatedAtT = Aws::Utils::DateTime>
132 Plugin& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
134 private:
135
136 Aws::String m_pluginId;
137 bool m_pluginIdHasBeenSet = false;
138
139 Aws::String m_displayName;
140 bool m_displayNameHasBeenSet = false;
141
143 bool m_typeHasBeenSet = false;
144
145 Aws::String m_serverUrl;
146 bool m_serverUrlHasBeenSet = false;
147
149 bool m_stateHasBeenSet = false;
150
152 bool m_buildStatusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdAt{};
155 bool m_createdAtHasBeenSet = false;
156
157 Aws::Utils::DateTime m_updatedAt{};
158 bool m_updatedAtHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace QBusiness
163} // namespace Aws
Plugin & WithState(PluginState value)
Definition Plugin.h:98
AWS_QBUSINESS_API Plugin()=default
const Aws::String & GetDisplayName() const
Definition Plugin.h:61
PluginType GetType() const
Definition Plugin.h:73
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerUrlHasBeenSet() const
Definition Plugin.h:84
void SetPluginId(PluginIdT &&value)
Definition Plugin.h:52
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Plugin.h:127
const Aws::String & GetServerUrl() const
Definition Plugin.h:83
Plugin & WithServerUrl(ServerUrlT &&value)
Definition Plugin.h:88
AWS_QBUSINESS_API Plugin(Aws::Utils::Json::JsonView jsonValue)
void SetServerUrl(ServerUrlT &&value)
Definition Plugin.h:86
void SetType(PluginType value)
Definition Plugin.h:75
const Aws::String & GetPluginId() const
Definition Plugin.h:49
AWS_QBUSINESS_API Plugin & operator=(Aws::Utils::Json::JsonView jsonValue)
Plugin & WithBuildStatus(PluginBuildStatus value)
Definition Plugin.h:108
PluginBuildStatus GetBuildStatus() const
Definition Plugin.h:105
Plugin & WithType(PluginType value)
Definition Plugin.h:76
void SetDisplayName(DisplayNameT &&value)
Definition Plugin.h:64
void SetState(PluginState value)
Definition Plugin.h:97
bool CreatedAtHasBeenSet() const
Definition Plugin.h:116
Plugin & WithPluginId(PluginIdT &&value)
Definition Plugin.h:54
Plugin & WithDisplayName(DisplayNameT &&value)
Definition Plugin.h:66
Plugin & WithUpdatedAt(UpdatedAtT &&value)
Definition Plugin.h:132
bool UpdatedAtHasBeenSet() const
Definition Plugin.h:128
bool TypeHasBeenSet() const
Definition Plugin.h:74
bool DisplayNameHasBeenSet() const
Definition Plugin.h:62
bool BuildStatusHasBeenSet() const
Definition Plugin.h:106
bool StateHasBeenSet() const
Definition Plugin.h:96
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Plugin.h:115
void SetBuildStatus(PluginBuildStatus value)
Definition Plugin.h:107
PluginState GetState() const
Definition Plugin.h:95
Plugin & WithCreatedAt(CreatedAtT &&value)
Definition Plugin.h:120
void SetUpdatedAt(UpdatedAtT &&value)
Definition Plugin.h:130
void SetCreatedAt(CreatedAtT &&value)
Definition Plugin.h:118
bool PluginIdHasBeenSet() const
Definition Plugin.h:50
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue