AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
43 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
44 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
45 inline CreateIngestionRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
46 inline CreateIngestionRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
47 inline CreateIngestionRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
49
51
54 inline const Aws::String& GetIngestionId() const{ return m_ingestionId; }
55 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
56 inline void SetIngestionId(const Aws::String& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = value; }
57 inline void SetIngestionId(Aws::String&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::move(value); }
58 inline void SetIngestionId(const char* value) { m_ingestionIdHasBeenSet = true; m_ingestionId.assign(value); }
59 inline CreateIngestionRequest& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;}
60 inline CreateIngestionRequest& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;}
61 inline CreateIngestionRequest& WithIngestionId(const char* value) { SetIngestionId(value); return *this;}
63
65
68 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
69 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
70 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
71 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
72 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
73 inline CreateIngestionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
74 inline CreateIngestionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
75 inline CreateIngestionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
77
79
82 inline const IngestionType& GetIngestionType() const{ return m_ingestionType; }
83 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
84 inline void SetIngestionType(const IngestionType& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; }
85 inline void SetIngestionType(IngestionType&& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = std::move(value); }
86 inline CreateIngestionRequest& WithIngestionType(const IngestionType& value) { SetIngestionType(value); return *this;}
87 inline CreateIngestionRequest& WithIngestionType(IngestionType&& value) { SetIngestionType(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_dataSetId;
92 bool m_dataSetIdHasBeenSet = false;
93
94 Aws::String m_ingestionId;
95 bool m_ingestionIdHasBeenSet = false;
96
97 Aws::String m_awsAccountId;
98 bool m_awsAccountIdHasBeenSet = false;
99
100 IngestionType m_ingestionType;
101 bool m_ingestionTypeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
CreateIngestionRequest & WithDataSetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateIngestionRequest & WithIngestionType(const IngestionType &value)
CreateIngestionRequest & WithDataSetId(Aws::String &&value)
CreateIngestionRequest & WithIngestionId(Aws::String &&value)
CreateIngestionRequest & WithAwsAccountId(const char *value)
CreateIngestionRequest & WithAwsAccountId(const Aws::String &value)
CreateIngestionRequest & WithIngestionId(const char *value)
CreateIngestionRequest & WithDataSetId(const char *value)
CreateIngestionRequest & WithIngestionType(IngestionType &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateIngestionRequest & WithAwsAccountId(Aws::String &&value)
CreateIngestionRequest & WithIngestionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String