AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFileCachesRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.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 FSx
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeFileCaches"; }
32
33 AWS_FSX_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::Vector<Aws::String>& GetFileCacheIds() const{ return m_fileCacheIds; }
43 inline bool FileCacheIdsHasBeenSet() const { return m_fileCacheIdsHasBeenSet; }
44 inline void SetFileCacheIds(const Aws::Vector<Aws::String>& value) { m_fileCacheIdsHasBeenSet = true; m_fileCacheIds = value; }
45 inline void SetFileCacheIds(Aws::Vector<Aws::String>&& value) { m_fileCacheIdsHasBeenSet = true; m_fileCacheIds = std::move(value); }
47 inline DescribeFileCachesRequest& WithFileCacheIds(Aws::Vector<Aws::String>&& value) { SetFileCacheIds(std::move(value)); return *this;}
48 inline DescribeFileCachesRequest& AddFileCacheIds(const Aws::String& value) { m_fileCacheIdsHasBeenSet = true; m_fileCacheIds.push_back(value); return *this; }
49 inline DescribeFileCachesRequest& AddFileCacheIds(Aws::String&& value) { m_fileCacheIdsHasBeenSet = true; m_fileCacheIds.push_back(std::move(value)); return *this; }
50 inline DescribeFileCachesRequest& AddFileCacheIds(const char* value) { m_fileCacheIdsHasBeenSet = true; m_fileCacheIds.push_back(value); return *this; }
52
54
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline DescribeFileCachesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline DescribeFileCachesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline DescribeFileCachesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline DescribeFileCachesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_fileCacheIds;
75 bool m_fileCacheIdsHasBeenSet = false;
76
77 int m_maxResults;
78 bool m_maxResultsHasBeenSet = false;
79
80 Aws::String m_nextToken;
81 bool m_nextTokenHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace FSx
86} // namespace Aws
DescribeFileCachesRequest & AddFileCacheIds(Aws::String &&value)
DescribeFileCachesRequest & WithNextToken(const Aws::String &value)
DescribeFileCachesRequest & WithFileCacheIds(Aws::Vector< Aws::String > &&value)
void SetFileCacheIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
DescribeFileCachesRequest & WithNextToken(Aws::String &&value)
DescribeFileCachesRequest & WithFileCacheIds(const Aws::Vector< Aws::String > &value)
void SetFileCacheIds(const Aws::Vector< Aws::String > &value)
DescribeFileCachesRequest & AddFileCacheIds(const char *value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API Aws::String SerializePayload() const override
DescribeFileCachesRequest & AddFileCacheIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFileCacheIds() const
DescribeFileCachesRequest & WithNextToken(const char *value)
DescribeFileCachesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector