AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProfileShareResult.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{
28 {
29 public:
30 AWS_WELLARCHITECTED_API CreateProfileShareResult();
33
34
36
37 inline const Aws::String& GetShareId() const{ return m_shareId; }
38 inline void SetShareId(const Aws::String& value) { m_shareId = value; }
39 inline void SetShareId(Aws::String&& value) { m_shareId = std::move(value); }
40 inline void SetShareId(const char* value) { m_shareId.assign(value); }
41 inline CreateProfileShareResult& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
42 inline CreateProfileShareResult& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
43 inline CreateProfileShareResult& WithShareId(const char* value) { SetShareId(value); return *this;}
45
47
50 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
51 inline void SetProfileArn(const Aws::String& value) { m_profileArn = value; }
52 inline void SetProfileArn(Aws::String&& value) { m_profileArn = std::move(value); }
53 inline void SetProfileArn(const char* value) { m_profileArn.assign(value); }
54 inline CreateProfileShareResult& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
55 inline CreateProfileShareResult& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
56 inline CreateProfileShareResult& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline CreateProfileShareResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline CreateProfileShareResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline CreateProfileShareResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::String m_shareId;
72
73 Aws::String m_profileArn;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace WellArchitected
80} // namespace Aws
CreateProfileShareResult & WithRequestId(const Aws::String &value)
CreateProfileShareResult & WithProfileArn(const Aws::String &value)
CreateProfileShareResult & WithShareId(Aws::String &&value)
CreateProfileShareResult & WithProfileArn(const char *value)
CreateProfileShareResult & WithRequestId(const char *value)
CreateProfileShareResult & WithProfileArn(Aws::String &&value)
CreateProfileShareResult & WithShareId(const char *value)
AWS_WELLARCHITECTED_API CreateProfileShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProfileShareResult & WithShareId(const Aws::String &value)
CreateProfileShareResult & WithRequestId(Aws::String &&value)
AWS_WELLARCHITECTED_API CreateProfileShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue