AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkloadShareResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WellArchitected
24{
25namespace Model
26{
33 {
34 public:
35 AWS_WELLARCHITECTED_API CreateWorkloadShareResult();
38
39
41
42 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
43 inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
44 inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
45 inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
46 inline CreateWorkloadShareResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
47 inline CreateWorkloadShareResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
48 inline CreateWorkloadShareResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
50
52
53 inline const Aws::String& GetShareId() const{ return m_shareId; }
54 inline void SetShareId(const Aws::String& value) { m_shareId = value; }
55 inline void SetShareId(Aws::String&& value) { m_shareId = std::move(value); }
56 inline void SetShareId(const char* value) { m_shareId.assign(value); }
57 inline CreateWorkloadShareResult& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
58 inline CreateWorkloadShareResult& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
59 inline CreateWorkloadShareResult& WithShareId(const char* value) { SetShareId(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreateWorkloadShareResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreateWorkloadShareResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreateWorkloadShareResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_workloadId;
75
76 Aws::String m_shareId;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace WellArchitected
83} // namespace Aws
AWS_WELLARCHITECTED_API CreateWorkloadShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkloadShareResult & WithRequestId(const char *value)
CreateWorkloadShareResult & WithShareId(const char *value)
CreateWorkloadShareResult & WithWorkloadId(const char *value)
CreateWorkloadShareResult & WithWorkloadId(Aws::String &&value)
CreateWorkloadShareResult & WithShareId(const Aws::String &value)
CreateWorkloadShareResult & WithShareId(Aws::String &&value)
CreateWorkloadShareResult & WithRequestId(Aws::String &&value)
CreateWorkloadShareResult & WithWorkloadId(const Aws::String &value)
AWS_WELLARCHITECTED_API CreateWorkloadShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkloadShareResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue