AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DeleteAnnotationStoreVersionsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DeleteAnnotationStoreVersionsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DeleteAnnotationStoreVersionsRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetVersions() const{ return m_versions; }
61 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
62 inline void SetVersions(const Aws::Vector<Aws::String>& value) { m_versionsHasBeenSet = true; m_versions = value; }
63 inline void SetVersions(Aws::Vector<Aws::String>&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); }
66 inline DeleteAnnotationStoreVersionsRequest& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
67 inline DeleteAnnotationStoreVersionsRequest& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; }
68 inline DeleteAnnotationStoreVersionsRequest& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
70
72
76 inline bool GetForce() const{ return m_force; }
77 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
78 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
79 inline DeleteAnnotationStoreVersionsRequest& WithForce(bool value) { SetForce(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_versions;
87 bool m_versionsHasBeenSet = false;
88
89 bool m_force;
90 bool m_forceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Omics
95} // namespace Aws
DeleteAnnotationStoreVersionsRequest & AddVersions(const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAnnotationStoreVersionsRequest & WithVersions(const Aws::Vector< Aws::String > &value)
DeleteAnnotationStoreVersionsRequest & AddVersions(Aws::String &&value)
DeleteAnnotationStoreVersionsRequest & WithName(const char *value)
DeleteAnnotationStoreVersionsRequest & WithName(Aws::String &&value)
DeleteAnnotationStoreVersionsRequest & WithName(const Aws::String &value)
DeleteAnnotationStoreVersionsRequest & WithVersions(Aws::Vector< Aws::String > &&value)
DeleteAnnotationStoreVersionsRequest & AddVersions(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector