AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProfileNamePrefix(const Aws::String& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = value; }
50 inline void SetProfileNamePrefix(Aws::String&& value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix = std::move(value); }
51 inline void SetProfileNamePrefix(const char* value) { m_profileNamePrefixHasBeenSet = true; m_profileNamePrefix.assign(value); }
52 inline ListProfilesRequest& WithProfileNamePrefix(const Aws::String& value) { SetProfileNamePrefix(value); return *this;}
53 inline ListProfilesRequest& WithProfileNamePrefix(Aws::String&& value) { SetProfileNamePrefix(std::move(value)); return *this;}
54 inline ListProfilesRequest& WithProfileNamePrefix(const char* value) { SetProfileNamePrefix(value); return *this;}
56
58
61 inline const ProfileOwnerType& GetProfileOwnerType() const{ return m_profileOwnerType; }
62 inline bool ProfileOwnerTypeHasBeenSet() const { return m_profileOwnerTypeHasBeenSet; }
63 inline void SetProfileOwnerType(const ProfileOwnerType& value) { m_profileOwnerTypeHasBeenSet = true; m_profileOwnerType = value; }
64 inline void SetProfileOwnerType(ProfileOwnerType&& value) { m_profileOwnerTypeHasBeenSet = true; m_profileOwnerType = std::move(value); }
66 inline ListProfilesRequest& WithProfileOwnerType(ProfileOwnerType&& value) { SetProfileOwnerType(std::move(value)); return *this;}
68
70
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline int GetMaxResults() const{ return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88 private:
89
90 Aws::String m_profileNamePrefix;
91 bool m_profileNamePrefixHasBeenSet = false;
92
93 ProfileOwnerType m_profileOwnerType;
94 bool m_profileOwnerTypeHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults;
100 bool m_maxResultsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace WellArchitected
105} // namespace Aws
const ProfileOwnerType & GetProfileOwnerType() const
virtual const char * GetServiceRequestName() const override
ListProfilesRequest & WithNextToken(const char *value)
void SetProfileOwnerType(const ProfileOwnerType &value)
ListProfilesRequest & WithProfileOwnerType(const ProfileOwnerType &value)
ListProfilesRequest & WithProfileNamePrefix(const Aws::String &value)
ListProfilesRequest & WithNextToken(const Aws::String &value)
ListProfilesRequest & WithProfileNamePrefix(const char *value)
ListProfilesRequest & WithProfileNamePrefix(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfilesRequest & WithNextToken(Aws::String &&value)
ListProfilesRequest & WithProfileOwnerType(ProfileOwnerType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String