AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline CustomPluginConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline CustomPluginConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline CustomPluginConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const APISchemaType& GetApiSchemaType() const{ return m_apiSchemaType; }
62 inline bool ApiSchemaTypeHasBeenSet() const { return m_apiSchemaTypeHasBeenSet; }
63 inline void SetApiSchemaType(const APISchemaType& value) { m_apiSchemaTypeHasBeenSet = true; m_apiSchemaType = value; }
64 inline void SetApiSchemaType(APISchemaType&& value) { m_apiSchemaTypeHasBeenSet = true; m_apiSchemaType = std::move(value); }
65 inline CustomPluginConfiguration& WithApiSchemaType(const APISchemaType& value) { SetApiSchemaType(value); return *this;}
66 inline CustomPluginConfiguration& WithApiSchemaType(APISchemaType&& value) { SetApiSchemaType(std::move(value)); return *this;}
68
70
74 inline const APISchema& GetApiSchema() const{ return m_apiSchema; }
75 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
76 inline void SetApiSchema(const APISchema& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = value; }
77 inline void SetApiSchema(APISchema&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::move(value); }
78 inline CustomPluginConfiguration& WithApiSchema(const APISchema& value) { SetApiSchema(value); return *this;}
79 inline CustomPluginConfiguration& WithApiSchema(APISchema&& value) { SetApiSchema(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85
86 APISchemaType m_apiSchemaType;
87 bool m_apiSchemaTypeHasBeenSet = false;
88
89 APISchema m_apiSchema;
90 bool m_apiSchemaHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QBusiness
95} // namespace Aws
CustomPluginConfiguration & WithApiSchema(const APISchema &value)
CustomPluginConfiguration & WithApiSchemaType(APISchemaType &&value)
CustomPluginConfiguration & WithDescription(const Aws::String &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPluginConfiguration & WithDescription(const char *value)
AWS_QBUSINESS_API CustomPluginConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginConfiguration & WithApiSchemaType(const APISchemaType &value)
CustomPluginConfiguration & WithApiSchema(APISchema &&value)
CustomPluginConfiguration & WithDescription(Aws::String &&value)
AWS_QBUSINESS_API CustomPluginConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue