AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CustomPluginConfiguration.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/APISchemaType.h>
10#include <aws/qbusiness/model/APISchema.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
35 {
36 public:
37 AWS_QBUSINESS_API CustomPluginConfiguration() = default;
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 CustomPluginConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
59 inline APISchemaType GetApiSchemaType() const { return m_apiSchemaType; }
60 inline bool ApiSchemaTypeHasBeenSet() const { return m_apiSchemaTypeHasBeenSet; }
61 inline void SetApiSchemaType(APISchemaType value) { m_apiSchemaTypeHasBeenSet = true; m_apiSchemaType = value; }
64
66
70 inline const APISchema& GetApiSchema() const { return m_apiSchema; }
71 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
72 template<typename ApiSchemaT = APISchema>
73 void SetApiSchema(ApiSchemaT&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::forward<ApiSchemaT>(value); }
74 template<typename ApiSchemaT = APISchema>
75 CustomPluginConfiguration& WithApiSchema(ApiSchemaT&& value) { SetApiSchema(std::forward<ApiSchemaT>(value)); return *this;}
77 private:
78
79 Aws::String m_description;
80 bool m_descriptionHasBeenSet = false;
81
83 bool m_apiSchemaTypeHasBeenSet = false;
84
85 APISchema m_apiSchema;
86 bool m_apiSchemaHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QBusiness
91} // 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