AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
BatchDeleteKnowledgeBaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API BatchDeleteKnowledgeBaseRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteKnowledgeBase"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Aws::String>& GetKnowledgeBaseIds() const { return m_knowledgeBaseIds; }
56 inline bool KnowledgeBaseIdsHasBeenSet() const { return m_knowledgeBaseIdsHasBeenSet; }
57 template <typename KnowledgeBaseIdsT = Aws::Vector<Aws::String>>
58 void SetKnowledgeBaseIds(KnowledgeBaseIdsT&& value) {
59 m_knowledgeBaseIdsHasBeenSet = true;
60 m_knowledgeBaseIds = std::forward<KnowledgeBaseIdsT>(value);
61 }
62 template <typename KnowledgeBaseIdsT = Aws::Vector<Aws::String>>
64 SetKnowledgeBaseIds(std::forward<KnowledgeBaseIdsT>(value));
65 return *this;
66 }
67 template <typename KnowledgeBaseIdsT = Aws::String>
69 m_knowledgeBaseIdsHasBeenSet = true;
70 m_knowledgeBaseIds.emplace_back(std::forward<KnowledgeBaseIdsT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_awsAccountId;
76
77 Aws::Vector<Aws::String> m_knowledgeBaseIds;
78 bool m_awsAccountIdHasBeenSet = false;
79 bool m_knowledgeBaseIdsHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace QuickSight
84} // namespace Aws
BatchDeleteKnowledgeBaseRequest & AddKnowledgeBaseIds(KnowledgeBaseIdsT &&value)
AWS_QUICKSIGHT_API BatchDeleteKnowledgeBaseRequest()=default
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
BatchDeleteKnowledgeBaseRequest & WithAwsAccountId(AwsAccountIdT &&value)
BatchDeleteKnowledgeBaseRequest & WithKnowledgeBaseIds(KnowledgeBaseIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector