AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateShareResult.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/ShareStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Omics
25{
26namespace Model
27{
29 {
30 public:
31 AWS_OMICS_API CreateShareResult();
34
35
37
40 inline const Aws::String& GetShareId() const{ return m_shareId; }
41 inline void SetShareId(const Aws::String& value) { m_shareId = value; }
42 inline void SetShareId(Aws::String&& value) { m_shareId = std::move(value); }
43 inline void SetShareId(const char* value) { m_shareId.assign(value); }
44 inline CreateShareResult& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
45 inline CreateShareResult& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
46 inline CreateShareResult& WithShareId(const char* value) { SetShareId(value); return *this;}
48
50
53 inline const ShareStatus& GetStatus() const{ return m_status; }
54 inline void SetStatus(const ShareStatus& value) { m_status = value; }
55 inline void SetStatus(ShareStatus&& value) { m_status = std::move(value); }
56 inline CreateShareResult& WithStatus(const ShareStatus& value) { SetStatus(value); return *this;}
57 inline CreateShareResult& WithStatus(ShareStatus&& value) { SetStatus(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetShareName() const{ return m_shareName; }
65 inline void SetShareName(const Aws::String& value) { m_shareName = value; }
66 inline void SetShareName(Aws::String&& value) { m_shareName = std::move(value); }
67 inline void SetShareName(const char* value) { m_shareName.assign(value); }
68 inline CreateShareResult& WithShareName(const Aws::String& value) { SetShareName(value); return *this;}
69 inline CreateShareResult& WithShareName(Aws::String&& value) { SetShareName(std::move(value)); return *this;}
70 inline CreateShareResult& WithShareName(const char* value) { SetShareName(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateShareResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateShareResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateShareResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_shareId;
86
87 ShareStatus m_status;
88
89 Aws::String m_shareName;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Omics
96} // namespace Aws
void SetStatus(ShareStatus &&value)
CreateShareResult & WithStatus(const ShareStatus &value)
const Aws::String & GetShareId() const
CreateShareResult & WithShareId(const char *value)
CreateShareResult & WithShareId(const Aws::String &value)
CreateShareResult & WithRequestId(const Aws::String &value)
CreateShareResult & WithShareName(Aws::String &&value)
CreateShareResult & WithShareId(Aws::String &&value)
void SetShareId(Aws::String &&value)
const Aws::String & GetRequestId() const
CreateShareResult & WithShareName(const Aws::String &value)
const Aws::String & GetShareName() const
CreateShareResult & WithRequestId(Aws::String &&value)
AWS_OMICS_API CreateShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateShareResult & WithStatus(ShareStatus &&value)
CreateShareResult & WithShareName(const char *value)
AWS_OMICS_API CreateShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
CreateShareResult & WithRequestId(const char *value)
void SetShareName(Aws::String &&value)
void SetShareId(const Aws::String &value)
void SetStatus(const ShareStatus &value)
void SetShareName(const Aws::String &value)
const ShareStatus & GetStatus() const
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue