AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
51 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
52 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
53 inline FileUploadCardInput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
54 inline FileUploadCardInput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
55 inline FileUploadCardInput& WithTitle(const char* value) { SetTitle(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline FileUploadCardInput& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline FileUploadCardInput& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline FileUploadCardInput& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const CardType& GetType() const{ return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
79 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 inline FileUploadCardInput& WithType(const CardType& value) { SetType(value); return *this;}
81 inline FileUploadCardInput& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetFilename() const{ return m_filename; }
89 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
90 inline void SetFilename(const Aws::String& value) { m_filenameHasBeenSet = true; m_filename = value; }
91 inline void SetFilename(Aws::String&& value) { m_filenameHasBeenSet = true; m_filename = std::move(value); }
92 inline void SetFilename(const char* value) { m_filenameHasBeenSet = true; m_filename.assign(value); }
93 inline FileUploadCardInput& WithFilename(const Aws::String& value) { SetFilename(value); return *this;}
94 inline FileUploadCardInput& WithFilename(Aws::String&& value) { SetFilename(std::move(value)); return *this;}
95 inline FileUploadCardInput& WithFilename(const char* value) { SetFilename(value); return *this;}
97
99
102 inline const Aws::String& GetFileId() const{ return m_fileId; }
103 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
104 inline void SetFileId(const Aws::String& value) { m_fileIdHasBeenSet = true; m_fileId = value; }
105 inline void SetFileId(Aws::String&& value) { m_fileIdHasBeenSet = true; m_fileId = std::move(value); }
106 inline void SetFileId(const char* value) { m_fileIdHasBeenSet = true; m_fileId.assign(value); }
107 inline FileUploadCardInput& WithFileId(const Aws::String& value) { SetFileId(value); return *this;}
108 inline FileUploadCardInput& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;}
109 inline FileUploadCardInput& WithFileId(const char* value) { SetFileId(value); return *this;}
111
113
117 inline bool GetAllowOverride() const{ return m_allowOverride; }
118 inline bool AllowOverrideHasBeenSet() const { return m_allowOverrideHasBeenSet; }
119 inline void SetAllowOverride(bool value) { m_allowOverrideHasBeenSet = true; m_allowOverride = value; }
120 inline FileUploadCardInput& WithAllowOverride(bool value) { SetAllowOverride(value); return *this;}
122 private:
123
124 Aws::String m_title;
125 bool m_titleHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 CardType m_type;
131 bool m_typeHasBeenSet = false;
132
133 Aws::String m_filename;
134 bool m_filenameHasBeenSet = false;
135
136 Aws::String m_fileId;
137 bool m_fileIdHasBeenSet = false;
138
139 bool m_allowOverride;
140 bool m_allowOverrideHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QApps
145} // namespace Aws
AWS_QAPPS_API FileUploadCardInput(Aws::Utils::Json::JsonView jsonValue)
FileUploadCardInput & WithId(Aws::String &&value)
FileUploadCardInput & WithId(const Aws::String &value)
const Aws::String & GetFilename() const
void SetFileId(const Aws::String &value)
FileUploadCardInput & WithFileId(Aws::String &&value)
FileUploadCardInput & WithType(const CardType &value)
void SetTitle(const Aws::String &value)
FileUploadCardInput & WithFileId(const Aws::String &value)
FileUploadCardInput & WithFileId(const char *value)
FileUploadCardInput & WithFilename(const Aws::String &value)
FileUploadCardInput & WithId(const char *value)
FileUploadCardInput & WithTitle(const char *value)
void SetFilename(const Aws::String &value)
FileUploadCardInput & WithTitle(Aws::String &&value)
FileUploadCardInput & WithAllowOverride(bool value)
FileUploadCardInput & WithTitle(const Aws::String &value)
FileUploadCardInput & WithFilename(const char *value)
FileUploadCardInput & WithFilename(Aws::String &&value)
AWS_QAPPS_API FileUploadCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
FileUploadCardInput & WithType(CardType &&value)
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue