AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteGroupRequest.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 DeleteGroupRequest();
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 "DeleteGroup"; }
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 DeleteGroupRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline DeleteGroupRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline DeleteGroupRequest& 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 DeleteGroupRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
65 inline DeleteGroupRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
66 inline DeleteGroupRequest& 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 DeleteGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
79 inline DeleteGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
80 inline DeleteGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
82
84
94 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
95 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
96 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
97 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
98 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
99 inline DeleteGroupRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
100 inline DeleteGroupRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
101 inline DeleteGroupRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
103 private:
104
105 Aws::String m_applicationId;
106 bool m_applicationIdHasBeenSet = false;
107
108 Aws::String m_indexId;
109 bool m_indexIdHasBeenSet = false;
110
111 Aws::String m_groupName;
112 bool m_groupNameHasBeenSet = false;
113
114 Aws::String m_dataSourceId;
115 bool m_dataSourceIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace QBusiness
120} // namespace Aws
AWS_QBUSINESS_API Aws::String SerializePayload() const override
DeleteGroupRequest & WithIndexId(const char *value)
void SetIndexId(const Aws::String &value)
void SetApplicationId(const Aws::String &value)
DeleteGroupRequest & WithDataSourceId(Aws::String &&value)
DeleteGroupRequest & WithDataSourceId(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteGroupRequest & WithGroupName(const char *value)
DeleteGroupRequest & WithGroupName(const Aws::String &value)
const Aws::String & GetApplicationId() const
DeleteGroupRequest & WithApplicationId(Aws::String &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteGroupRequest & WithApplicationId(const char *value)
DeleteGroupRequest & WithDataSourceId(const Aws::String &value)
const Aws::String & GetDataSourceId() const
DeleteGroupRequest & WithApplicationId(const Aws::String &value)
DeleteGroupRequest & WithGroupName(Aws::String &&value)
DeleteGroupRequest & WithIndexId(const Aws::String &value)
void SetGroupName(const Aws::String &value)
void SetDataSourceId(const Aws::String &value)
DeleteGroupRequest & WithIndexId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String