AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CreatePluginResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/PluginBuildStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness {
23namespace Model {
25 public:
26 AWS_QBUSINESS_API CreatePluginResult() = default;
29
31
34 inline const Aws::String& GetPluginId() const { return m_pluginId; }
35 template <typename PluginIdT = Aws::String>
36 void SetPluginId(PluginIdT&& value) {
37 m_pluginIdHasBeenSet = true;
38 m_pluginId = std::forward<PluginIdT>(value);
39 }
40 template <typename PluginIdT = Aws::String>
42 SetPluginId(std::forward<PluginIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetPluginArn() const { return m_pluginArn; }
52 template <typename PluginArnT = Aws::String>
53 void SetPluginArn(PluginArnT&& value) {
54 m_pluginArnHasBeenSet = true;
55 m_pluginArn = std::forward<PluginArnT>(value);
56 }
57 template <typename PluginArnT = Aws::String>
59 SetPluginArn(std::forward<PluginArnT>(value));
60 return *this;
61 }
63
65
68 inline PluginBuildStatus GetBuildStatus() const { return m_buildStatus; }
69 inline void SetBuildStatus(PluginBuildStatus value) {
70 m_buildStatusHasBeenSet = true;
71 m_buildStatus = value;
72 }
74 SetBuildStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_pluginId;
95
96 Aws::String m_pluginArn;
97
99
100 Aws::String m_requestId;
101 bool m_pluginIdHasBeenSet = false;
102 bool m_pluginArnHasBeenSet = false;
103 bool m_buildStatusHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace QBusiness
109} // namespace Aws
CreatePluginResult & WithRequestId(RequestIdT &&value)
CreatePluginResult & WithPluginArn(PluginArnT &&value)
CreatePluginResult & WithBuildStatus(PluginBuildStatus value)
AWS_QBUSINESS_API CreatePluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QBUSINESS_API CreatePluginResult()=default
CreatePluginResult & WithPluginId(PluginIdT &&value)
AWS_QBUSINESS_API CreatePluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBuildStatus(PluginBuildStatus value)
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