AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetIndexRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QBusiness {
15namespace Model {
16
20 public:
21 AWS_QBUSINESS_API GetIndexRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetIndex"; }
28
29 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
37 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
38 template <typename ApplicationIdT = Aws::String>
40 m_applicationIdHasBeenSet = true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
42 }
43 template <typename ApplicationIdT = Aws::String>
45 SetApplicationId(std::forward<ApplicationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetIndexId() const { return m_indexId; }
55 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
56 template <typename IndexIdT = Aws::String>
57 void SetIndexId(IndexIdT&& value) {
58 m_indexIdHasBeenSet = true;
59 m_indexId = std::forward<IndexIdT>(value);
60 }
61 template <typename IndexIdT = Aws::String>
63 SetIndexId(std::forward<IndexIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_applicationId;
69 bool m_applicationIdHasBeenSet = false;
70
71 Aws::String m_indexId;
72 bool m_indexIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace QBusiness
77} // namespace Aws
const Aws::String & GetApplicationId() const
AWS_QBUSINESS_API GetIndexRequest()=default
GetIndexRequest & WithIndexId(IndexIdT &&value)
GetIndexRequest & WithApplicationId(ApplicationIdT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetIndexId() const
virtual const char * GetServiceRequestName() const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String