AWS SDK for C++  1.9.154
AWS SDK for C++
Folder.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
28 
35  {
36  public:
37  Folder();
41 
42 
46  inline const Aws::String& GetFolderId() const{ return m_folderId; }
47 
51  inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
52 
56  inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
57 
61  inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
62 
66  inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
67 
71  inline Folder& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
72 
76  inline Folder& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
77 
81  inline Folder& WithFolderId(const char* value) { SetFolderId(value); return *this;}
82 
83 
87  inline const Aws::String& GetArn() const{ return m_arn; }
88 
92  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
93 
97  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
98 
102  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
103 
107  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
108 
112  inline Folder& WithArn(const Aws::String& value) { SetArn(value); return *this;}
113 
117  inline Folder& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
118 
122  inline Folder& WithArn(const char* value) { SetArn(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline Folder& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline Folder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline Folder& WithName(const char* value) { SetName(value); return *this;}
164 
165 
169  inline const FolderType& GetFolderType() const{ return m_folderType; }
170 
174  inline bool FolderTypeHasBeenSet() const { return m_folderTypeHasBeenSet; }
175 
179  inline void SetFolderType(const FolderType& value) { m_folderTypeHasBeenSet = true; m_folderType = value; }
180 
184  inline void SetFolderType(FolderType&& value) { m_folderTypeHasBeenSet = true; m_folderType = std::move(value); }
185 
189  inline Folder& WithFolderType(const FolderType& value) { SetFolderType(value); return *this;}
190 
194  inline Folder& WithFolderType(FolderType&& value) { SetFolderType(std::move(value)); return *this;}
195 
196 
200  inline const Aws::Vector<Aws::String>& GetFolderPath() const{ return m_folderPath; }
201 
205  inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; }
206 
210  inline void SetFolderPath(const Aws::Vector<Aws::String>& value) { m_folderPathHasBeenSet = true; m_folderPath = value; }
211 
215  inline void SetFolderPath(Aws::Vector<Aws::String>&& value) { m_folderPathHasBeenSet = true; m_folderPath = std::move(value); }
216 
220  inline Folder& WithFolderPath(const Aws::Vector<Aws::String>& value) { SetFolderPath(value); return *this;}
221 
225  inline Folder& WithFolderPath(Aws::Vector<Aws::String>&& value) { SetFolderPath(std::move(value)); return *this;}
226 
230  inline Folder& AddFolderPath(const Aws::String& value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(value); return *this; }
231 
235  inline Folder& AddFolderPath(Aws::String&& value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(std::move(value)); return *this; }
236 
240  inline Folder& AddFolderPath(const char* value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(value); return *this; }
241 
242 
246  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
247 
251  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
252 
256  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
257 
261  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
262 
266  inline Folder& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
267 
271  inline Folder& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
272 
273 
277  inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
278 
282  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
283 
287  inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
288 
292  inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
293 
297  inline Folder& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
298 
302  inline Folder& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
303 
304  private:
305 
306  Aws::String m_folderId;
307  bool m_folderIdHasBeenSet;
308 
309  Aws::String m_arn;
310  bool m_arnHasBeenSet;
311 
312  Aws::String m_name;
313  bool m_nameHasBeenSet;
314 
315  FolderType m_folderType;
316  bool m_folderTypeHasBeenSet;
317 
318  Aws::Vector<Aws::String> m_folderPath;
319  bool m_folderPathHasBeenSet;
320 
321  Aws::Utils::DateTime m_createdTime;
322  bool m_createdTimeHasBeenSet;
323 
324  Aws::Utils::DateTime m_lastUpdatedTime;
325  bool m_lastUpdatedTimeHasBeenSet;
326  };
327 
328 } // namespace Model
329 } // namespace QuickSight
330 } // namespace Aws
FolderType.h
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::Folder::WithCreatedTime
Folder & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: Folder.h:266
Aws::QuickSight::Model::Folder::SetArn
void SetArn(Aws::String &&value)
Definition: Folder.h:102
QuickSight_EXPORTS.h
Aws::QuickSight::Model::Folder::WithArn
Folder & WithArn(Aws::String &&value)
Definition: Folder.h:117
Aws::QuickSight::Model::Folder::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::Folder::Folder
Folder(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::Folder::WithLastUpdatedTime
Folder & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Folder.h:302
Aws::QuickSight::Model::Folder::SetArn
void SetArn(const Aws::String &value)
Definition: Folder.h:97
Aws::QuickSight::Model::Folder::WithArn
Folder & WithArn(const Aws::String &value)
Definition: Folder.h:112
Aws::QuickSight::Model::FolderType
FolderType
Definition: FolderType.h:17
DateTime.h
Aws::QuickSight::Model::Folder::WithFolderType
Folder & WithFolderType(const FolderType &value)
Definition: Folder.h:189
Aws::QuickSight::Model::Folder::GetLastUpdatedTime
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition: Folder.h:277
Aws::QuickSight::Model::Folder::Folder
Folder()
Aws::QuickSight::Model::Folder::operator=
Folder & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::Folder::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Folder.h:292
Aws::QuickSight::Model::Folder
Definition: Folder.h:35
Aws::QuickSight::Model::Folder::FolderIdHasBeenSet
bool FolderIdHasBeenSet() const
Definition: Folder.h:51
Aws::QuickSight::Model::Folder::GetArn
const Aws::String & GetArn() const
Definition: Folder.h:87
AWSVector.h
Aws::QuickSight::Model::Folder::WithFolderId
Folder & WithFolderId(const char *value)
Definition: Folder.h:81
Aws::QuickSight::Model::Folder::SetName
void SetName(const Aws::String &value)
Definition: Folder.h:138
Aws::QuickSight::Model::Folder::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Folder.h:251
Aws::QuickSight::Model::Folder::SetFolderPath
void SetFolderPath(Aws::Vector< Aws::String > &&value)
Definition: Folder.h:215
Aws::QuickSight::Model::Folder::SetFolderType
void SetFolderType(FolderType &&value)
Definition: Folder.h:184
Aws::QuickSight::Model::Folder::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: Folder.h:256
Aws::QuickSight::Model::Folder::SetArn
void SetArn(const char *value)
Definition: Folder.h:107
Aws::QuickSight::Model::Folder::WithCreatedTime
Folder & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: Folder.h:271
Aws::QuickSight::Model::Folder::WithName
Folder & WithName(const Aws::String &value)
Definition: Folder.h:153
Aws::QuickSight::Model::Folder::SetFolderId
void SetFolderId(const Aws::String &value)
Definition: Folder.h:56
Aws::QuickSight::Model::Folder::WithName
Folder & WithName(Aws::String &&value)
Definition: Folder.h:158
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::Folder::WithFolderId
Folder & WithFolderId(const Aws::String &value)
Definition: Folder.h:71
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::Folder::GetFolderPath
const Aws::Vector< Aws::String > & GetFolderPath() const
Definition: Folder.h:200
Aws::QuickSight::Model::Folder::SetFolderId
void SetFolderId(Aws::String &&value)
Definition: Folder.h:61
Aws::QuickSight::Model::Folder::GetFolderType
const FolderType & GetFolderType() const
Definition: Folder.h:169
Aws::QuickSight::Model::Folder::GetFolderId
const Aws::String & GetFolderId() const
Definition: Folder.h:46
Aws::QuickSight::Model::Folder::AddFolderPath
Folder & AddFolderPath(Aws::String &&value)
Definition: Folder.h:235
Aws::QuickSight::Model::Folder::FolderPathHasBeenSet
bool FolderPathHasBeenSet() const
Definition: Folder.h:205
Aws::QuickSight::Model::Folder::WithFolderPath
Folder & WithFolderPath(const Aws::Vector< Aws::String > &value)
Definition: Folder.h:220
Aws::QuickSight::Model::Folder::WithName
Folder & WithName(const char *value)
Definition: Folder.h:163
Aws::QuickSight::Model::Folder::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: Folder.h:246
Aws::QuickSight::Model::Folder::SetFolderPath
void SetFolderPath(const Aws::Vector< Aws::String > &value)
Definition: Folder.h:210
Aws::QuickSight::Model::Folder::WithFolderId
Folder & WithFolderId(Aws::String &&value)
Definition: Folder.h:76
Aws::QuickSight::Model::Folder::SetName
void SetName(const char *value)
Definition: Folder.h:148
Aws::QuickSight::Model::Folder::SetFolderId
void SetFolderId(const char *value)
Definition: Folder.h:66
Aws::QuickSight::Model::Folder::FolderTypeHasBeenSet
bool FolderTypeHasBeenSet() const
Definition: Folder.h:174
Aws::QuickSight::Model::Folder::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Folder.h:133
Aws::QuickSight::Model::Folder::AddFolderPath
Folder & AddFolderPath(const char *value)
Definition: Folder.h:240
Aws::QuickSight::Model::Folder::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Folder.h:92
Aws::QuickSight::Model::Folder::SetName
void SetName(Aws::String &&value)
Definition: Folder.h:143
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::Folder::WithFolderType
Folder & WithFolderType(FolderType &&value)
Definition: Folder.h:194
Aws::QuickSight::Model::Folder::SetFolderType
void SetFolderType(const FolderType &value)
Definition: Folder.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::Folder::WithFolderPath
Folder & WithFolderPath(Aws::Vector< Aws::String > &&value)
Definition: Folder.h:225
Aws::QuickSight::Model::Folder::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Folder.h:282
Aws::QuickSight::Model::Folder::WithArn
Folder & WithArn(const char *value)
Definition: Folder.h:122
Aws::QuickSight::Model::Folder::GetName
const Aws::String & GetName() const
Definition: Folder.h:128
Aws::QuickSight::Model::Folder::AddFolderPath
Folder & AddFolderPath(const Aws::String &value)
Definition: Folder.h:230
Aws::QuickSight::Model::Folder::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: Folder.h:261
Aws::QuickSight::Model::Folder::WithLastUpdatedTime
Folder & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Folder.h:297
Aws::QuickSight::Model::Folder::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Folder.h:287