AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ShareInvitation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9#include <aws/wellarchitected/model/ShareResourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
29 public:
30 AWS_WELLARCHITECTED_API ShareInvitation() = default;
31 AWS_WELLARCHITECTED_API ShareInvitation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API ShareInvitation& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
40 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
41 template <typename ShareInvitationIdT = Aws::String>
42 void SetShareInvitationId(ShareInvitationIdT&& value) {
43 m_shareInvitationIdHasBeenSet = true;
44 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
45 }
46 template <typename ShareInvitationIdT = Aws::String>
47 ShareInvitation& WithShareInvitationId(ShareInvitationIdT&& value) {
48 SetShareInvitationId(std::forward<ShareInvitationIdT>(value));
49 return *this;
50 }
52
54
57 inline ShareResourceType GetShareResourceType() const { return m_shareResourceType; }
58 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
60 m_shareResourceTypeHasBeenSet = true;
61 m_shareResourceType = value;
62 }
65 return *this;
66 }
68
70
71 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
72 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
73 template <typename WorkloadIdT = Aws::String>
74 void SetWorkloadId(WorkloadIdT&& value) {
75 m_workloadIdHasBeenSet = true;
76 m_workloadId = std::forward<WorkloadIdT>(value);
77 }
78 template <typename WorkloadIdT = Aws::String>
79 ShareInvitation& WithWorkloadId(WorkloadIdT&& value) {
80 SetWorkloadId(std::forward<WorkloadIdT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
88 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
89 template <typename LensAliasT = Aws::String>
90 void SetLensAlias(LensAliasT&& value) {
91 m_lensAliasHasBeenSet = true;
92 m_lensAlias = std::forward<LensAliasT>(value);
93 }
94 template <typename LensAliasT = Aws::String>
95 ShareInvitation& WithLensAlias(LensAliasT&& value) {
96 SetLensAlias(std::forward<LensAliasT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetLensArn() const { return m_lensArn; }
106 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
107 template <typename LensArnT = Aws::String>
108 void SetLensArn(LensArnT&& value) {
109 m_lensArnHasBeenSet = true;
110 m_lensArn = std::forward<LensArnT>(value);
111 }
112 template <typename LensArnT = Aws::String>
113 ShareInvitation& WithLensArn(LensArnT&& value) {
114 SetLensArn(std::forward<LensArnT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
124 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
125 template <typename ProfileArnT = Aws::String>
126 void SetProfileArn(ProfileArnT&& value) {
127 m_profileArnHasBeenSet = true;
128 m_profileArn = std::forward<ProfileArnT>(value);
129 }
130 template <typename ProfileArnT = Aws::String>
131 ShareInvitation& WithProfileArn(ProfileArnT&& value) {
132 SetProfileArn(std::forward<ProfileArnT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
142 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
143 template <typename TemplateArnT = Aws::String>
144 void SetTemplateArn(TemplateArnT&& value) {
145 m_templateArnHasBeenSet = true;
146 m_templateArn = std::forward<TemplateArnT>(value);
147 }
148 template <typename TemplateArnT = Aws::String>
149 ShareInvitation& WithTemplateArn(TemplateArnT&& value) {
150 SetTemplateArn(std::forward<TemplateArnT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_shareInvitationId;
156 bool m_shareInvitationIdHasBeenSet = false;
157
159 bool m_shareResourceTypeHasBeenSet = false;
160
161 Aws::String m_workloadId;
162 bool m_workloadIdHasBeenSet = false;
163
164 Aws::String m_lensAlias;
165 bool m_lensAliasHasBeenSet = false;
166
167 Aws::String m_lensArn;
168 bool m_lensArnHasBeenSet = false;
169
170 Aws::String m_profileArn;
171 bool m_profileArnHasBeenSet = false;
172
173 Aws::String m_templateArn;
174 bool m_templateArnHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace WellArchitected
179} // namespace Aws
ShareInvitation & WithLensAlias(LensAliasT &&value)
void SetShareInvitationId(ShareInvitationIdT &&value)
void SetShareResourceType(ShareResourceType value)
ShareInvitation & WithProfileArn(ProfileArnT &&value)
AWS_WELLARCHITECTED_API ShareInvitation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ShareInvitation(Aws::Utils::Json::JsonView jsonValue)
ShareInvitation & WithWorkloadId(WorkloadIdT &&value)
ShareInvitation & WithTemplateArn(TemplateArnT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ShareInvitation & WithLensArn(LensArnT &&value)
ShareInvitation & WithShareInvitationId(ShareInvitationIdT &&value)
ShareInvitation & WithShareResourceType(ShareResourceType value)
const Aws::String & GetShareInvitationId() const
AWS_WELLARCHITECTED_API ShareInvitation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue