AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPresetsRequest.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/ElasticTranscoderRequest.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 ElasticTranscoder
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_ELASTICTRANSCODER_API ListPresetsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListPresets"; }
38
39 AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override;
40
41 AWS_ELASTICTRANSCODER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
50 inline const Aws::String& GetAscending() const{ return m_ascending; }
51 inline bool AscendingHasBeenSet() const { return m_ascendingHasBeenSet; }
52 inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; }
53 inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = std::move(value); }
54 inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); }
55 inline ListPresetsRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;}
56 inline ListPresetsRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;}
57 inline ListPresetsRequest& WithAscending(const char* value) { SetAscending(value); return *this;}
59
61
66 inline const Aws::String& GetPageToken() const{ return m_pageToken; }
67 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
68 inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
69 inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
70 inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
71 inline ListPresetsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
72 inline ListPresetsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
73 inline ListPresetsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
75 private:
76
77 Aws::String m_ascending;
78 bool m_ascendingHasBeenSet = false;
79
80 Aws::String m_pageToken;
81 bool m_pageTokenHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ElasticTranscoder
86} // namespace Aws
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
ListPresetsRequest & WithPageToken(Aws::String &&value)
ListPresetsRequest & WithPageToken(const char *value)
ListPresetsRequest & WithAscending(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListPresetsRequest & WithAscending(const char *value)
ListPresetsRequest & WithAscending(Aws::String &&value)
AWS_ELASTICTRANSCODER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPresetsRequest & WithPageToken(const Aws::String &value)
AWS_ELASTICTRANSCODER_API ListPresetsRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String