AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartDataSourceRunRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API StartDataSourceRunRequest() = 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 "StartDataSourceRun"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetClientToken() const { return m_clientToken; }
38 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
39 template <typename ClientTokenT = Aws::String>
40 void SetClientToken(ClientTokenT&& value) {
41 m_clientTokenHasBeenSet = true;
42 m_clientToken = std::forward<ClientTokenT>(value);
43 }
44 template <typename ClientTokenT = Aws::String>
46 SetClientToken(std::forward<ClientTokenT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDataSourceIdentifier() const { return m_dataSourceIdentifier; }
56 inline bool DataSourceIdentifierHasBeenSet() const { return m_dataSourceIdentifierHasBeenSet; }
57 template <typename DataSourceIdentifierT = Aws::String>
58 void SetDataSourceIdentifier(DataSourceIdentifierT&& value) {
59 m_dataSourceIdentifierHasBeenSet = true;
60 m_dataSourceIdentifier = std::forward<DataSourceIdentifierT>(value);
61 }
62 template <typename DataSourceIdentifierT = Aws::String>
63 StartDataSourceRunRequest& WithDataSourceIdentifier(DataSourceIdentifierT&& value) {
64 SetDataSourceIdentifier(std::forward<DataSourceIdentifierT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
75 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
76 template <typename DomainIdentifierT = Aws::String>
77 void SetDomainIdentifier(DomainIdentifierT&& value) {
78 m_domainIdentifierHasBeenSet = true;
79 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
80 }
81 template <typename DomainIdentifierT = Aws::String>
82 StartDataSourceRunRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
83 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
84 return *this;
85 }
87 private:
89 bool m_clientTokenHasBeenSet = true;
90
91 Aws::String m_dataSourceIdentifier;
92 bool m_dataSourceIdentifierHasBeenSet = false;
93
94 Aws::String m_domainIdentifier;
95 bool m_domainIdentifierHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
StartDataSourceRunRequest & WithClientToken(ClientTokenT &&value)
AWS_DATAZONE_API StartDataSourceRunRequest()=default
StartDataSourceRunRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
StartDataSourceRunRequest & WithDataSourceIdentifier(DataSourceIdentifierT &&value)
void SetDataSourceIdentifier(DataSourceIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String