AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SampleDocuments.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/SampleDocumentKeys.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace B2BI {
22namespace Model {
23
32 public:
33 AWS_B2BI_API SampleDocuments() = default;
37
39
42 inline const Aws::String& GetBucketName() const { return m_bucketName; }
43 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
44 template <typename BucketNameT = Aws::String>
45 void SetBucketName(BucketNameT&& value) {
46 m_bucketNameHasBeenSet = true;
47 m_bucketName = std::forward<BucketNameT>(value);
48 }
49 template <typename BucketNameT = Aws::String>
50 SampleDocuments& WithBucketName(BucketNameT&& value) {
51 SetBucketName(std::forward<BucketNameT>(value));
52 return *this;
53 }
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) {
65 m_keysHasBeenSet = true;
66 m_keys = std::forward<KeysT>(value);
67 }
68 template <typename KeysT = Aws::Vector<SampleDocumentKeys>>
69 SampleDocuments& WithKeys(KeysT&& value) {
70 SetKeys(std::forward<KeysT>(value));
71 return *this;
72 }
73 template <typename KeysT = SampleDocumentKeys>
74 SampleDocuments& AddKeys(KeysT&& value) {
75 m_keysHasBeenSet = true;
76 m_keys.emplace_back(std::forward<KeysT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_bucketName;
82
84 bool m_bucketNameHasBeenSet = false;
85 bool m_keysHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace B2BI
90} // 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