AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ShareInvitationIdT = Aws::String>
48 void SetShareInvitationId(ShareInvitationIdT&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::forward<ShareInvitationIdT>(value); }
49 template<typename ShareInvitationIdT = Aws::String>
50 ShareInvitation& WithShareInvitationId(ShareInvitationIdT&& value) { SetShareInvitationId(std::forward<ShareInvitationIdT>(value)); return *this;}
52
54
57 inline ShareResourceType GetShareResourceType() const { return m_shareResourceType; }
58 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
59 inline void SetShareResourceType(ShareResourceType value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
62
64
65 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
66 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
67 template<typename WorkloadIdT = Aws::String>
68 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
69 template<typename WorkloadIdT = Aws::String>
70 ShareInvitation& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
72
74
75 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
76 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
77 template<typename LensAliasT = Aws::String>
78 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
79 template<typename LensAliasT = Aws::String>
80 ShareInvitation& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
82
84
87 inline const Aws::String& GetLensArn() const { return m_lensArn; }
88 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
89 template<typename LensArnT = Aws::String>
90 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::forward<LensArnT>(value); }
91 template<typename LensArnT = Aws::String>
92 ShareInvitation& WithLensArn(LensArnT&& value) { SetLensArn(std::forward<LensArnT>(value)); return *this;}
94
96
99 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
100 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
101 template<typename ProfileArnT = Aws::String>
102 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
103 template<typename ProfileArnT = Aws::String>
104 ShareInvitation& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
112 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
113 template<typename TemplateArnT = Aws::String>
114 void SetTemplateArn(TemplateArnT&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::forward<TemplateArnT>(value); }
115 template<typename TemplateArnT = Aws::String>
116 ShareInvitation& WithTemplateArn(TemplateArnT&& value) { SetTemplateArn(std::forward<TemplateArnT>(value)); return *this;}
118 private:
119
120 Aws::String m_shareInvitationId;
121 bool m_shareInvitationIdHasBeenSet = false;
122
124 bool m_shareResourceTypeHasBeenSet = false;
125
126 Aws::String m_workloadId;
127 bool m_workloadIdHasBeenSet = false;
128
129 Aws::String m_lensAlias;
130 bool m_lensAliasHasBeenSet = false;
131
132 Aws::String m_lensArn;
133 bool m_lensArnHasBeenSet = false;
134
135 Aws::String m_profileArn;
136 bool m_profileArnHasBeenSet = false;
137
138 Aws::String m_templateArn;
139 bool m_templateArnHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace WellArchitected
144} // 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