AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaxRegistrationDocFile.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TaxSettings
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TAXSETTINGS_API TaxRegistrationDocFile() = default;
36 AWS_TAXSETTINGS_API TaxRegistrationDocFile(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::ByteBuffer& GetFileContent() const { return m_fileContent; }
46 inline bool FileContentHasBeenSet() const { return m_fileContentHasBeenSet; }
47 template<typename FileContentT = Aws::Utils::ByteBuffer>
48 void SetFileContent(FileContentT&& value) { m_fileContentHasBeenSet = true; m_fileContent = std::forward<FileContentT>(value); }
49 template<typename FileContentT = Aws::Utils::ByteBuffer>
50 TaxRegistrationDocFile& WithFileContent(FileContentT&& value) { SetFileContent(std::forward<FileContentT>(value)); return *this;}
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) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
61 template<typename FileNameT = Aws::String>
62 TaxRegistrationDocFile& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
64 private:
65
66 Aws::Utils::ByteBuffer m_fileContent{};
67 bool m_fileContentHasBeenSet = false;
68
69 Aws::String m_fileName;
70 bool m_fileNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TaxSettings
75} // 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