AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartReadSetActivationJobRequest.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/StartReadSetActivationJobSourceItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Omics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OMICS_API StartReadSetActivationJobRequest() = 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 "StartReadSetActivationJob"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetSequenceStoreId() const { return m_sequenceStoreId; }
42 inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; }
43 template<typename SequenceStoreIdT = Aws::String>
44 void SetSequenceStoreId(SequenceStoreIdT&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::forward<SequenceStoreIdT>(value); }
45 template<typename SequenceStoreIdT = Aws::String>
46 StartReadSetActivationJobRequest& WithSequenceStoreId(SequenceStoreIdT&& value) { SetSequenceStoreId(std::forward<SequenceStoreIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetClientToken() const { return m_clientToken; }
55 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
56 template<typename ClientTokenT = Aws::String>
57 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
58 template<typename ClientTokenT = Aws::String>
59 StartReadSetActivationJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
61
63
66 inline const Aws::Vector<StartReadSetActivationJobSourceItem>& GetSources() const { return m_sources; }
67 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
68 template<typename SourcesT = Aws::Vector<StartReadSetActivationJobSourceItem>>
69 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
70 template<typename SourcesT = Aws::Vector<StartReadSetActivationJobSourceItem>>
71 StartReadSetActivationJobRequest& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
72 template<typename SourcesT = StartReadSetActivationJobSourceItem>
73 StartReadSetActivationJobRequest& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
75 private:
76
77 Aws::String m_sequenceStoreId;
78 bool m_sequenceStoreIdHasBeenSet = false;
79
80 Aws::String m_clientToken;
81 bool m_clientTokenHasBeenSet = false;
82
84 bool m_sourcesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Omics
89} // namespace Aws
StartReadSetActivationJobRequest & WithClientToken(ClientTokenT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
StartReadSetActivationJobRequest & AddSources(SourcesT &&value)
StartReadSetActivationJobRequest & WithSequenceStoreId(SequenceStoreIdT &&value)
StartReadSetActivationJobRequest & WithSources(SourcesT &&value)
const Aws::Vector< StartReadSetActivationJobSourceItem > & GetSources() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector