AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ContentRetrievalRule.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/EligibleDataSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
31 public:
32 AWS_QBUSINESS_API ContentRetrievalRule() = default;
35 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<EligibleDataSource>& GetEligibleDataSources() const { return m_eligibleDataSources; }
43 inline bool EligibleDataSourcesHasBeenSet() const { return m_eligibleDataSourcesHasBeenSet; }
44 template <typename EligibleDataSourcesT = Aws::Vector<EligibleDataSource>>
46 m_eligibleDataSourcesHasBeenSet = true;
47 m_eligibleDataSources = std::forward<EligibleDataSourcesT>(value);
48 }
49 template <typename EligibleDataSourcesT = Aws::Vector<EligibleDataSource>>
51 SetEligibleDataSources(std::forward<EligibleDataSourcesT>(value));
52 return *this;
53 }
54 template <typename EligibleDataSourcesT = EligibleDataSource>
56 m_eligibleDataSourcesHasBeenSet = true;
57 m_eligibleDataSources.emplace_back(std::forward<EligibleDataSourcesT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<EligibleDataSource> m_eligibleDataSources;
63 bool m_eligibleDataSourcesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace QBusiness
68} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EligibleDataSource > & GetEligibleDataSources() const
ContentRetrievalRule & WithEligibleDataSources(EligibleDataSourcesT &&value)
AWS_QBUSINESS_API ContentRetrievalRule()=default
ContentRetrievalRule & AddEligibleDataSources(EligibleDataSourcesT &&value)
AWS_QBUSINESS_API ContentRetrievalRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API ContentRetrievalRule(Aws::Utils::Json::JsonView jsonValue)
void SetEligibleDataSources(EligibleDataSourcesT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue