AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateRunGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Omics {
24namespace Model {
26 public:
27 AWS_OMICS_API CreateRunGroupResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
70 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
71 void SetTags(TagsT&& value) {
72 m_tagsHasBeenSet = true;
73 m_tags = std::forward<TagsT>(value);
74 }
75 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 SetTags(std::forward<TagsT>(value));
78 return *this;
79 }
80 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
81 CreateRunGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
82 m_tagsHasBeenSet = true;
83 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
97 CreateRunGroupResult& WithRequestId(RequestIdT&& value) {
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::String m_arn;
106
107 Aws::String m_id;
108
110
111 Aws::String m_requestId;
112 Aws::Http::HttpResponseCode m_HttpResponseCode;
113 bool m_arnHasBeenSet = false;
114 bool m_idHasBeenSet = false;
115 bool m_tagsHasBeenSet = false;
116 bool m_requestIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Omics
121} // namespace Aws
AWS_OMICS_API CreateRunGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRunGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRunGroupResult & WithArn(ArnT &&value)
AWS_OMICS_API CreateRunGroupResult()=default
CreateRunGroupResult & WithId(IdT &&value)
AWS_OMICS_API CreateRunGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRunGroupResult & WithRequestId(RequestIdT &&value)
CreateRunGroupResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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
Aws::Utils::Json::JsonValue JsonValue