AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
CreateRunGroupResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Omics {
23namespace Model {
25 public:
26 AWS_OMICS_API CreateRunGroupResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetId() const { return m_id; }
52 template <typename IdT = Aws::String>
53 void SetId(IdT&& value) {
54 m_idHasBeenSet = true;
55 m_id = std::forward<IdT>(value);
56 }
57 template <typename IdT = Aws::String>
59 SetId(std::forward<IdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
69 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 void SetTags(TagsT&& value) {
71 m_tagsHasBeenSet = true;
72 m_tags = std::forward<TagsT>(value);
73 }
74 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 SetTags(std::forward<TagsT>(value));
77 return *this;
78 }
79 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
80 CreateRunGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
81 m_tagsHasBeenSet = true;
82 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
96 CreateRunGroupResult& WithRequestId(RequestIdT&& value) {
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_arn;
103
104 Aws::String m_id;
105
107
108 Aws::String m_requestId;
109 bool m_arnHasBeenSet = false;
110 bool m_idHasBeenSet = false;
111 bool m_tagsHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Omics
117} // 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
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