AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateShareInvitationRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/model/ShareInvitationAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_WELLARCHITECTED_API UpdateShareInvitationRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateShareInvitation"; }
35
36 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
44 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
45 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
46 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
47 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
49 inline UpdateShareInvitationRequest& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
50 inline UpdateShareInvitationRequest& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
52
54
55 inline const ShareInvitationAction& GetShareInvitationAction() const{ return m_shareInvitationAction; }
56 inline bool ShareInvitationActionHasBeenSet() const { return m_shareInvitationActionHasBeenSet; }
57 inline void SetShareInvitationAction(const ShareInvitationAction& value) { m_shareInvitationActionHasBeenSet = true; m_shareInvitationAction = value; }
58 inline void SetShareInvitationAction(ShareInvitationAction&& value) { m_shareInvitationActionHasBeenSet = true; m_shareInvitationAction = std::move(value); }
62 private:
63
64 Aws::String m_shareInvitationId;
65 bool m_shareInvitationIdHasBeenSet = false;
66
67 ShareInvitationAction m_shareInvitationAction;
68 bool m_shareInvitationActionHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WellArchitected
73} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateShareInvitationRequest & WithShareInvitationId(const Aws::String &value)
UpdateShareInvitationRequest & WithShareInvitationId(Aws::String &&value)
UpdateShareInvitationRequest & WithShareInvitationAction(ShareInvitationAction &&value)
UpdateShareInvitationRequest & WithShareInvitationId(const char *value)
UpdateShareInvitationRequest & WithShareInvitationAction(const ShareInvitationAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String