AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TaxRegistrationDocFile.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TaxSettings {
21namespace Model {
22
29 public:
30 AWS_TAXSETTINGS_API TaxRegistrationDocFile() = default;
31 AWS_TAXSETTINGS_API TaxRegistrationDocFile(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::ByteBuffer& GetFileContent() const { return m_fileContent; }
40 inline bool FileContentHasBeenSet() const { return m_fileContentHasBeenSet; }
41 template <typename FileContentT = Aws::Utils::ByteBuffer>
42 void SetFileContent(FileContentT&& value) {
43 m_fileContentHasBeenSet = true;
44 m_fileContent = std::forward<FileContentT>(value);
45 }
46 template <typename FileContentT = Aws::Utils::ByteBuffer>
47 TaxRegistrationDocFile& WithFileContent(FileContentT&& value) {
48 SetFileContent(std::forward<FileContentT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFileName() const { return m_fileName; }
58 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
59 template <typename FileNameT = Aws::String>
60 void SetFileName(FileNameT&& value) {
61 m_fileNameHasBeenSet = true;
62 m_fileName = std::forward<FileNameT>(value);
63 }
64 template <typename FileNameT = Aws::String>
66 SetFileName(std::forward<FileNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::Utils::ByteBuffer m_fileContent{};
72
73 Aws::String m_fileName;
74 bool m_fileContentHasBeenSet = false;
75 bool m_fileNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace TaxSettings
80} // namespace Aws
TaxRegistrationDocFile & WithFileContent(FileContentT &&value)
TaxRegistrationDocFile & WithFileName(FileNameT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API TaxRegistrationDocFile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API TaxRegistrationDocFile()=default
const Aws::Utils::ByteBuffer & GetFileContent() const
AWS_TAXSETTINGS_API TaxRegistrationDocFile(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue