AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileUploadCard.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/CardType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QAPPS_API FileUploadCard();
40 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline FileUploadCard& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline FileUploadCard& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline FileUploadCard& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetTitle() const{ return m_title; }
62 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
63 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
64 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
65 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
66 inline FileUploadCard& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
67 inline FileUploadCard& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
68 inline FileUploadCard& WithTitle(const char* value) { SetTitle(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
76 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
77 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
78 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
79 inline FileUploadCard& WithDependencies(const Aws::Vector<Aws::String>& value) { SetDependencies(value); return *this;}
80 inline FileUploadCard& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
81 inline FileUploadCard& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
82 inline FileUploadCard& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
83 inline FileUploadCard& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
85
87
90 inline const CardType& GetType() const{ return m_type; }
91 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
93 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
94 inline FileUploadCard& WithType(const CardType& value) { SetType(value); return *this;}
95 inline FileUploadCard& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetFilename() const{ return m_filename; }
103 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
104 inline void SetFilename(const Aws::String& value) { m_filenameHasBeenSet = true; m_filename = value; }
105 inline void SetFilename(Aws::String&& value) { m_filenameHasBeenSet = true; m_filename = std::move(value); }
106 inline void SetFilename(const char* value) { m_filenameHasBeenSet = true; m_filename.assign(value); }
107 inline FileUploadCard& WithFilename(const Aws::String& value) { SetFilename(value); return *this;}
108 inline FileUploadCard& WithFilename(Aws::String&& value) { SetFilename(std::move(value)); return *this;}
109 inline FileUploadCard& WithFilename(const char* value) { SetFilename(value); return *this;}
111
113
116 inline const Aws::String& GetFileId() const{ return m_fileId; }
117 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
118 inline void SetFileId(const Aws::String& value) { m_fileIdHasBeenSet = true; m_fileId = value; }
119 inline void SetFileId(Aws::String&& value) { m_fileIdHasBeenSet = true; m_fileId = std::move(value); }
120 inline void SetFileId(const char* value) { m_fileIdHasBeenSet = true; m_fileId.assign(value); }
121 inline FileUploadCard& WithFileId(const Aws::String& value) { SetFileId(value); return *this;}
122 inline FileUploadCard& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;}
123 inline FileUploadCard& WithFileId(const char* value) { SetFileId(value); return *this;}
125
127
131 inline bool GetAllowOverride() const{ return m_allowOverride; }
132 inline bool AllowOverrideHasBeenSet() const { return m_allowOverrideHasBeenSet; }
133 inline void SetAllowOverride(bool value) { m_allowOverrideHasBeenSet = true; m_allowOverride = value; }
134 inline FileUploadCard& WithAllowOverride(bool value) { SetAllowOverride(value); return *this;}
136 private:
137
138 Aws::String m_id;
139 bool m_idHasBeenSet = false;
140
141 Aws::String m_title;
142 bool m_titleHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_dependencies;
145 bool m_dependenciesHasBeenSet = false;
146
147 CardType m_type;
148 bool m_typeHasBeenSet = false;
149
150 Aws::String m_filename;
151 bool m_filenameHasBeenSet = false;
152
153 Aws::String m_fileId;
154 bool m_fileIdHasBeenSet = false;
155
156 bool m_allowOverride;
157 bool m_allowOverrideHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace QApps
162} // namespace Aws
void SetFileId(const Aws::String &value)
void SetFilename(const Aws::String &value)
void SetFileId(Aws::String &&value)
FileUploadCard & AddDependencies(const char *value)
FileUploadCard & WithFilename(const Aws::String &value)
const Aws::String & GetFilename() const
FileUploadCard & WithFileId(const char *value)
void SetTitle(const char *value)
FileUploadCard & WithTitle(const Aws::String &value)
FileUploadCard & AddDependencies(Aws::String &&value)
FileUploadCard & WithFileId(Aws::String &&value)
FileUploadCard & WithDependencies(Aws::Vector< Aws::String > &&value)
void SetType(const CardType &value)
FileUploadCard & WithId(const Aws::String &value)
void SetDependencies(const Aws::Vector< Aws::String > &value)
void SetTitle(Aws::String &&value)
FileUploadCard & WithFilename(const char *value)
FileUploadCard & WithId(const char *value)
FileUploadCard & WithAllowOverride(bool value)
void SetId(const Aws::String &value)
const CardType & GetType() const
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
FileUploadCard & WithId(Aws::String &&value)
void SetFilename(const char *value)
FileUploadCard & WithDependencies(const Aws::Vector< Aws::String > &value)
void SetType(CardType &&value)
void SetFilename(Aws::String &&value)
FileUploadCard & WithType(const CardType &value)
void SetId(const char *value)
AWS_QAPPS_API FileUploadCard(Aws::Utils::Json::JsonView jsonValue)
FileUploadCard & AddDependencies(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDependencies() const
FileUploadCard & WithFilename(Aws::String &&value)
const Aws::String & GetId() const
FileUploadCard & WithType(CardType &&value)
FileUploadCard & WithTitle(Aws::String &&value)
AWS_QAPPS_API FileUploadCard & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDependencies(Aws::Vector< Aws::String > &&value)
FileUploadCard & WithTitle(const char *value)
const Aws::String & GetTitle() const
void SetFileId(const char *value)
void SetTitle(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetFileId() const
FileUploadCard & WithFileId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue