AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIngestionRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/IngestionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API CreateIngestionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateIngestion"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
41 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
42 template<typename DataSetIdT = Aws::String>
43 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::forward<DataSetIdT>(value); }
44 template<typename DataSetIdT = Aws::String>
45 CreateIngestionRequest& WithDataSetId(DataSetIdT&& value) { SetDataSetId(std::forward<DataSetIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
53 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
54 template<typename IngestionIdT = Aws::String>
55 void SetIngestionId(IngestionIdT&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::forward<IngestionIdT>(value); }
56 template<typename IngestionIdT = Aws::String>
57 CreateIngestionRequest& WithIngestionId(IngestionIdT&& value) { SetIngestionId(std::forward<IngestionIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
65 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
66 template<typename AwsAccountIdT = Aws::String>
67 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
68 template<typename AwsAccountIdT = Aws::String>
69 CreateIngestionRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
71
73
76 inline IngestionType GetIngestionType() const { return m_ingestionType; }
77 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
78 inline void SetIngestionType(IngestionType value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; }
81 private:
82
83 Aws::String m_dataSetId;
84 bool m_dataSetIdHasBeenSet = false;
85
86 Aws::String m_ingestionId;
87 bool m_ingestionIdHasBeenSet = false;
88
89 Aws::String m_awsAccountId;
90 bool m_awsAccountIdHasBeenSet = false;
91
93 bool m_ingestionTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // 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