AWS SDK for C++

AWS SDK for C++ Version 1.11.712

Loading...
Searching...
No Matches
FileInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralBenefits {
20namespace Model {
21
28class FileInput {
29 public:
30 AWS_PARTNERCENTRALBENEFITS_API FileInput() = default;
31 AWS_PARTNERCENTRALBENEFITS_API FileInput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALBENEFITS_API FileInput& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFileURI() const { return m_fileURI; }
40 inline bool FileURIHasBeenSet() const { return m_fileURIHasBeenSet; }
41 template <typename FileURIT = Aws::String>
42 void SetFileURI(FileURIT&& value) {
43 m_fileURIHasBeenSet = true;
44 m_fileURI = std::forward<FileURIT>(value);
45 }
46 template <typename FileURIT = Aws::String>
47 FileInput& WithFileURI(FileURIT&& value) {
48 SetFileURI(std::forward<FileURIT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetBusinessUseCase() const { return m_businessUseCase; }
59 inline bool BusinessUseCaseHasBeenSet() const { return m_businessUseCaseHasBeenSet; }
60 template <typename BusinessUseCaseT = Aws::String>
61 void SetBusinessUseCase(BusinessUseCaseT&& value) {
62 m_businessUseCaseHasBeenSet = true;
63 m_businessUseCase = std::forward<BusinessUseCaseT>(value);
64 }
65 template <typename BusinessUseCaseT = Aws::String>
66 FileInput& WithBusinessUseCase(BusinessUseCaseT&& value) {
67 SetBusinessUseCase(std::forward<BusinessUseCaseT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_fileURI;
73
74 Aws::String m_businessUseCase;
75 bool m_fileURIHasBeenSet = false;
76 bool m_businessUseCaseHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PartnerCentralBenefits
81} // namespace Aws
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
FileInput & WithFileURI(FileURIT &&value)
Definition FileInput.h:47
const Aws::String & GetBusinessUseCase() const
Definition FileInput.h:58
AWS_PARTNERCENTRALBENEFITS_API FileInput(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API FileInput()=default
AWS_PARTNERCENTRALBENEFITS_API FileInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBusinessUseCase(BusinessUseCaseT &&value)
Definition FileInput.h:61
const Aws::String & GetFileURI() const
Definition FileInput.h:39
FileInput & WithBusinessUseCase(BusinessUseCaseT &&value)
Definition FileInput.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue