AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateIngestionRequest.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#include <aws/quicksight/model/IngestionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API CreateIngestionRequest() = 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 "CreateIngestion"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
37 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
38 template <typename DataSetIdT = Aws::String>
39 void SetDataSetId(DataSetIdT&& value) {
40 m_dataSetIdHasBeenSet = true;
41 m_dataSetId = std::forward<DataSetIdT>(value);
42 }
43 template <typename DataSetIdT = Aws::String>
45 SetDataSetId(std::forward<DataSetIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
55 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
56 template <typename IngestionIdT = Aws::String>
57 void SetIngestionId(IngestionIdT&& value) {
58 m_ingestionIdHasBeenSet = true;
59 m_ingestionId = std::forward<IngestionIdT>(value);
60 }
61 template <typename IngestionIdT = Aws::String>
62 CreateIngestionRequest& WithIngestionId(IngestionIdT&& value) {
63 SetIngestionId(std::forward<IngestionIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
73 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
74 template <typename AwsAccountIdT = Aws::String>
75 void SetAwsAccountId(AwsAccountIdT&& value) {
76 m_awsAccountIdHasBeenSet = true;
77 m_awsAccountId = std::forward<AwsAccountIdT>(value);
78 }
79 template <typename AwsAccountIdT = Aws::String>
80 CreateIngestionRequest& WithAwsAccountId(AwsAccountIdT&& value) {
81 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
82 return *this;
83 }
85
87
90 inline IngestionType GetIngestionType() const { return m_ingestionType; }
91 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
92 inline void SetIngestionType(IngestionType value) {
93 m_ingestionTypeHasBeenSet = true;
94 m_ingestionType = value;
95 }
97 SetIngestionType(value);
98 return *this;
99 }
101 private:
102 Aws::String m_dataSetId;
103
104 Aws::String m_ingestionId;
105
106 Aws::String m_awsAccountId;
107
108 IngestionType m_ingestionType{IngestionType::NOT_SET};
109 bool m_dataSetIdHasBeenSet = false;
110 bool m_ingestionIdHasBeenSet = false;
111 bool m_awsAccountIdHasBeenSet = false;
112 bool m_ingestionTypeHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateIngestionRequest & WithIngestionId(IngestionIdT &&value)
CreateIngestionRequest & WithIngestionType(IngestionType value)
CreateIngestionRequest & WithDataSetId(DataSetIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateIngestionRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API CreateIngestionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String