AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomPluginFileDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KAFKACONNECT_API CustomPluginFileDescription();
37 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetFileMd5() const{ return m_fileMd5; }
46 inline bool FileMd5HasBeenSet() const { return m_fileMd5HasBeenSet; }
47 inline void SetFileMd5(const Aws::String& value) { m_fileMd5HasBeenSet = true; m_fileMd5 = value; }
48 inline void SetFileMd5(Aws::String&& value) { m_fileMd5HasBeenSet = true; m_fileMd5 = std::move(value); }
49 inline void SetFileMd5(const char* value) { m_fileMd5HasBeenSet = true; m_fileMd5.assign(value); }
50 inline CustomPluginFileDescription& WithFileMd5(const Aws::String& value) { SetFileMd5(value); return *this;}
51 inline CustomPluginFileDescription& WithFileMd5(Aws::String&& value) { SetFileMd5(std::move(value)); return *this;}
52 inline CustomPluginFileDescription& WithFileMd5(const char* value) { SetFileMd5(value); return *this;}
54
56
60 inline long long GetFileSize() const{ return m_fileSize; }
61 inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
62 inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; }
63 inline CustomPluginFileDescription& WithFileSize(long long value) { SetFileSize(value); return *this;}
65 private:
66
67 Aws::String m_fileMd5;
68 bool m_fileMd5HasBeenSet = false;
69
70 long long m_fileSize;
71 bool m_fileSizeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace KafkaConnect
76} // namespace Aws
CustomPluginFileDescription & WithFileMd5(const char *value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPluginFileDescription(Aws::Utils::Json::JsonView jsonValue)
CustomPluginFileDescription & WithFileMd5(const Aws::String &value)
CustomPluginFileDescription & WithFileMd5(Aws::String &&value)
CustomPluginFileDescription & WithFileSize(long long value)
AWS_KAFKACONNECT_API CustomPluginFileDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue