AWS SDK for C++  1.9.131
AWS SDK for C++
ListInputDeviceTransfersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace MediaLive
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListInputDeviceTransfers"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
45 
46  inline int GetMaxResults() const{ return m_maxResults; }
47 
48 
49  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
50 
51 
52  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
53 
54 
55  inline ListInputDeviceTransfersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
56 
57 
58 
59  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 
61 
62  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 
64 
65  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 
67 
68  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
69 
70 
71  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
72 
73 
74  inline ListInputDeviceTransfersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 
76 
77  inline ListInputDeviceTransfersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
79 
80  inline ListInputDeviceTransfersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81 
82 
83 
84  inline const Aws::String& GetTransferType() const{ return m_transferType; }
85 
86 
87  inline bool TransferTypeHasBeenSet() const { return m_transferTypeHasBeenSet; }
88 
89 
90  inline void SetTransferType(const Aws::String& value) { m_transferTypeHasBeenSet = true; m_transferType = value; }
91 
92 
93  inline void SetTransferType(Aws::String&& value) { m_transferTypeHasBeenSet = true; m_transferType = std::move(value); }
94 
95 
96  inline void SetTransferType(const char* value) { m_transferTypeHasBeenSet = true; m_transferType.assign(value); }
97 
98 
99  inline ListInputDeviceTransfersRequest& WithTransferType(const Aws::String& value) { SetTransferType(value); return *this;}
100 
101 
102  inline ListInputDeviceTransfersRequest& WithTransferType(Aws::String&& value) { SetTransferType(std::move(value)); return *this;}
103 
104 
105  inline ListInputDeviceTransfersRequest& WithTransferType(const char* value) { SetTransferType(value); return *this;}
106 
107  private:
108 
109  int m_maxResults;
110  bool m_maxResultsHasBeenSet;
111 
112  Aws::String m_nextToken;
113  bool m_nextTokenHasBeenSet;
114 
115  Aws::String m_transferType;
116  bool m_transferTypeHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace MediaLive
121 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithNextToken
ListInputDeviceTransfersRequest & WithNextToken(const char *value)
Definition: ListInputDeviceTransfersRequest.h:80
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithTransferType
ListInputDeviceTransfersRequest & WithTransferType(const Aws::String &value)
Definition: ListInputDeviceTransfersRequest.h:99
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListInputDeviceTransfersRequest.h:71
Aws::MediaLive::Model::ListInputDeviceTransfersRequest
Definition: ListInputDeviceTransfersRequest.h:30
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListInputDeviceTransfersRequest.h:52
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListInputDeviceTransfersRequest.h:65
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithTransferType
ListInputDeviceTransfersRequest & WithTransferType(const char *value)
Definition: ListInputDeviceTransfersRequest.h:105
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithMaxResults
ListInputDeviceTransfersRequest & WithMaxResults(int value)
Definition: ListInputDeviceTransfersRequest.h:55
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithNextToken
ListInputDeviceTransfersRequest & WithNextToken(const Aws::String &value)
Definition: ListInputDeviceTransfersRequest.h:74
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetTransferType
void SetTransferType(const Aws::String &value)
Definition: ListInputDeviceTransfersRequest.h:90
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListInputDeviceTransfersRequest.h:68
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListInputDeviceTransfersRequest.h:49
AWSString.h
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::TransferTypeHasBeenSet
bool TransferTypeHasBeenSet() const
Definition: ListInputDeviceTransfersRequest.h:87
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListInputDeviceTransfersRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInputDeviceTransfersRequest.h:38
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetTransferType
void SetTransferType(Aws::String &&value)
Definition: ListInputDeviceTransfersRequest.h:93
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::SetTransferType
void SetTransferType(const char *value)
Definition: ListInputDeviceTransfersRequest.h:96
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::GetMaxResults
int GetMaxResults() const
Definition: ListInputDeviceTransfersRequest.h:46
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::GetTransferType
const Aws::String & GetTransferType() const
Definition: ListInputDeviceTransfersRequest.h:84
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithTransferType
ListInputDeviceTransfersRequest & WithTransferType(Aws::String &&value)
Definition: ListInputDeviceTransfersRequest.h:102
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::WithNextToken
ListInputDeviceTransfersRequest & WithNextToken(Aws::String &&value)
Definition: ListInputDeviceTransfersRequest.h:77
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListInputDeviceTransfersRequest.h:62
Aws::MediaLive::Model::ListInputDeviceTransfersRequest::ListInputDeviceTransfersRequest
ListInputDeviceTransfersRequest()
MediaLive_EXPORTS.h