AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SampleDocuments.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/b2bi/model/SampleDocumentKeys.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 B2BI
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_B2BI_API SampleDocuments() = default;
42
43
45
48 inline const Aws::String& GetBucketName() const { return m_bucketName; }
49 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
50 template<typename BucketNameT = Aws::String>
51 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
52 template<typename BucketNameT = Aws::String>
53 SampleDocuments& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
55
57
61 inline const Aws::Vector<SampleDocumentKeys>& GetKeys() const { return m_keys; }
62 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
63 template<typename KeysT = Aws::Vector<SampleDocumentKeys>>
64 void SetKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys = std::forward<KeysT>(value); }
65 template<typename KeysT = Aws::Vector<SampleDocumentKeys>>
66 SampleDocuments& WithKeys(KeysT&& value) { SetKeys(std::forward<KeysT>(value)); return *this;}
67 template<typename KeysT = SampleDocumentKeys>
68 SampleDocuments& AddKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys.emplace_back(std::forward<KeysT>(value)); return *this; }
70 private:
71
72 Aws::String m_bucketName;
73 bool m_bucketNameHasBeenSet = false;
74
76 bool m_keysHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace B2BI
81} // namespace Aws
const Aws::String & GetBucketName() const
AWS_B2BI_API SampleDocuments(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API SampleDocuments()=default
AWS_B2BI_API SampleDocuments & operator=(Aws::Utils::Json::JsonView jsonValue)
SampleDocuments & WithBucketName(BucketNameT &&value)
void SetBucketName(BucketNameT &&value)
SampleDocuments & WithKeys(KeysT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
SampleDocuments & AddKeys(KeysT &&value)
const Aws::Vector< SampleDocumentKeys > & GetKeys() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue