AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketInfo.h
1
6#pragma once
7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudsearchdomain/model/Bucket.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 CloudSearchDomain
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDSEARCHDOMAIN_API BucketInfo();
37 AWS_CLOUDSEARCHDOMAIN_API BucketInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDSEARCHDOMAIN_API BucketInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Bucket>& GetBuckets() const{ return m_buckets; }
47 inline bool BucketsHasBeenSet() const { return m_bucketsHasBeenSet; }
48 inline void SetBuckets(const Aws::Vector<Bucket>& value) { m_bucketsHasBeenSet = true; m_buckets = value; }
49 inline void SetBuckets(Aws::Vector<Bucket>&& value) { m_bucketsHasBeenSet = true; m_buckets = std::move(value); }
50 inline BucketInfo& WithBuckets(const Aws::Vector<Bucket>& value) { SetBuckets(value); return *this;}
51 inline BucketInfo& WithBuckets(Aws::Vector<Bucket>&& value) { SetBuckets(std::move(value)); return *this;}
52 inline BucketInfo& AddBuckets(const Bucket& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
53 inline BucketInfo& AddBuckets(Bucket&& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Bucket> m_buckets;
58 bool m_bucketsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace CloudSearchDomain
63} // namespace Aws
AWS_CLOUDSEARCHDOMAIN_API BucketInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDSEARCHDOMAIN_API BucketInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Bucket > & GetBuckets() const
Definition BucketInfo.h:46
void SetBuckets(Aws::Vector< Bucket > &&value)
Definition BucketInfo.h:49
BucketInfo & WithBuckets(Aws::Vector< Bucket > &&value)
Definition BucketInfo.h:51
BucketInfo & AddBuckets(Bucket &&value)
Definition BucketInfo.h:53
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBuckets(const Aws::Vector< Bucket > &value)
Definition BucketInfo.h:48
BucketInfo & WithBuckets(const Aws::Vector< Bucket > &value)
Definition BucketInfo.h:50
BucketInfo & AddBuckets(const Bucket &value)
Definition BucketInfo.h:52
AWS_CLOUDSEARCHDOMAIN_API BucketInfo()
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue