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/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appfabric/model/IngestionType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/appfabric/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace AppFabric
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPFABRIC_API CreateIngestionRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateIngestion"; }
35
36 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetAppBundleIdentifier() const{ return m_appBundleIdentifier; }
45 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
46 inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; }
47 inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); }
48 inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); }
50 inline CreateIngestionRequest& WithAppBundleIdentifier(Aws::String&& value) { SetAppBundleIdentifier(std::move(value)); return *this;}
51 inline CreateIngestionRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;}
53
55
65 inline const Aws::String& GetApp() const{ return m_app; }
66 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
67 inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; }
68 inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); }
69 inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); }
70 inline CreateIngestionRequest& WithApp(const Aws::String& value) { SetApp(value); return *this;}
71 inline CreateIngestionRequest& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;}
72 inline CreateIngestionRequest& WithApp(const char* value) { SetApp(value); return *this;}
74
76
79 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
80 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
81 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
82 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
83 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
84 inline CreateIngestionRequest& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
85 inline CreateIngestionRequest& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
86 inline CreateIngestionRequest& WithTenantId(const char* value) { SetTenantId(value); return *this;}
88
90
93 inline const IngestionType& GetIngestionType() const{ return m_ingestionType; }
94 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
95 inline void SetIngestionType(const IngestionType& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; }
96 inline void SetIngestionType(IngestionType&& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = std::move(value); }
97 inline CreateIngestionRequest& WithIngestionType(const IngestionType& value) { SetIngestionType(value); return *this;}
98 inline CreateIngestionRequest& WithIngestionType(IngestionType&& value) { SetIngestionType(std::move(value)); return *this;}
100
102
114 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
115 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
116 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
117 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
118 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
119 inline CreateIngestionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
120 inline CreateIngestionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
121 inline CreateIngestionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
123
125
129 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline CreateIngestionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
134 inline CreateIngestionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
135 inline CreateIngestionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
136 inline CreateIngestionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
138 private:
139
140 Aws::String m_appBundleIdentifier;
141 bool m_appBundleIdentifierHasBeenSet = false;
142
143 Aws::String m_app;
144 bool m_appHasBeenSet = false;
145
146 Aws::String m_tenantId;
147 bool m_tenantIdHasBeenSet = false;
148
149 IngestionType m_ingestionType;
150 bool m_ingestionTypeHasBeenSet = false;
151
152 Aws::String m_clientToken;
153 bool m_clientTokenHasBeenSet = false;
154
155 Aws::Vector<Tag> m_tags;
156 bool m_tagsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace AppFabric
161} // namespace Aws
CreateIngestionRequest & WithTenantId(const Aws::String &value)
CreateIngestionRequest & WithClientToken(const Aws::String &value)
CreateIngestionRequest & WithIngestionType(const IngestionType &value)
CreateIngestionRequest & WithAppBundleIdentifier(const char *value)
CreateIngestionRequest & AddTags(const Tag &value)
CreateIngestionRequest & WithTenantId(const char *value)
CreateIngestionRequest & WithIngestionType(IngestionType &&value)
CreateIngestionRequest & WithApp(Aws::String &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
CreateIngestionRequest & WithTenantId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateIngestionRequest & WithAppBundleIdentifier(const Aws::String &value)
CreateIngestionRequest & WithAppBundleIdentifier(Aws::String &&value)
CreateIngestionRequest & WithClientToken(const char *value)
CreateIngestionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetIngestionType(const IngestionType &value)
CreateIngestionRequest & WithApp(const char *value)
CreateIngestionRequest & WithApp(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateIngestionRequest & AddTags(Tag &&value)
void SetAppBundleIdentifier(const Aws::String &value)
CreateIngestionRequest & WithClientToken(Aws::String &&value)
CreateIngestionRequest & WithTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector