AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProfileShareSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/ShareStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API ProfileShareSummary() = default;
36 AWS_WELLARCHITECTED_API ProfileShareSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API ProfileShareSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetShareId() const { return m_shareId; }
44 inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; }
45 template<typename ShareIdT = Aws::String>
46 void SetShareId(ShareIdT&& value) { m_shareIdHasBeenSet = true; m_shareId = std::forward<ShareIdT>(value); }
47 template<typename ShareIdT = Aws::String>
48 ProfileShareSummary& WithShareId(ShareIdT&& value) { SetShareId(std::forward<ShareIdT>(value)); return *this;}
50
52
53 inline const Aws::String& GetSharedWith() const { return m_sharedWith; }
54 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
55 template<typename SharedWithT = Aws::String>
56 void SetSharedWith(SharedWithT&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::forward<SharedWithT>(value); }
57 template<typename SharedWithT = Aws::String>
58 ProfileShareSummary& WithSharedWith(SharedWithT&& value) { SetSharedWith(std::forward<SharedWithT>(value)); return *this;}
60
62
63 inline ShareStatus GetStatus() const { return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(ShareStatus value) { m_statusHasBeenSet = true; m_status = value; }
66 inline ProfileShareSummary& WithStatus(ShareStatus value) { SetStatus(value); return *this;}
68
70
73 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
74 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
75 template<typename StatusMessageT = Aws::String>
76 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
77 template<typename StatusMessageT = Aws::String>
78 ProfileShareSummary& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
80 private:
81
82 Aws::String m_shareId;
83 bool m_shareIdHasBeenSet = false;
84
85 Aws::String m_sharedWith;
86 bool m_sharedWithHasBeenSet = false;
87
89 bool m_statusHasBeenSet = false;
90
91 Aws::String m_statusMessage;
92 bool m_statusMessageHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace WellArchitected
97} // namespace Aws
AWS_WELLARCHITECTED_API ProfileShareSummary()=default
ProfileShareSummary & WithShareId(ShareIdT &&value)
ProfileShareSummary & WithStatusMessage(StatusMessageT &&value)
AWS_WELLARCHITECTED_API ProfileShareSummary(Aws::Utils::Json::JsonView jsonValue)
ProfileShareSummary & WithSharedWith(SharedWithT &&value)
AWS_WELLARCHITECTED_API ProfileShareSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileShareSummary & WithStatus(ShareStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue