AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Folder.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/FolderType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/quicksight/model/SharingModel.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
35 class Folder
36 {
37 public:
38 AWS_QUICKSIGHT_API Folder();
39 AWS_QUICKSIGHT_API Folder(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Folder& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFolderId() const{ return m_folderId; }
49 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
50 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
51 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
52 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
53 inline Folder& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
54 inline Folder& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
55 inline Folder& WithFolderId(const char* value) { SetFolderId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline Folder& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline Folder& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline Folder& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline Folder& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline Folder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline Folder& WithName(const char* value) { SetName(value); return *this;}
85
87
90 inline const FolderType& GetFolderType() const{ return m_folderType; }
91 inline bool FolderTypeHasBeenSet() const { return m_folderTypeHasBeenSet; }
92 inline void SetFolderType(const FolderType& value) { m_folderTypeHasBeenSet = true; m_folderType = value; }
93 inline void SetFolderType(FolderType&& value) { m_folderTypeHasBeenSet = true; m_folderType = std::move(value); }
94 inline Folder& WithFolderType(const FolderType& value) { SetFolderType(value); return *this;}
95 inline Folder& WithFolderType(FolderType&& value) { SetFolderType(std::move(value)); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetFolderPath() const{ return m_folderPath; }
103 inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; }
104 inline void SetFolderPath(const Aws::Vector<Aws::String>& value) { m_folderPathHasBeenSet = true; m_folderPath = value; }
105 inline void SetFolderPath(Aws::Vector<Aws::String>&& value) { m_folderPathHasBeenSet = true; m_folderPath = std::move(value); }
106 inline Folder& WithFolderPath(const Aws::Vector<Aws::String>& value) { SetFolderPath(value); return *this;}
107 inline Folder& WithFolderPath(Aws::Vector<Aws::String>&& value) { SetFolderPath(std::move(value)); return *this;}
108 inline Folder& AddFolderPath(const Aws::String& value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(value); return *this; }
109 inline Folder& AddFolderPath(Aws::String&& value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(std::move(value)); return *this; }
110 inline Folder& AddFolderPath(const char* value) { m_folderPathHasBeenSet = true; m_folderPath.push_back(value); return *this; }
112
114
117 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
118 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
119 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
120 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
121 inline Folder& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
122 inline Folder& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
130 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
131 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
132 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
133 inline Folder& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
134 inline Folder& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
136
138
141 inline const SharingModel& GetSharingModel() const{ return m_sharingModel; }
142 inline bool SharingModelHasBeenSet() const { return m_sharingModelHasBeenSet; }
143 inline void SetSharingModel(const SharingModel& value) { m_sharingModelHasBeenSet = true; m_sharingModel = value; }
144 inline void SetSharingModel(SharingModel&& value) { m_sharingModelHasBeenSet = true; m_sharingModel = std::move(value); }
145 inline Folder& WithSharingModel(const SharingModel& value) { SetSharingModel(value); return *this;}
146 inline Folder& WithSharingModel(SharingModel&& value) { SetSharingModel(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_folderId;
151 bool m_folderIdHasBeenSet = false;
152
153 Aws::String m_arn;
154 bool m_arnHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 FolderType m_folderType;
160 bool m_folderTypeHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_folderPath;
163 bool m_folderPathHasBeenSet = false;
164
165 Aws::Utils::DateTime m_createdTime;
166 bool m_createdTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdatedTime;
169 bool m_lastUpdatedTimeHasBeenSet = false;
170
171 SharingModel m_sharingModel;
172 bool m_sharingModelHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace QuickSight
177} // namespace Aws
void SetFolderPath(Aws::Vector< Aws::String > &&value)
Definition Folder.h:105
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Folder.h:129
Folder & AddFolderPath(const char *value)
Definition Folder.h:110
const Aws::Vector< Aws::String > & GetFolderPath() const
Definition Folder.h:102
bool FolderTypeHasBeenSet() const
Definition Folder.h:91
AWS_QUICKSIGHT_API Folder(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Definition Folder.h:77
void SetFolderType(FolderType &&value)
Definition Folder.h:93
bool SharingModelHasBeenSet() const
Definition Folder.h:142
Folder & WithFolderType(const FolderType &value)
Definition Folder.h:94
void SetArn(const Aws::String &value)
Definition Folder.h:64
AWS_QUICKSIGHT_API Folder & operator=(Aws::Utils::Json::JsonView jsonValue)
Folder & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Folder.h:122
Folder & WithArn(const char *value)
Definition Folder.h:69
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Folder.h:132
Folder & WithFolderType(FolderType &&value)
Definition Folder.h:95
Folder & WithArn(Aws::String &&value)
Definition Folder.h:68
Folder & WithFolderId(const Aws::String &value)
Definition Folder.h:53
const Aws::String & GetFolderId() const
Definition Folder.h:48
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Folder.h:120
void SetSharingModel(SharingModel &&value)
Definition Folder.h:144
void SetName(const Aws::String &value)
Definition Folder.h:78
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Folder.h:117
AWS_QUICKSIGHT_API Folder()
Folder & WithSharingModel(const SharingModel &value)
Definition Folder.h:145
void SetFolderId(Aws::String &&value)
Definition Folder.h:51
bool LastUpdatedTimeHasBeenSet() const
Definition Folder.h:130
void SetFolderId(const char *value)
Definition Folder.h:52
void SetFolderId(const Aws::String &value)
Definition Folder.h:50
Folder & WithFolderPath(Aws::Vector< Aws::String > &&value)
Definition Folder.h:107
Folder & WithName(const char *value)
Definition Folder.h:83
Folder & WithName(const Aws::String &value)
Definition Folder.h:81
bool CreatedTimeHasBeenSet() const
Definition Folder.h:118
Folder & WithName(Aws::String &&value)
Definition Folder.h:82
const Aws::String & GetArn() const
Definition Folder.h:62
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Folder.h:131
Folder & WithFolderId(Aws::String &&value)
Definition Folder.h:54
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Folder & AddFolderPath(const Aws::String &value)
Definition Folder.h:108
Folder & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Folder.h:121
bool FolderPathHasBeenSet() const
Definition Folder.h:103
Folder & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Folder.h:134
Folder & WithArn(const Aws::String &value)
Definition Folder.h:67
bool FolderIdHasBeenSet() const
Definition Folder.h:49
void SetName(const char *value)
Definition Folder.h:80
void SetName(Aws::String &&value)
Definition Folder.h:79
void SetFolderPath(const Aws::Vector< Aws::String > &value)
Definition Folder.h:104
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Folder.h:119
Folder & WithSharingModel(SharingModel &&value)
Definition Folder.h:146
void SetFolderType(const FolderType &value)
Definition Folder.h:92
Folder & AddFolderPath(Aws::String &&value)
Definition Folder.h:109
Folder & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Folder.h:133
const Aws::String & GetName() const
Definition Folder.h:76
void SetSharingModel(const SharingModel &value)
Definition Folder.h:143
Folder & WithFolderPath(const Aws::Vector< Aws::String > &value)
Definition Folder.h:106
const FolderType & GetFolderType() const
Definition Folder.h:90
void SetArn(Aws::String &&value)
Definition Folder.h:65
Folder & WithFolderId(const char *value)
Definition Folder.h:55
void SetArn(const char *value)
Definition Folder.h:66
const SharingModel & GetSharingModel() const
Definition Folder.h:141
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue