AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
49 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
50 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
51 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
52 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
53 inline SampleDocuments& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
54 inline SampleDocuments& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
55 inline SampleDocuments& WithBucketName(const char* value) { SetBucketName(value); return *this;}
57
59
63 inline const Aws::Vector<SampleDocumentKeys>& GetKeys() const{ return m_keys; }
64 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
65 inline void SetKeys(const Aws::Vector<SampleDocumentKeys>& value) { m_keysHasBeenSet = true; m_keys = value; }
66 inline void SetKeys(Aws::Vector<SampleDocumentKeys>&& value) { m_keysHasBeenSet = true; m_keys = std::move(value); }
67 inline SampleDocuments& WithKeys(const Aws::Vector<SampleDocumentKeys>& value) { SetKeys(value); return *this;}
68 inline SampleDocuments& WithKeys(Aws::Vector<SampleDocumentKeys>&& value) { SetKeys(std::move(value)); return *this;}
69 inline SampleDocuments& AddKeys(const SampleDocumentKeys& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
70 inline SampleDocuments& AddKeys(SampleDocumentKeys&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_bucketName;
75 bool m_bucketNameHasBeenSet = false;
76
78 bool m_keysHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace B2BI
83} // namespace Aws
SampleDocuments & WithBucketName(const char *value)
SampleDocuments & AddKeys(const SampleDocumentKeys &value)
SampleDocuments & AddKeys(SampleDocumentKeys &&value)
const Aws::String & GetBucketName() const
AWS_B2BI_API SampleDocuments(Aws::Utils::Json::JsonView jsonValue)
SampleDocuments & WithKeys(const Aws::Vector< SampleDocumentKeys > &value)
AWS_B2BI_API SampleDocuments & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeys(Aws::Vector< SampleDocumentKeys > &&value)
SampleDocuments & WithBucketName(Aws::String &&value)
void SetKeys(const Aws::Vector< SampleDocumentKeys > &value)
SampleDocuments & WithKeys(Aws::Vector< SampleDocumentKeys > &&value)
void SetBucketName(Aws::String &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
SampleDocuments & WithBucketName(const Aws::String &value)
void SetBucketName(const char *value)
void SetBucketName(const Aws::String &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