AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageSource.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticsearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICSEARCHSERVICE_API PackageSource();
36 AWS_ELASTICSEARCHSERVICE_API PackageSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API PackageSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
46 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
47 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
48 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
49 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
50 inline PackageSource& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
51 inline PackageSource& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
52 inline PackageSource& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
54
56
59 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
60 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
61 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
62 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
63 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
64 inline PackageSource& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
65 inline PackageSource& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
66 inline PackageSource& WithS3Key(const char* value) { SetS3Key(value); return *this;}
68 private:
69
70 Aws::String m_s3BucketName;
71 bool m_s3BucketNameHasBeenSet = false;
72
73 Aws::String m_s3Key;
74 bool m_s3KeyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElasticsearchService
79} // namespace Aws
PackageSource & WithS3Key(const Aws::String &value)
PackageSource & WithS3BucketName(const char *value)
PackageSource & WithS3BucketName(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API PackageSource(Aws::Utils::Json::JsonView jsonValue)
PackageSource & WithS3Key(const char *value)
void SetS3BucketName(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API PackageSource()
PackageSource & WithS3Key(Aws::String &&value)
PackageSource & WithS3BucketName(Aws::String &&value)
void SetS3Key(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API PackageSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue