AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShareInvitation.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/ShareResourceType.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 ShareInvitation();
36 AWS_WELLARCHITECTED_API ShareInvitation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API ShareInvitation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
46 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
47 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
48 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
49 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
50 inline ShareInvitation& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;}
51 inline ShareInvitation& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
52 inline ShareInvitation& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
54
56
59 inline const ShareResourceType& GetShareResourceType() const{ return m_shareResourceType; }
60 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
61 inline void SetShareResourceType(const ShareResourceType& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
62 inline void SetShareResourceType(ShareResourceType&& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = std::move(value); }
63 inline ShareInvitation& WithShareResourceType(const ShareResourceType& value) { SetShareResourceType(value); return *this;}
64 inline ShareInvitation& WithShareResourceType(ShareResourceType&& value) { SetShareResourceType(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
70 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
71 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
72 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
73 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
74 inline ShareInvitation& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
75 inline ShareInvitation& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
76 inline ShareInvitation& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
78
80
81 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
82 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
83 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
84 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
85 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
86 inline ShareInvitation& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
87 inline ShareInvitation& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
88 inline ShareInvitation& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
90
92
95 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
96 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
97 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
98 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
99 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
100 inline ShareInvitation& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
101 inline ShareInvitation& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
102 inline ShareInvitation& WithLensArn(const char* value) { SetLensArn(value); return *this;}
104
106
109 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
110 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
111 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
112 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
113 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
114 inline ShareInvitation& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
115 inline ShareInvitation& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
116 inline ShareInvitation& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
118
120
123 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
124 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
125 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
126 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
127 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
128 inline ShareInvitation& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
129 inline ShareInvitation& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
130 inline ShareInvitation& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
132 private:
133
134 Aws::String m_shareInvitationId;
135 bool m_shareInvitationIdHasBeenSet = false;
136
137 ShareResourceType m_shareResourceType;
138 bool m_shareResourceTypeHasBeenSet = false;
139
140 Aws::String m_workloadId;
141 bool m_workloadIdHasBeenSet = false;
142
143 Aws::String m_lensAlias;
144 bool m_lensAliasHasBeenSet = false;
145
146 Aws::String m_lensArn;
147 bool m_lensArnHasBeenSet = false;
148
149 Aws::String m_profileArn;
150 bool m_profileArnHasBeenSet = false;
151
152 Aws::String m_templateArn;
153 bool m_templateArnHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace WellArchitected
158} // namespace Aws
void SetShareResourceType(ShareResourceType &&value)
ShareInvitation & WithTemplateArn(const char *value)
ShareInvitation & WithTemplateArn(const Aws::String &value)
ShareInvitation & WithShareInvitationId(const char *value)
ShareInvitation & WithWorkloadId(Aws::String &&value)
ShareInvitation & WithProfileArn(Aws::String &&value)
void SetShareResourceType(const ShareResourceType &value)
ShareInvitation & WithShareResourceType(const ShareResourceType &value)
ShareInvitation & WithProfileArn(const Aws::String &value)
AWS_WELLARCHITECTED_API ShareInvitation()
AWS_WELLARCHITECTED_API ShareInvitation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ShareInvitation(Aws::Utils::Json::JsonView jsonValue)
void SetLensArn(const Aws::String &value)
ShareInvitation & WithWorkloadId(const char *value)
ShareInvitation & WithWorkloadId(const Aws::String &value)
ShareInvitation & WithShareInvitationId(const Aws::String &value)
ShareInvitation & WithLensAlias(const Aws::String &value)
ShareInvitation & WithShareResourceType(ShareResourceType &&value)
ShareInvitation & WithLensAlias(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ShareInvitation & WithShareInvitationId(Aws::String &&value)
void SetTemplateArn(const Aws::String &value)
void SetWorkloadId(const Aws::String &value)
ShareInvitation & WithLensAlias(const char *value)
const ShareResourceType & GetShareResourceType() const
void SetShareInvitationId(const Aws::String &value)
ShareInvitation & WithTemplateArn(Aws::String &&value)
void SetLensAlias(const Aws::String &value)
ShareInvitation & WithProfileArn(const char *value)
ShareInvitation & WithLensArn(Aws::String &&value)
const Aws::String & GetShareInvitationId() const
ShareInvitation & WithLensArn(const char *value)
void SetProfileArn(const Aws::String &value)
ShareInvitation & WithLensArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue