AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataSourceSummary.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/DataSourceType.h>
10#include <aws/core/utils/DateTime.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 QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API DataSourceSummary() = default;
38 AWS_QUICKSIGHT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 DataSourceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
60 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
61 template<typename DataSourceIdT = Aws::String>
62 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
63 template<typename DataSourceIdT = Aws::String>
64 DataSourceSummary& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 DataSourceSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline DataSourceType GetType() const { return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(DataSourceType value) { m_typeHasBeenSet = true; m_type = value; }
86 inline DataSourceSummary& WithType(DataSourceType value) { SetType(value); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
95 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
96 template<typename CreatedTimeT = Aws::Utils::DateTime>
97 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
98 template<typename CreatedTimeT = Aws::Utils::DateTime>
99 DataSourceSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
108 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
109 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
110 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
111 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
112 DataSourceSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_dataSourceId;
120 bool m_dataSourceIdHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_typeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_createdTime{};
129 bool m_createdTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastUpdatedTime{};
132 bool m_lastUpdatedTimeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace QuickSight
137} // namespace Aws
void SetDataSourceId(DataSourceIdT &&value)
DataSourceSummary & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataSourceId() const
const Aws::Utils::DateTime & GetCreatedTime() const
DataSourceSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_QUICKSIGHT_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_QUICKSIGHT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithArn(ArnT &&value)
DataSourceSummary & WithDataSourceId(DataSourceIdT &&value)
DataSourceSummary & WithType(DataSourceType value)
AWS_QUICKSIGHT_API DataSourceSummary()=default
DataSourceSummary & WithCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue