AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
FileUploadCardInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/CardType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QApps {
21namespace Model {
22
32 public:
33 AWS_QAPPS_API FileUploadCardInput() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTitle() const { return m_title; }
43 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
44 template <typename TitleT = Aws::String>
45 void SetTitle(TitleT&& value) {
46 m_titleHasBeenSet = true;
47 m_title = std::forward<TitleT>(value);
48 }
49 template <typename TitleT = Aws::String>
51 SetTitle(std::forward<TitleT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
78 inline CardType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(CardType value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetFilename() const { return m_filename; }
95 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
96 template <typename FilenameT = Aws::String>
97 void SetFilename(FilenameT&& value) {
98 m_filenameHasBeenSet = true;
99 m_filename = std::forward<FilenameT>(value);
100 }
101 template <typename FilenameT = Aws::String>
103 SetFilename(std::forward<FilenameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetFileId() const { return m_fileId; }
113 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
114 template <typename FileIdT = Aws::String>
115 void SetFileId(FileIdT&& value) {
116 m_fileIdHasBeenSet = true;
117 m_fileId = std::forward<FileIdT>(value);
118 }
119 template <typename FileIdT = Aws::String>
121 SetFileId(std::forward<FileIdT>(value));
122 return *this;
123 }
125
127
131 inline bool GetAllowOverride() const { return m_allowOverride; }
132 inline bool AllowOverrideHasBeenSet() const { return m_allowOverrideHasBeenSet; }
133 inline void SetAllowOverride(bool value) {
134 m_allowOverrideHasBeenSet = true;
135 m_allowOverride = value;
136 }
138 SetAllowOverride(value);
139 return *this;
140 }
142 private:
143 Aws::String m_title;
144
145 Aws::String m_id;
146
148
149 Aws::String m_filename;
150
151 Aws::String m_fileId;
152
153 bool m_allowOverride{false};
154 bool m_titleHasBeenSet = false;
155 bool m_idHasBeenSet = false;
156 bool m_typeHasBeenSet = false;
157 bool m_filenameHasBeenSet = false;
158 bool m_fileIdHasBeenSet = false;
159 bool m_allowOverrideHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace QApps
164} // namespace Aws
AWS_QAPPS_API FileUploadCardInput(Aws::Utils::Json::JsonView jsonValue)
FileUploadCardInput & WithFileId(FileIdT &&value)
FileUploadCardInput & WithId(IdT &&value)
FileUploadCardInput & WithTitle(TitleT &&value)
const Aws::String & GetFilename() const
FileUploadCardInput & WithType(CardType value)
AWS_QAPPS_API FileUploadCardInput()=default
FileUploadCardInput & WithAllowOverride(bool value)
AWS_QAPPS_API FileUploadCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
FileUploadCardInput & WithFilename(FilenameT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue