AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline DataSourceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DataSourceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DataSourceSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
62 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
63 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
64 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
65 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
66 inline DataSourceSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
67 inline DataSourceSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
68 inline DataSourceSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline DataSourceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline DataSourceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline DataSourceSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const DataSourceType& GetType() const{ return m_type; }
90 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
91 inline void SetType(const DataSourceType& value) { m_typeHasBeenSet = true; m_type = value; }
92 inline void SetType(DataSourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
93 inline DataSourceSummary& WithType(const DataSourceType& value) { SetType(value); return *this;}
94 inline DataSourceSummary& WithType(DataSourceType&& value) { SetType(std::move(value)); return *this;}
96
98
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 DataSourceSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
107 inline DataSourceSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
116 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
117 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
118 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
120 inline DataSourceSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 Aws::String m_dataSourceId;
128 bool m_dataSourceIdHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 DataSourceType m_type;
134 bool m_typeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_createdTime;
137 bool m_createdTimeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastUpdatedTime;
140 bool m_lastUpdatedTimeHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QuickSight
145} // namespace Aws
void SetArn(const Aws::String &value)
DataSourceSummary & WithArn(Aws::String &&value)
void SetDataSourceId(const Aws::String &value)
DataSourceSummary & WithType(const DataSourceType &value)
DataSourceSummary & WithArn(const char *value)
DataSourceSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
DataSourceSummary & WithDataSourceId(const Aws::String &value)
DataSourceSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithName(const Aws::String &value)
const Aws::String & GetDataSourceId() const
const Aws::Utils::DateTime & GetCreatedTime() const
DataSourceSummary & WithType(DataSourceType &&value)
const DataSourceType & GetType() const
AWS_QUICKSIGHT_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DataSourceSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetType(const DataSourceType &value)
AWS_QUICKSIGHT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithArn(const Aws::String &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
DataSourceSummary & WithDataSourceId(const char *value)
void SetName(const Aws::String &value)
DataSourceSummary & WithName(Aws::String &&value)
DataSourceSummary & WithDataSourceId(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
DataSourceSummary & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue