AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAnnotationStoreVersionRequest.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/omics/model/VersionOptions.h>
11#include <aws/core/utils/memory/stl/AWSMap.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 "CreateAnnotationStoreVersion"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateAnnotationStoreVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateAnnotationStoreVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateAnnotationStoreVersionRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
57 inline const Aws::String& GetVersionName() const{ return m_versionName; }
58 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
59 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
60 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
61 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
63 inline CreateAnnotationStoreVersionRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
64 inline CreateAnnotationStoreVersionRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CreateAnnotationStoreVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CreateAnnotationStoreVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const VersionOptions& GetVersionOptions() const{ return m_versionOptions; }
86 inline bool VersionOptionsHasBeenSet() const { return m_versionOptionsHasBeenSet; }
87 inline void SetVersionOptions(const VersionOptions& value) { m_versionOptionsHasBeenSet = true; m_versionOptions = value; }
88 inline void SetVersionOptions(VersionOptions&& value) { m_versionOptionsHasBeenSet = true; m_versionOptions = std::move(value); }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
103 inline CreateAnnotationStoreVersionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
104 inline CreateAnnotationStoreVersionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
105 inline CreateAnnotationStoreVersionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
106 inline CreateAnnotationStoreVersionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
107 inline CreateAnnotationStoreVersionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
108 inline CreateAnnotationStoreVersionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
109 inline CreateAnnotationStoreVersionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_versionName;
117 bool m_versionNameHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 VersionOptions m_versionOptions;
123 bool m_versionOptionsHasBeenSet = false;
124
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Omics
131} // namespace Aws
CreateAnnotationStoreVersionRequest & AddTags(Aws::String &&key, const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateAnnotationStoreVersionRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAnnotationStoreVersionRequest & WithName(Aws::String &&value)
CreateAnnotationStoreVersionRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAnnotationStoreVersionRequest & WithVersionName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAnnotationStoreVersionRequest & WithVersionOptions(VersionOptions &&value)
CreateAnnotationStoreVersionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAnnotationStoreVersionRequest & AddTags(const char *key, const char *value)
CreateAnnotationStoreVersionRequest & WithName(const char *value)
CreateAnnotationStoreVersionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAnnotationStoreVersionRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAnnotationStoreVersionRequest & WithVersionName(const char *value)
CreateAnnotationStoreVersionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAnnotationStoreVersionRequest & WithDescription(const Aws::String &value)
CreateAnnotationStoreVersionRequest & WithDescription(Aws::String &&value)
CreateAnnotationStoreVersionRequest & WithVersionName(const Aws::String &value)
CreateAnnotationStoreVersionRequest & AddTags(const char *key, Aws::String &&value)
CreateAnnotationStoreVersionRequest & WithVersionOptions(const VersionOptions &value)
CreateAnnotationStoreVersionRequest & WithName(const Aws::String &value)
CreateAnnotationStoreVersionRequest & WithDescription(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String