AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; }
44 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); }
45 inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); }
47 inline StartReferenceImportJobRequest& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
48 inline StartReferenceImportJobRequest& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
50
52
55 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
56 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
57 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
58 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
59 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
60 inline StartReferenceImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
61 inline StartReferenceImportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
62 inline StartReferenceImportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
64
66
70 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
71 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
72 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
73 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
74 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
75 inline StartReferenceImportJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
76 inline StartReferenceImportJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
77 inline StartReferenceImportJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
79
81
84 inline const Aws::Vector<StartReferenceImportJobSourceItem>& GetSources() const{ return m_sources; }
85 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
86 inline void SetSources(const Aws::Vector<StartReferenceImportJobSourceItem>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
87 inline void SetSources(Aws::Vector<StartReferenceImportJobSourceItem>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
90 inline StartReferenceImportJobRequest& AddSources(const StartReferenceImportJobSourceItem& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
91 inline StartReferenceImportJobRequest& AddSources(StartReferenceImportJobSourceItem&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
93 private:
94
95 Aws::String m_referenceStoreId;
96 bool m_referenceStoreIdHasBeenSet = false;
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 Aws::String m_clientToken;
102 bool m_clientTokenHasBeenSet = false;
103
105 bool m_sourcesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Omics
110} // namespace Aws
StartReferenceImportJobRequest & WithRoleArn(Aws::String &&value)
StartReferenceImportJobRequest & WithClientToken(Aws::String &&value)
StartReferenceImportJobRequest & WithClientToken(const char *value)
StartReferenceImportJobRequest & WithReferenceStoreId(const char *value)
StartReferenceImportJobRequest & WithSources(const Aws::Vector< StartReferenceImportJobSourceItem > &value)
StartReferenceImportJobRequest & AddSources(const StartReferenceImportJobSourceItem &value)
AWS_OMICS_API Aws::String SerializePayload() const override
StartReferenceImportJobRequest & WithRoleArn(const Aws::String &value)
void SetSources(Aws::Vector< StartReferenceImportJobSourceItem > &&value)
StartReferenceImportJobRequest & WithRoleArn(const char *value)
const Aws::Vector< StartReferenceImportJobSourceItem > & GetSources() const
void SetSources(const Aws::Vector< StartReferenceImportJobSourceItem > &value)
StartReferenceImportJobRequest & WithSources(Aws::Vector< StartReferenceImportJobSourceItem > &&value)
StartReferenceImportJobRequest & AddSources(StartReferenceImportJobSourceItem &&value)
StartReferenceImportJobRequest & WithClientToken(const Aws::String &value)
StartReferenceImportJobRequest & WithReferenceStoreId(const Aws::String &value)
StartReferenceImportJobRequest & WithReferenceStoreId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector