AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListEnvironmentProfilesRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace DataZone
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATAZONE_API ListEnvironmentProfilesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListEnvironmentProfiles"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
47 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 template<typename AwsAccountIdT = Aws::String>
49 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
50 template<typename AwsAccountIdT = Aws::String>
51 ListEnvironmentProfilesRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
60 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
61 template<typename AwsAccountRegionT = Aws::String>
62 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
63 template<typename AwsAccountRegionT = Aws::String>
64 ListEnvironmentProfilesRequest& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
72 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
73 template<typename DomainIdentifierT = Aws::String>
74 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
75 template<typename DomainIdentifierT = Aws::String>
76 ListEnvironmentProfilesRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
78
80
84 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
85 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
86 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
87 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value); }
88 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
89 ListEnvironmentProfilesRequest& WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value)); return *this;}
91
93
101 inline int GetMaxResults() const { return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline ListEnvironmentProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 template<typename NameT = Aws::String>
114 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
115 template<typename NameT = Aws::String>
116 ListEnvironmentProfilesRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
118
120
129 inline const Aws::String& GetNextToken() const { return m_nextToken; }
130 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
131 template<typename NextTokenT = Aws::String>
132 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
133 template<typename NextTokenT = Aws::String>
134 ListEnvironmentProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
136
138
141 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
142 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
143 template<typename ProjectIdentifierT = Aws::String>
144 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
145 template<typename ProjectIdentifierT = Aws::String>
146 ListEnvironmentProfilesRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
148 private:
149
150 Aws::String m_awsAccountId;
151 bool m_awsAccountIdHasBeenSet = false;
152
153 Aws::String m_awsAccountRegion;
154 bool m_awsAccountRegionHasBeenSet = false;
155
156 Aws::String m_domainIdentifier;
157 bool m_domainIdentifierHasBeenSet = false;
158
159 Aws::String m_environmentBlueprintIdentifier;
160 bool m_environmentBlueprintIdentifierHasBeenSet = false;
161
162 int m_maxResults{0};
163 bool m_maxResultsHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_nextToken;
169 bool m_nextTokenHasBeenSet = false;
170
171 Aws::String m_projectIdentifier;
172 bool m_projectIdentifierHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DataZone
177} // namespace Aws
ListEnvironmentProfilesRequest & WithAwsAccountRegion(AwsAccountRegionT &&value)
ListEnvironmentProfilesRequest & WithAwsAccountId(AwsAccountIdT &&value)
ListEnvironmentProfilesRequest & WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
ListEnvironmentProfilesRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
AWS_DATAZONE_API ListEnvironmentProfilesRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
ListEnvironmentProfilesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListEnvironmentProfilesRequest & WithName(NameT &&value)
ListEnvironmentProfilesRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String