AWS SDK for C++  1.9.175
AWS SDK for C++
DataSourceGroup.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace kendra
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetGroupId() const{ return m_groupId; }
46 
51  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
52 
57  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
58 
63  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
64 
69  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
70 
75  inline DataSourceGroup& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
76 
81  inline DataSourceGroup& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
82 
87  inline DataSourceGroup& WithGroupId(const char* value) { SetGroupId(value); return *this;}
88 
89 
95  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
96 
102  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
103 
109  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
110 
116  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
117 
123  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
124 
130  inline DataSourceGroup& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
131 
137  inline DataSourceGroup& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
138 
144  inline DataSourceGroup& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
145 
146  private:
147 
148  Aws::String m_groupId;
149  bool m_groupIdHasBeenSet;
150 
151  Aws::String m_dataSourceId;
152  bool m_dataSourceIdHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace kendra
157 } // namespace Aws
Aws::kendra::Model::DataSourceGroup::SetGroupId
void SetGroupId(const char *value)
Definition: DataSourceGroup.h:69
Aws::kendra::Model::DataSourceGroup::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: DataSourceGroup.h:102
Aws::kendra::Model::DataSourceGroup::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: DataSourceGroup.h:51
Aws::kendra::Model::DataSourceGroup::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DataSourceGroup.h:123
Aws::kendra::Model::DataSourceGroup::WithDataSourceId
DataSourceGroup & WithDataSourceId(Aws::String &&value)
Definition: DataSourceGroup.h:137
Aws::kendra::Model::DataSourceGroup::DataSourceGroup
DataSourceGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::kendra::Model::DataSourceGroup::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: DataSourceGroup.h:63
Aws::kendra::Model::DataSourceGroup::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DataSourceGroup.h:116
Kendra_EXPORTS.h
Aws::kendra::Model::DataSourceGroup::WithGroupId
DataSourceGroup & WithGroupId(const char *value)
Definition: DataSourceGroup.h:87
Aws::kendra::Model::DataSourceGroup::WithGroupId
DataSourceGroup & WithGroupId(const Aws::String &value)
Definition: DataSourceGroup.h:75
Aws::kendra::Model::DataSourceGroup::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: DataSourceGroup.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::kendra::Model::DataSourceGroup::operator=
DataSourceGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::kendra::Model::DataSourceGroup::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DataSourceGroup.h:109
Aws::kendra::Model::DataSourceGroup::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DataSourceGroup.h:95
Aws::kendra::Model::DataSourceGroup::WithDataSourceId
DataSourceGroup & WithDataSourceId(const char *value)
Definition: DataSourceGroup.h:144
Aws::kendra::Model::DataSourceGroup::DataSourceGroup
DataSourceGroup()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::DataSourceGroup::GetGroupId
const Aws::String & GetGroupId() const
Definition: DataSourceGroup.h:45
Aws::kendra::Model::DataSourceGroup::WithGroupId
DataSourceGroup & WithGroupId(Aws::String &&value)
Definition: DataSourceGroup.h:81
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::DataSourceGroup::WithDataSourceId
DataSourceGroup & WithDataSourceId(const Aws::String &value)
Definition: DataSourceGroup.h:130
Aws::kendra::Model::DataSourceGroup
Definition: DataSourceGroup.h:33
Aws::kendra::Model::DataSourceGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const