AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CancelIngestionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API CancelIngestionRequest() = 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 "CancelIngestion"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
36 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
37 template <typename AwsAccountIdT = Aws::String>
38 void SetAwsAccountId(AwsAccountIdT&& value) {
39 m_awsAccountIdHasBeenSet = true;
40 m_awsAccountId = std::forward<AwsAccountIdT>(value);
41 }
42 template <typename AwsAccountIdT = Aws::String>
43 CancelIngestionRequest& WithAwsAccountId(AwsAccountIdT&& value) {
44 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
54 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
55 template <typename DataSetIdT = Aws::String>
56 void SetDataSetId(DataSetIdT&& value) {
57 m_dataSetIdHasBeenSet = true;
58 m_dataSetId = std::forward<DataSetIdT>(value);
59 }
60 template <typename DataSetIdT = Aws::String>
62 SetDataSetId(std::forward<DataSetIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
72 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
73 template <typename IngestionIdT = Aws::String>
74 void SetIngestionId(IngestionIdT&& value) {
75 m_ingestionIdHasBeenSet = true;
76 m_ingestionId = std::forward<IngestionIdT>(value);
77 }
78 template <typename IngestionIdT = Aws::String>
79 CancelIngestionRequest& WithIngestionId(IngestionIdT&& value) {
80 SetIngestionId(std::forward<IngestionIdT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_awsAccountId;
86
87 Aws::String m_dataSetId;
88
89 Aws::String m_ingestionId;
90 bool m_awsAccountIdHasBeenSet = false;
91 bool m_dataSetIdHasBeenSet = false;
92 bool m_ingestionIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
CancelIngestionRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CancelIngestionRequest & WithIngestionId(IngestionIdT &&value)
AWS_QUICKSIGHT_API CancelIngestionRequest()=default
CancelIngestionRequest & WithDataSetId(DataSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String