AWS SDK for C++  1.8.95
AWS SDK for C++
ListConferenceProvidersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListConferenceProviders"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 
50  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 
55  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
56 
60  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 
65  inline ListConferenceProvidersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
70  inline ListConferenceProvidersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 
75  inline ListConferenceProvidersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76 
77 
82  inline int GetMaxResults() const{ return m_maxResults; }
83 
88  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 
94  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 
100  inline ListConferenceProvidersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 
102  private:
103 
104  Aws::String m_nextToken;
105  bool m_nextTokenHasBeenSet;
106 
107  int m_maxResults;
108  bool m_maxResultsHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace AlexaForBusiness
113 } // namespace Aws
ListConferenceProvidersRequest & WithNextToken(Aws::String &&value)
ListConferenceProvidersRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListConferenceProvidersRequest & WithNextToken(const Aws::String &value)
#define AWS_ALEXAFORBUSINESS_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97