AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkflowResult.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/WorkflowStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OMICS_API CreateWorkflowResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline CreateWorkflowResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreateWorkflowResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreateWorkflowResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline void SetId(const Aws::String& value) { m_id = value; }
56 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
57 inline void SetId(const char* value) { m_id.assign(value); }
58 inline CreateWorkflowResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline CreateWorkflowResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline CreateWorkflowResult& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const WorkflowStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const WorkflowStatus& value) { m_status = value; }
69 inline void SetStatus(WorkflowStatus&& value) { m_status = std::move(value); }
70 inline CreateWorkflowResult& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
71 inline CreateWorkflowResult& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
79 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
80 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
81 inline CreateWorkflowResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
82 inline CreateWorkflowResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
83 inline CreateWorkflowResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
84 inline CreateWorkflowResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
85 inline CreateWorkflowResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
86 inline CreateWorkflowResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
87 inline CreateWorkflowResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
88 inline CreateWorkflowResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
89 inline CreateWorkflowResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline CreateWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline CreateWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline CreateWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_arn;
105
106 Aws::String m_id;
107
108 WorkflowStatus m_status;
109
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace Omics
117} // namespace Aws
CreateWorkflowResult & AddTags(const char *key, Aws::String &&value)
AWS_OMICS_API CreateWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowResult & WithArn(const Aws::String &value)
CreateWorkflowResult & WithArn(const char *value)
CreateWorkflowResult & WithStatus(const WorkflowStatus &value)
CreateWorkflowResult & AddTags(const char *key, const char *value)
CreateWorkflowResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateWorkflowResult & WithRequestId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const WorkflowStatus & GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkflowResult & WithArn(Aws::String &&value)
CreateWorkflowResult & WithRequestId(const char *value)
CreateWorkflowResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkflowResult & AddTags(Aws::String &&key, const char *value)
void SetArn(const Aws::String &value)
AWS_OMICS_API CreateWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowResult & WithId(const char *value)
CreateWorkflowResult & WithId(const Aws::String &value)
CreateWorkflowResult & WithStatus(WorkflowStatus &&value)
CreateWorkflowResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetStatus(const WorkflowStatus &value)
CreateWorkflowResult & WithId(Aws::String &&value)
CreateWorkflowResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateWorkflowResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestId(const Aws::String &value)
CreateWorkflowResult & WithRequestId(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue