AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FolderSummary.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/DateTime.h>
11#include <aws/quicksight/model/SharingModel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API FolderSummary();
39 AWS_QUICKSIGHT_API FolderSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API FolderSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline FolderSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline FolderSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline FolderSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetFolderId() const{ return m_folderId; }
63 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
64 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
65 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
66 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
67 inline FolderSummary& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
68 inline FolderSummary& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
69 inline FolderSummary& WithFolderId(const char* value) { SetFolderId(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 FolderSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline FolderSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline FolderSummary& 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 FolderSummary& WithFolderType(const FolderType& value) { SetFolderType(value); return *this;}
95 inline FolderSummary& WithFolderType(FolderType&& value) { SetFolderType(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
103 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
104 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
105 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
106 inline FolderSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
107 inline FolderSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
115 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
116 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
117 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
118 inline FolderSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
119 inline FolderSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
121
123
126 inline const SharingModel& GetSharingModel() const{ return m_sharingModel; }
127 inline bool SharingModelHasBeenSet() const { return m_sharingModelHasBeenSet; }
128 inline void SetSharingModel(const SharingModel& value) { m_sharingModelHasBeenSet = true; m_sharingModel = value; }
129 inline void SetSharingModel(SharingModel&& value) { m_sharingModelHasBeenSet = true; m_sharingModel = std::move(value); }
130 inline FolderSummary& WithSharingModel(const SharingModel& value) { SetSharingModel(value); return *this;}
131 inline FolderSummary& WithSharingModel(SharingModel&& value) { SetSharingModel(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_arn;
136 bool m_arnHasBeenSet = false;
137
138 Aws::String m_folderId;
139 bool m_folderIdHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 FolderType m_folderType;
145 bool m_folderTypeHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdTime;
148 bool m_createdTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastUpdatedTime;
151 bool m_lastUpdatedTimeHasBeenSet = false;
152
153 SharingModel m_sharingModel;
154 bool m_sharingModelHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace QuickSight
159} // namespace Aws
void SetArn(const Aws::String &value)
FolderSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FolderSummary & WithFolderId(const char *value)
void SetFolderId(const Aws::String &value)
FolderSummary & WithArn(const char *value)
void SetSharingModel(SharingModel &&value)
void SetFolderType(const FolderType &value)
FolderSummary & WithFolderType(const FolderType &value)
const Aws::String & GetArn() const
AWS_QUICKSIGHT_API FolderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const FolderType & GetFolderType() const
const Aws::String & GetFolderId() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetSharingModel(const SharingModel &value)
FolderSummary & WithFolderId(Aws::String &&value)
FolderSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetFolderId(const char *value)
FolderSummary & WithFolderId(const Aws::String &value)
FolderSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
FolderSummary & WithSharingModel(const SharingModel &value)
FolderSummary & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
AWS_QUICKSIGHT_API FolderSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
FolderSummary & WithSharingModel(SharingModel &&value)
FolderSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
FolderSummary & WithName(const char *value)
const SharingModel & GetSharingModel() const
FolderSummary & WithName(Aws::String &&value)
FolderSummary & WithArn(const Aws::String &value)
FolderSummary & WithFolderType(FolderType &&value)
void SetFolderId(Aws::String &&value)
void SetFolderType(FolderType &&value)
FolderSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue