AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LensShareSummary.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 LensShareSummary();
36 AWS_WELLARCHITECTED_API LensShareSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API LensShareSummary& 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 inline void SetShareId(const Aws::String& value) { m_shareIdHasBeenSet = true; m_shareId = value; }
46 inline void SetShareId(Aws::String&& value) { m_shareIdHasBeenSet = true; m_shareId = std::move(value); }
47 inline void SetShareId(const char* value) { m_shareIdHasBeenSet = true; m_shareId.assign(value); }
48 inline LensShareSummary& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
49 inline LensShareSummary& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
50 inline LensShareSummary& WithShareId(const char* value) { SetShareId(value); return *this;}
52
54
55 inline const Aws::String& GetSharedWith() const{ return m_sharedWith; }
56 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
57 inline void SetSharedWith(const Aws::String& value) { m_sharedWithHasBeenSet = true; m_sharedWith = value; }
58 inline void SetSharedWith(Aws::String&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::move(value); }
59 inline void SetSharedWith(const char* value) { m_sharedWithHasBeenSet = true; m_sharedWith.assign(value); }
60 inline LensShareSummary& WithSharedWith(const Aws::String& value) { SetSharedWith(value); return *this;}
61 inline LensShareSummary& WithSharedWith(Aws::String&& value) { SetSharedWith(std::move(value)); return *this;}
62 inline LensShareSummary& WithSharedWith(const char* value) { SetSharedWith(value); return *this;}
64
66
67 inline const ShareStatus& GetStatus() const{ return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(const ShareStatus& value) { m_statusHasBeenSet = true; m_status = value; }
70 inline void SetStatus(ShareStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
71 inline LensShareSummary& WithStatus(const ShareStatus& value) { SetStatus(value); return *this;}
72 inline LensShareSummary& WithStatus(ShareStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
80 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
81 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
82 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
83 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
84 inline LensShareSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
85 inline LensShareSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
86 inline LensShareSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
88 private:
89
90 Aws::String m_shareId;
91 bool m_shareIdHasBeenSet = false;
92
93 Aws::String m_sharedWith;
94 bool m_sharedWithHasBeenSet = false;
95
96 ShareStatus m_status;
97 bool m_statusHasBeenSet = false;
98
99 Aws::String m_statusMessage;
100 bool m_statusMessageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace WellArchitected
105} // namespace Aws
LensShareSummary & WithStatusMessage(Aws::String &&value)
LensShareSummary & WithShareId(Aws::String &&value)
LensShareSummary & WithStatus(const ShareStatus &value)
LensShareSummary & WithSharedWith(const char *value)
LensShareSummary & WithSharedWith(const Aws::String &value)
AWS_WELLARCHITECTED_API LensShareSummary()
LensShareSummary & WithStatusMessage(const Aws::String &value)
void SetSharedWith(const Aws::String &value)
AWS_WELLARCHITECTED_API LensShareSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LensShareSummary & WithShareId(const Aws::String &value)
LensShareSummary & WithSharedWith(Aws::String &&value)
LensShareSummary & WithStatusMessage(const char *value)
void SetShareId(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
LensShareSummary & WithShareId(const char *value)
LensShareSummary & WithStatus(ShareStatus &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API LensShareSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue