AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentAttributeConfiguration.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/AttributeType.h>
10#include <aws/qbusiness/model/Status.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
39 {
40 public:
41 AWS_QBUSINESS_API DocumentAttributeConfiguration();
44 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline DocumentAttributeConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline DocumentAttributeConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline DocumentAttributeConfiguration& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const AttributeType& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const AttributeType& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(AttributeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline DocumentAttributeConfiguration& WithType(const AttributeType& value) { SetType(value); return *this;}
70 inline DocumentAttributeConfiguration& WithType(AttributeType&& value) { SetType(std::move(value)); return *this;}
72
74
78 inline const Status& GetSearch() const{ return m_search; }
79 inline bool SearchHasBeenSet() const { return m_searchHasBeenSet; }
80 inline void SetSearch(const Status& value) { m_searchHasBeenSet = true; m_search = value; }
81 inline void SetSearch(Status&& value) { m_searchHasBeenSet = true; m_search = std::move(value); }
82 inline DocumentAttributeConfiguration& WithSearch(const Status& value) { SetSearch(value); return *this;}
83 inline DocumentAttributeConfiguration& WithSearch(Status&& value) { SetSearch(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 AttributeType m_type;
91 bool m_typeHasBeenSet = false;
92
93 Status m_search;
94 bool m_searchHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QBusiness
99} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DocumentAttributeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentAttributeConfiguration & WithName(const char *value)
DocumentAttributeConfiguration & WithName(Aws::String &&value)
DocumentAttributeConfiguration & WithType(const AttributeType &value)
DocumentAttributeConfiguration & WithSearch(const Status &value)
DocumentAttributeConfiguration & WithSearch(Status &&value)
DocumentAttributeConfiguration & WithType(AttributeType &&value)
AWS_QBUSINESS_API DocumentAttributeConfiguration(Aws::Utils::Json::JsonView jsonValue)
DocumentAttributeConfiguration & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue