AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ListProfilesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/ProfileOwnerType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API ListProfilesRequest() = default;
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 "ListProfiles"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetProfileNamePrefix() const { return m_profileNamePrefix; }
43 inline bool ProfileNamePrefixHasBeenSet() const { return m_profileNamePrefixHasBeenSet; }
44 template <typename ProfileNamePrefixT = Aws::String>
45 void SetProfileNamePrefix(ProfileNamePrefixT&& value) {
46 m_profileNamePrefixHasBeenSet = true;
47 m_profileNamePrefix = std::forward<ProfileNamePrefixT>(value);
48 }
49 template <typename ProfileNamePrefixT = Aws::String>
50 ListProfilesRequest& WithProfileNamePrefix(ProfileNamePrefixT&& value) {
51 SetProfileNamePrefix(std::forward<ProfileNamePrefixT>(value));
52 return *this;
53 }
55
57
60 inline ProfileOwnerType GetProfileOwnerType() const { return m_profileOwnerType; }
61 inline bool ProfileOwnerTypeHasBeenSet() const { return m_profileOwnerTypeHasBeenSet; }
63 m_profileOwnerTypeHasBeenSet = true;
64 m_profileOwnerType = value;
65 }
68 return *this;
69 }
71
73
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
82 ListProfilesRequest& WithNextToken(NextTokenT&& value) {
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) {
93 m_maxResultsHasBeenSet = true;
94 m_maxResults = value;
95 }
97 SetMaxResults(value);
98 return *this;
99 }
101 private:
102 Aws::String m_profileNamePrefix;
103 bool m_profileNamePrefixHasBeenSet = false;
104
106 bool m_profileOwnerTypeHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110
111 int m_maxResults{0};
112 bool m_maxResultsHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace WellArchitected
117} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API ListProfilesRequest()=default
ListProfilesRequest & WithProfileNamePrefix(ProfileNamePrefixT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
void SetProfileNamePrefix(ProfileNamePrefixT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfilesRequest & WithProfileOwnerType(ProfileOwnerType value)
ListProfilesRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String