AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDataLakesRequest.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/SecurityLakeRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace SecurityLake
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SECURITYLAKE_API ListDataLakesRequest() = 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 "ListDataLakes"; }
36
37 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
38
39 AWS_SECURITYLAKE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
47 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
48 template<typename RegionsT = Aws::Vector<Aws::String>>
49 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions = std::forward<RegionsT>(value); }
50 template<typename RegionsT = Aws::Vector<Aws::String>>
51 ListDataLakesRequest& WithRegions(RegionsT&& value) { SetRegions(std::forward<RegionsT>(value)); return *this;}
52 template<typename RegionsT = Aws::String>
53 ListDataLakesRequest& AddRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions.emplace_back(std::forward<RegionsT>(value)); return *this; }
55 private:
56
58 bool m_regionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityLake
63} // namespace Aws
ListDataLakesRequest & WithRegions(RegionsT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
AWS_SECURITYLAKE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDataLakesRequest & AddRegions(RegionsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYLAKE_API ListDataLakesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector