AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListShareInvitationsRequest.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/ShareResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_WELLARCHITECTED_API ListShareInvitationsRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListShareInvitations"; }
39
40 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
41
42 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
47 inline const Aws::String& GetWorkloadNamePrefix() const{ return m_workloadNamePrefix; }
48 inline bool WorkloadNamePrefixHasBeenSet() const { return m_workloadNamePrefixHasBeenSet; }
49 inline void SetWorkloadNamePrefix(const Aws::String& value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix = value; }
50 inline void SetWorkloadNamePrefix(Aws::String&& value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix = std::move(value); }
51 inline void SetWorkloadNamePrefix(const char* value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix.assign(value); }
53 inline ListShareInvitationsRequest& WithWorkloadNamePrefix(Aws::String&& value) { SetWorkloadNamePrefix(std::move(value)); return *this;}
54 inline ListShareInvitationsRequest& WithWorkloadNamePrefix(const char* value) { SetWorkloadNamePrefix(value); return *this;}
56
58
62 inline const Aws::String& GetLensNamePrefix() const{ return m_lensNamePrefix; }
63 inline bool LensNamePrefixHasBeenSet() const { return m_lensNamePrefixHasBeenSet; }
64 inline void SetLensNamePrefix(const Aws::String& value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix = value; }
65 inline void SetLensNamePrefix(Aws::String&& value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix = std::move(value); }
66 inline void SetLensNamePrefix(const char* value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix.assign(value); }
67 inline ListShareInvitationsRequest& WithLensNamePrefix(const Aws::String& value) { SetLensNamePrefix(value); return *this;}
68 inline ListShareInvitationsRequest& WithLensNamePrefix(Aws::String&& value) { SetLensNamePrefix(std::move(value)); return *this;}
69 inline ListShareInvitationsRequest& WithLensNamePrefix(const char* value) { SetLensNamePrefix(value); return *this;}
71
73
76 inline const ShareResourceType& GetShareResourceType() const{ return m_shareResourceType; }
77 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
78 inline void SetShareResourceType(const ShareResourceType& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
79 inline void SetShareResourceType(ShareResourceType&& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = std::move(value); }
83
85
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline ListShareInvitationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListShareInvitationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListShareInvitationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline ListShareInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105
107
111 inline const Aws::String& GetProfileNamePrefix() const{ return m_profileNamePrefix; }
112 inline bool ProfileNamePrefixHasBeenSet() const { return m_profileNamePrefixHasBeenSet; }
113 inline void SetProfileNamePrefix(const Aws::String& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = value; }
114 inline void SetProfileNamePrefix(Aws::String&& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = std::move(value); }
115 inline void SetProfileNamePrefix(const char* value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix.assign(value); }
117 inline ListShareInvitationsRequest& WithProfileNamePrefix(Aws::String&& value) { SetProfileNamePrefix(std::move(value)); return *this;}
118 inline ListShareInvitationsRequest& WithProfileNamePrefix(const char* value) { SetProfileNamePrefix(value); return *this;}
120
122
126 inline const Aws::String& GetTemplateNamePrefix() const{ return m_templateNamePrefix; }
127 inline bool TemplateNamePrefixHasBeenSet() const { return m_templateNamePrefixHasBeenSet; }
128 inline void SetTemplateNamePrefix(const Aws::String& value) { m_templateNamePrefixHasBeenSet = true; m_templateNamePrefix = value; }
129 inline void SetTemplateNamePrefix(Aws::String&& value) { m_templateNamePrefixHasBeenSet = true; m_templateNamePrefix = std::move(value); }
130 inline void SetTemplateNamePrefix(const char* value) { m_templateNamePrefixHasBeenSet = true; m_templateNamePrefix.assign(value); }
132 inline ListShareInvitationsRequest& WithTemplateNamePrefix(Aws::String&& value) { SetTemplateNamePrefix(std::move(value)); return *this;}
133 inline ListShareInvitationsRequest& WithTemplateNamePrefix(const char* value) { SetTemplateNamePrefix(value); return *this;}
135 private:
136
137 Aws::String m_workloadNamePrefix;
138 bool m_workloadNamePrefixHasBeenSet = false;
139
140 Aws::String m_lensNamePrefix;
141 bool m_lensNamePrefixHasBeenSet = false;
142
143 ShareResourceType m_shareResourceType;
144 bool m_shareResourceTypeHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151
152 Aws::String m_profileNamePrefix;
153 bool m_profileNamePrefixHasBeenSet = false;
154
155 Aws::String m_templateNamePrefix;
156 bool m_templateNamePrefixHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace WellArchitected
161} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListShareInvitationsRequest & WithProfileNamePrefix(const Aws::String &value)
ListShareInvitationsRequest & WithShareResourceType(const ShareResourceType &value)
ListShareInvitationsRequest & WithTemplateNamePrefix(Aws::String &&value)
ListShareInvitationsRequest & WithProfileNamePrefix(const char *value)
ListShareInvitationsRequest & WithLensNamePrefix(const char *value)
ListShareInvitationsRequest & WithWorkloadNamePrefix(const char *value)
ListShareInvitationsRequest & WithWorkloadNamePrefix(Aws::String &&value)
ListShareInvitationsRequest & WithWorkloadNamePrefix(const Aws::String &value)
ListShareInvitationsRequest & WithNextToken(Aws::String &&value)
ListShareInvitationsRequest & WithLensNamePrefix(Aws::String &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListShareInvitationsRequest & WithProfileNamePrefix(Aws::String &&value)
ListShareInvitationsRequest & WithTemplateNamePrefix(const Aws::String &value)
ListShareInvitationsRequest & WithNextToken(const Aws::String &value)
ListShareInvitationsRequest & WithLensNamePrefix(const Aws::String &value)
ListShareInvitationsRequest & WithTemplateNamePrefix(const char *value)
ListShareInvitationsRequest & WithShareResourceType(ShareResourceType &&value)
ListShareInvitationsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String