AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartReferenceImportJobRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/model/StartReferenceImportJobSourceItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Omics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OMICS_API StartReferenceImportJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartReferenceImportJob"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetReferenceStoreId() const { return m_referenceStoreId; }
42 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
43 template<typename ReferenceStoreIdT = Aws::String>
44 void SetReferenceStoreId(ReferenceStoreIdT&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::forward<ReferenceStoreIdT>(value); }
45 template<typename ReferenceStoreIdT = Aws::String>
46 StartReferenceImportJobRequest& WithReferenceStoreId(ReferenceStoreIdT&& value) { SetReferenceStoreId(std::forward<ReferenceStoreIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
54 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
55 template<typename RoleArnT = Aws::String>
56 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
57 template<typename RoleArnT = Aws::String>
58 StartReferenceImportJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
60
62
66 inline const Aws::String& GetClientToken() const { return m_clientToken; }
67 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
68 template<typename ClientTokenT = Aws::String>
69 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
70 template<typename ClientTokenT = Aws::String>
71 StartReferenceImportJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
73
75
78 inline const Aws::Vector<StartReferenceImportJobSourceItem>& GetSources() const { return m_sources; }
79 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
80 template<typename SourcesT = Aws::Vector<StartReferenceImportJobSourceItem>>
81 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
82 template<typename SourcesT = Aws::Vector<StartReferenceImportJobSourceItem>>
83 StartReferenceImportJobRequest& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
84 template<typename SourcesT = StartReferenceImportJobSourceItem>
85 StartReferenceImportJobRequest& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
87 private:
88
89 Aws::String m_referenceStoreId;
90 bool m_referenceStoreIdHasBeenSet = false;
91
92 Aws::String m_roleArn;
93 bool m_roleArnHasBeenSet = false;
94
95 Aws::String m_clientToken;
96 bool m_clientTokenHasBeenSet = false;
97
99 bool m_sourcesHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Omics
104} // namespace Aws
StartReferenceImportJobRequest & AddSources(SourcesT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
const Aws::Vector< StartReferenceImportJobSourceItem > & GetSources() const
StartReferenceImportJobRequest & WithClientToken(ClientTokenT &&value)
StartReferenceImportJobRequest & WithSources(SourcesT &&value)
StartReferenceImportJobRequest & WithReferenceStoreId(ReferenceStoreIdT &&value)
AWS_OMICS_API StartReferenceImportJobRequest()=default
StartReferenceImportJobRequest & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector