AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProfilesRequest.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/ProfileOwnerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API ListProfilesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListProfiles"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetProfileNamePrefix() const { return m_profileNamePrefix; }
48 inline bool ProfileNamePrefixHasBeenSet() const { return m_profileNamePrefixHasBeenSet; }
49 template<typename ProfileNamePrefixT = Aws::String>
50 void SetProfileNamePrefix(ProfileNamePrefixT&& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = std::forward<ProfileNamePrefixT>(value); }
51 template<typename ProfileNamePrefixT = Aws::String>
52 ListProfilesRequest& WithProfileNamePrefix(ProfileNamePrefixT&& value) { SetProfileNamePrefix(std::forward<ProfileNamePrefixT>(value)); return *this;}
54
56
59 inline ProfileOwnerType GetProfileOwnerType() const { return m_profileOwnerType; }
60 inline bool ProfileOwnerTypeHasBeenSet() const { return m_profileOwnerTypeHasBeenSet; }
61 inline void SetProfileOwnerType(ProfileOwnerType value) { m_profileOwnerTypeHasBeenSet = true; m_profileOwnerType = value; }
64
66
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 Aws::String m_profileNamePrefix;
85 bool m_profileNamePrefixHasBeenSet = false;
86
88 bool m_profileOwnerTypeHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 int m_maxResults{0};
94 bool m_maxResultsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace WellArchitected
99} // 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