AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGroupRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QBusiness
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QBUSINESS_API GetGroupRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetGroup"; }
35
36 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
37
38 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline GetGroupRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline GetGroupRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline GetGroupRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
59 inline const Aws::String& GetIndexId() const{ return m_indexId; }
60 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
61 inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
62 inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
63 inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
64 inline GetGroupRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
65 inline GetGroupRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
66 inline GetGroupRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
68
70
73 inline const Aws::String& GetGroupName() const{ return m_groupName; }
74 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
75 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
76 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
77 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
78 inline GetGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
79 inline GetGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
80 inline GetGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
82
84
87 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
88 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
89 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
90 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
91 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
92 inline GetGroupRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
93 inline GetGroupRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
94 inline GetGroupRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
96 private:
97
98 Aws::String m_applicationId;
99 bool m_applicationIdHasBeenSet = false;
100
101 Aws::String m_indexId;
102 bool m_indexIdHasBeenSet = false;
103
104 Aws::String m_groupName;
105 bool m_groupNameHasBeenSet = false;
106
107 Aws::String m_dataSourceId;
108 bool m_dataSourceIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QBusiness
113} // namespace Aws
GetGroupRequest & WithDataSourceId(const Aws::String &value)
GetGroupRequest & WithIndexId(Aws::String &&value)
void SetApplicationId(Aws::String &&value)
GetGroupRequest & WithGroupName(Aws::String &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetDataSourceId(const Aws::String &value)
GetGroupRequest & WithDataSourceId(const char *value)
const Aws::String & GetDataSourceId() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetDataSourceId(Aws::String &&value)
const Aws::String & GetIndexId() const
void SetApplicationId(const Aws::String &value)
GetGroupRequest & WithApplicationId(const Aws::String &value)
void SetIndexId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDataSourceId(const char *value)
const Aws::String & GetGroupName() const
void SetGroupName(const Aws::String &value)
GetGroupRequest & WithDataSourceId(Aws::String &&value)
void SetApplicationId(const char *value)
GetGroupRequest & WithIndexId(const char *value)
GetGroupRequest & WithGroupName(const Aws::String &value)
void SetGroupName(Aws::String &&value)
GetGroupRequest & WithApplicationId(const char *value)
GetGroupRequest & WithIndexId(const Aws::String &value)
GetGroupRequest & WithGroupName(const char *value)
void SetIndexId(Aws::String &&value)
GetGroupRequest & WithApplicationId(Aws::String &&value)
const Aws::String & GetApplicationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String