AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContentRetrievalRule.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/model/EligibleDataSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_QBUSINESS_API ContentRetrievalRule();
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<EligibleDataSource>& GetEligibleDataSources() const{ return m_eligibleDataSources; }
49 inline bool EligibleDataSourcesHasBeenSet() const { return m_eligibleDataSourcesHasBeenSet; }
50 inline void SetEligibleDataSources(const Aws::Vector<EligibleDataSource>& value) { m_eligibleDataSourcesHasBeenSet = true; m_eligibleDataSources = value; }
51 inline void SetEligibleDataSources(Aws::Vector<EligibleDataSource>&& value) { m_eligibleDataSourcesHasBeenSet = true; m_eligibleDataSources = std::move(value); }
54 inline ContentRetrievalRule& AddEligibleDataSources(const EligibleDataSource& value) { m_eligibleDataSourcesHasBeenSet = true; m_eligibleDataSources.push_back(value); return *this; }
55 inline ContentRetrievalRule& AddEligibleDataSources(EligibleDataSource&& value) { m_eligibleDataSourcesHasBeenSet = true; m_eligibleDataSources.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<EligibleDataSource> m_eligibleDataSources;
60 bool m_eligibleDataSourcesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QBusiness
65} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EligibleDataSource > & GetEligibleDataSources() const
void SetEligibleDataSources(const Aws::Vector< EligibleDataSource > &value)
ContentRetrievalRule & WithEligibleDataSources(const Aws::Vector< EligibleDataSource > &value)
ContentRetrievalRule & WithEligibleDataSources(Aws::Vector< EligibleDataSource > &&value)
void SetEligibleDataSources(Aws::Vector< EligibleDataSource > &&value)
AWS_QBUSINESS_API ContentRetrievalRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API ContentRetrievalRule(Aws::Utils::Json::JsonView jsonValue)
ContentRetrievalRule & AddEligibleDataSources(EligibleDataSource &&value)
ContentRetrievalRule & AddEligibleDataSources(const EligibleDataSource &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue