AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendInvitesRequest.h
1
6#pragma once
7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace repostspace
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REPOSTSPACE_API SendInvitesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendInvites"; }
32
33 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetAccessorIds() const{ return m_accessorIds; }
41 inline bool AccessorIdsHasBeenSet() const { return m_accessorIdsHasBeenSet; }
42 inline void SetAccessorIds(const Aws::Vector<Aws::String>& value) { m_accessorIdsHasBeenSet = true; m_accessorIds = value; }
43 inline void SetAccessorIds(Aws::Vector<Aws::String>&& value) { m_accessorIdsHasBeenSet = true; m_accessorIds = std::move(value); }
44 inline SendInvitesRequest& WithAccessorIds(const Aws::Vector<Aws::String>& value) { SetAccessorIds(value); return *this;}
45 inline SendInvitesRequest& WithAccessorIds(Aws::Vector<Aws::String>&& value) { SetAccessorIds(std::move(value)); return *this;}
46 inline SendInvitesRequest& AddAccessorIds(const Aws::String& value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(value); return *this; }
47 inline SendInvitesRequest& AddAccessorIds(Aws::String&& value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(std::move(value)); return *this; }
48 inline SendInvitesRequest& AddAccessorIds(const char* value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetMemberBody() const{ return m_body; }
56 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
57 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
58 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
59 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
60 inline SendInvitesRequest& WithBody(const Aws::String& value) { SetBody(value); return *this;}
61 inline SendInvitesRequest& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
62 inline SendInvitesRequest& WithBody(const char* value) { SetBody(value); return *this;}
64
66
69 inline const Aws::String& GetSpaceId() const{ return m_spaceId; }
70 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
71 inline void SetSpaceId(const Aws::String& value) { m_spaceIdHasBeenSet = true; m_spaceId = value; }
72 inline void SetSpaceId(Aws::String&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::move(value); }
73 inline void SetSpaceId(const char* value) { m_spaceIdHasBeenSet = true; m_spaceId.assign(value); }
74 inline SendInvitesRequest& WithSpaceId(const Aws::String& value) { SetSpaceId(value); return *this;}
75 inline SendInvitesRequest& WithSpaceId(Aws::String&& value) { SetSpaceId(std::move(value)); return *this;}
76 inline SendInvitesRequest& WithSpaceId(const char* value) { SetSpaceId(value); return *this;}
78
80
83 inline const Aws::String& GetTitle() const{ return m_title; }
84 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
85 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
86 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
87 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
88 inline SendInvitesRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
89 inline SendInvitesRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
90 inline SendInvitesRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_accessorIds;
95 bool m_accessorIdsHasBeenSet = false;
96
97 Aws::String m_body;
98 bool m_bodyHasBeenSet = false;
99
100 Aws::String m_spaceId;
101 bool m_spaceIdHasBeenSet = false;
102
103 Aws::String m_title;
104 bool m_titleHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace repostspace
109} // namespace Aws
SendInvitesRequest & WithBody(const char *value)
SendInvitesRequest & WithBody(const Aws::String &value)
void SetSpaceId(const Aws::String &value)
SendInvitesRequest & WithSpaceId(Aws::String &&value)
void SetAccessorIds(const Aws::Vector< Aws::String > &value)
SendInvitesRequest & AddAccessorIds(Aws::String &&value)
SendInvitesRequest & AddAccessorIds(const char *value)
SendInvitesRequest & WithTitle(const char *value)
SendInvitesRequest & WithAccessorIds(Aws::Vector< Aws::String > &&value)
SendInvitesRequest & WithAccessorIds(const Aws::Vector< Aws::String > &value)
void SetAccessorIds(Aws::Vector< Aws::String > &&value)
SendInvitesRequest & WithSpaceId(const Aws::String &value)
SendInvitesRequest & WithTitle(const Aws::String &value)
SendInvitesRequest & WithSpaceId(const char *value)
const Aws::Vector< Aws::String > & GetAccessorIds() const
SendInvitesRequest & WithBody(Aws::String &&value)
SendInvitesRequest & WithTitle(Aws::String &&value)
SendInvitesRequest & AddAccessorIds(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector