AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSharesRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/model/ResourceOwner.h>
10#include <aws/omics/model/Filter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Omics
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_OMICS_API ListSharesRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListShares"; }
37
38 AWS_OMICS_API Aws::String SerializePayload() const override;
39
40 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const ResourceOwner& GetResourceOwner() const{ return m_resourceOwner; }
48 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
49 inline void SetResourceOwner(const ResourceOwner& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
50 inline void SetResourceOwner(ResourceOwner&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
51 inline ListSharesRequest& WithResourceOwner(const ResourceOwner& value) { SetResourceOwner(value); return *this;}
52 inline ListSharesRequest& WithResourceOwner(ResourceOwner&& value) { SetResourceOwner(std::move(value)); return *this;}
54
56
60 inline const Filter& GetFilter() const{ return m_filter; }
61 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
62 inline void SetFilter(const Filter& value) { m_filterHasBeenSet = true; m_filter = value; }
63 inline void SetFilter(Filter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
64 inline ListSharesRequest& WithFilter(const Filter& value) { SetFilter(value); return *this;}
65 inline ListSharesRequest& WithFilter(Filter&& value) { SetFilter(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline ListSharesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline ListSharesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline ListSharesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListSharesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 ResourceOwner m_resourceOwner;
95 bool m_resourceOwnerHasBeenSet = false;
96
97 Filter m_filter;
98 bool m_filterHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Omics
109} // namespace Aws
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSharesRequest & WithMaxResults(int value)
ListSharesRequest & WithFilter(Filter &&value)
const ResourceOwner & GetResourceOwner() const
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetResourceOwner(const ResourceOwner &value)
ListSharesRequest & WithNextToken(const char *value)
ListSharesRequest & WithFilter(const Filter &value)
const Aws::String & GetNextToken() const
void SetResourceOwner(ResourceOwner &&value)
ListSharesRequest & WithResourceOwner(ResourceOwner &&value)
ListSharesRequest & WithNextToken(Aws::String &&value)
void SetFilter(const Filter &value)
AWS_OMICS_API Aws::String SerializePayload() const override
ListSharesRequest & WithNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
ListSharesRequest & WithResourceOwner(const ResourceOwner &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String