AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CustomPluginConfiguration.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/APISchema.h>
10#include <aws/qbusiness/model/APISchemaType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
31 public:
32 AWS_QBUSINESS_API CustomPluginConfiguration() = default;
35 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template <typename DescriptionT = Aws::String>
45 m_descriptionHasBeenSet = true;
46 m_description = std::forward<DescriptionT>(value);
47 }
48 template <typename DescriptionT = Aws::String>
50 SetDescription(std::forward<DescriptionT>(value));
51 return *this;
52 }
54
56
59 inline APISchemaType GetApiSchemaType() const { return m_apiSchemaType; }
60 inline bool ApiSchemaTypeHasBeenSet() const { return m_apiSchemaTypeHasBeenSet; }
61 inline void SetApiSchemaType(APISchemaType value) {
62 m_apiSchemaTypeHasBeenSet = true;
63 m_apiSchemaType = value;
64 }
66 SetApiSchemaType(value);
67 return *this;
68 }
70
72
76 inline const APISchema& GetApiSchema() const { return m_apiSchema; }
77 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
78 template <typename ApiSchemaT = APISchema>
79 void SetApiSchema(ApiSchemaT&& value) {
80 m_apiSchemaHasBeenSet = true;
81 m_apiSchema = std::forward<ApiSchemaT>(value);
82 }
83 template <typename ApiSchemaT = APISchema>
85 SetApiSchema(std::forward<ApiSchemaT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_description;
91
93
94 APISchema m_apiSchema;
95 bool m_descriptionHasBeenSet = false;
96 bool m_apiSchemaTypeHasBeenSet = false;
97 bool m_apiSchemaHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QBusiness
102} // namespace Aws
CustomPluginConfiguration & WithApiSchema(ApiSchemaT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API CustomPluginConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginConfiguration & WithApiSchemaType(APISchemaType value)
AWS_QBUSINESS_API CustomPluginConfiguration()=default
CustomPluginConfiguration & WithDescription(DescriptionT &&value)
AWS_QBUSINESS_API CustomPluginConfiguration(Aws::Utils::Json::JsonView jsonValue)
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