AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
49 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
50 inline ListDataLakesRequest& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
51 inline ListDataLakesRequest& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
52 inline ListDataLakesRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
53 inline ListDataLakesRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
54 inline ListDataLakesRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
56 private:
57
59 bool m_regionsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SecurityLake
64} // namespace Aws
ListDataLakesRequest & WithRegions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRegions() const
ListDataLakesRequest & AddRegions(const Aws::String &value)
ListDataLakesRequest & WithRegions(const Aws::Vector< Aws::String > &value)
void SetRegions(Aws::Vector< Aws::String > &&value)
ListDataLakesRequest & AddRegions(const char *value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
void SetRegions(const Aws::Vector< Aws::String > &value)
ListDataLakesRequest & AddRegions(Aws::String &&value)
AWS_SECURITYLAKE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector