AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteAnnotationStoreVersionsRequest.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 <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Omics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OMICS_API DeleteAnnotationStoreVersionsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteAnnotationStoreVersions"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 DeleteAnnotationStoreVersionsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetVersions() const { return m_versions; }
59 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
60 template<typename VersionsT = Aws::Vector<Aws::String>>
61 void SetVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions = std::forward<VersionsT>(value); }
62 template<typename VersionsT = Aws::Vector<Aws::String>>
63 DeleteAnnotationStoreVersionsRequest& WithVersions(VersionsT&& value) { SetVersions(std::forward<VersionsT>(value)); return *this;}
64 template<typename VersionsT = Aws::String>
65 DeleteAnnotationStoreVersionsRequest& AddVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions.emplace_back(std::forward<VersionsT>(value)); return *this; }
67
69
73 inline bool GetForce() const { return m_force; }
74 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
75 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
76 inline DeleteAnnotationStoreVersionsRequest& WithForce(bool value) { SetForce(value); return *this;}
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_versions;
84 bool m_versionsHasBeenSet = false;
85
86 bool m_force{false};
87 bool m_forceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Omics
92} // namespace Aws
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAnnotationStoreVersionsRequest & AddVersions(VersionsT &&value)
DeleteAnnotationStoreVersionsRequest & WithName(NameT &&value)
DeleteAnnotationStoreVersionsRequest & WithVersions(VersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector