AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename WorkloadNamePrefixT = Aws::String>
50 void SetWorkloadNamePrefix(WorkloadNamePrefixT&& value) { m_workloadNamePrefixHasBeenSet = true; m_workloadNamePrefix = std::forward<WorkloadNamePrefixT>(value); }
51 template<typename WorkloadNamePrefixT = Aws::String>
52 ListShareInvitationsRequest& WithWorkloadNamePrefix(WorkloadNamePrefixT&& value) { SetWorkloadNamePrefix(std::forward<WorkloadNamePrefixT>(value)); return *this;}
54
56
60 inline const Aws::String& GetLensNamePrefix() const { return m_lensNamePrefix; }
61 inline bool LensNamePrefixHasBeenSet() const { return m_lensNamePrefixHasBeenSet; }
62 template<typename LensNamePrefixT = Aws::String>
63 void SetLensNamePrefix(LensNamePrefixT&& value) { m_lensNamePrefixHasBeenSet = true; m_lensNamePrefix = std::forward<LensNamePrefixT>(value); }
64 template<typename LensNamePrefixT = Aws::String>
65 ListShareInvitationsRequest& WithLensNamePrefix(LensNamePrefixT&& value) { SetLensNamePrefix(std::forward<LensNamePrefixT>(value)); return *this;}
67
69
72 inline ShareResourceType GetShareResourceType() const { return m_shareResourceType; }
73 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
74 inline void SetShareResourceType(ShareResourceType value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
77
79
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template<typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 ListShareInvitationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87
89
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ListShareInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97
99
103 inline const Aws::String& GetProfileNamePrefix() const { return m_profileNamePrefix; }
104 inline bool ProfileNamePrefixHasBeenSet() const { return m_profileNamePrefixHasBeenSet; }
105 template<typename ProfileNamePrefixT = Aws::String>
106 void SetProfileNamePrefix(ProfileNamePrefixT&& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = std::forward<ProfileNamePrefixT>(value); }
107 template<typename ProfileNamePrefixT = Aws::String>
108 ListShareInvitationsRequest& WithProfileNamePrefix(ProfileNamePrefixT&& value) { SetProfileNamePrefix(std::forward<ProfileNamePrefixT>(value)); return *this;}
110
112
116 inline const Aws::String& GetTemplateNamePrefix() const { return m_templateNamePrefix; }
117 inline bool TemplateNamePrefixHasBeenSet() const { return m_templateNamePrefixHasBeenSet; }
118 template<typename TemplateNamePrefixT = Aws::String>
119 void SetTemplateNamePrefix(TemplateNamePrefixT&& value) { m_templateNamePrefixHasBeenSet = true; m_templateNamePrefix = std::forward<TemplateNamePrefixT>(value); }
120 template<typename TemplateNamePrefixT = Aws::String>
121 ListShareInvitationsRequest& WithTemplateNamePrefix(TemplateNamePrefixT&& value) { SetTemplateNamePrefix(std::forward<TemplateNamePrefixT>(value)); return *this;}
123 private:
124
125 Aws::String m_workloadNamePrefix;
126 bool m_workloadNamePrefixHasBeenSet = false;
127
128 Aws::String m_lensNamePrefix;
129 bool m_lensNamePrefixHasBeenSet = false;
130
132 bool m_shareResourceTypeHasBeenSet = false;
133
134 Aws::String m_nextToken;
135 bool m_nextTokenHasBeenSet = false;
136
137 int m_maxResults{0};
138 bool m_maxResultsHasBeenSet = false;
139
140 Aws::String m_profileNamePrefix;
141 bool m_profileNamePrefixHasBeenSet = false;
142
143 Aws::String m_templateNamePrefix;
144 bool m_templateNamePrefixHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace WellArchitected
149} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API ListShareInvitationsRequest()=default
ListShareInvitationsRequest & WithLensNamePrefix(LensNamePrefixT &&value)
ListShareInvitationsRequest & WithTemplateNamePrefix(TemplateNamePrefixT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListShareInvitationsRequest & WithProfileNamePrefix(ProfileNamePrefixT &&value)
ListShareInvitationsRequest & WithWorkloadNamePrefix(WorkloadNamePrefixT &&value)
ListShareInvitationsRequest & WithNextToken(NextTokenT &&value)
ListShareInvitationsRequest & WithShareResourceType(ShareResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String