AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CustomPluginFileDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect {
20namespace Model {
21
28 public:
29 AWS_KAFKACONNECT_API CustomPluginFileDescription() = default;
32 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetFileMd5() const { return m_fileMd5; }
40 inline bool FileMd5HasBeenSet() const { return m_fileMd5HasBeenSet; }
41 template <typename FileMd5T = Aws::String>
42 void SetFileMd5(FileMd5T&& value) {
43 m_fileMd5HasBeenSet = true;
44 m_fileMd5 = std::forward<FileMd5T>(value);
45 }
46 template <typename FileMd5T = Aws::String>
48 SetFileMd5(std::forward<FileMd5T>(value));
49 return *this;
50 }
52
54
58 inline long long GetFileSize() const { return m_fileSize; }
59 inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
60 inline void SetFileSize(long long value) {
61 m_fileSizeHasBeenSet = true;
62 m_fileSize = value;
63 }
64 inline CustomPluginFileDescription& WithFileSize(long long value) {
65 SetFileSize(value);
66 return *this;
67 }
69 private:
70 Aws::String m_fileMd5;
71
72 long long m_fileSize{0};
73 bool m_fileMd5HasBeenSet = false;
74 bool m_fileSizeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace KafkaConnect
79} // namespace Aws
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPluginFileDescription(Aws::Utils::Json::JsonView jsonValue)
CustomPluginFileDescription & WithFileMd5(FileMd5T &&value)
CustomPluginFileDescription & WithFileSize(long long value)
AWS_KAFKACONNECT_API CustomPluginFileDescription()=default
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