AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileUploadCardInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/CardType.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 QApps
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_QAPPS_API FileUploadCardInput() = default;
41 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTitle() const { return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 template<typename TitleT = Aws::String>
51 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
52 template<typename TitleT = Aws::String>
53 FileUploadCardInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 FileUploadCardInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline CardType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline FileUploadCardInput& WithType(CardType value) { SetType(value); return *this;}
77
79
82 inline const Aws::String& GetFilename() const { return m_filename; }
83 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
84 template<typename FilenameT = Aws::String>
85 void SetFilename(FilenameT&& value) { m_filenameHasBeenSet = true; m_filename = std::forward<FilenameT>(value); }
86 template<typename FilenameT = Aws::String>
87 FileUploadCardInput& WithFilename(FilenameT&& value) { SetFilename(std::forward<FilenameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetFileId() const { return m_fileId; }
95 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
96 template<typename FileIdT = Aws::String>
97 void SetFileId(FileIdT&& value) { m_fileIdHasBeenSet = true; m_fileId = std::forward<FileIdT>(value); }
98 template<typename FileIdT = Aws::String>
99 FileUploadCardInput& WithFileId(FileIdT&& value) { SetFileId(std::forward<FileIdT>(value)); return *this;}
101
103
107 inline bool GetAllowOverride() const { return m_allowOverride; }
108 inline bool AllowOverrideHasBeenSet() const { return m_allowOverrideHasBeenSet; }
109 inline void SetAllowOverride(bool value) { m_allowOverrideHasBeenSet = true; m_allowOverride = value; }
110 inline FileUploadCardInput& WithAllowOverride(bool value) { SetAllowOverride(value); return *this;}
112 private:
113
114 Aws::String m_title;
115 bool m_titleHasBeenSet = false;
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
121 bool m_typeHasBeenSet = false;
122
123 Aws::String m_filename;
124 bool m_filenameHasBeenSet = false;
125
126 Aws::String m_fileId;
127 bool m_fileIdHasBeenSet = false;
128
129 bool m_allowOverride{false};
130 bool m_allowOverrideHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QApps
135} // 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