AWS SDK for C++  1.9.46
AWS SDK for C++
ListBusinessReportSchedulesRequest.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 "ListBusinessReportSchedules"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
47  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 
53  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
54 
59  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
60 
65  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 
71  inline ListBusinessReportSchedulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
72 
77  inline ListBusinessReportSchedulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
83  inline ListBusinessReportSchedulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84 
85 
89  inline int GetMaxResults() const{ return m_maxResults; }
90 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
99  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 
104  inline ListBusinessReportSchedulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106  private:
107 
108  Aws::String m_nextToken;
109  bool m_nextTokenHasBeenSet;
110 
111  int m_maxResults;
112  bool m_maxResultsHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace AlexaForBusiness
117 } // namespace Aws
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBusinessReportSchedulesRequest.h:53
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListBusinessReportSchedulesRequest.h:94
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBusinessReportSchedulesRequest.h:41
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::WithMaxResults
ListBusinessReportSchedulesRequest & WithMaxResults(int value)
Definition: ListBusinessReportSchedulesRequest.h:104
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest
Definition: ListBusinessReportSchedulesRequest.h:22
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::WithNextToken
ListBusinessReportSchedulesRequest & WithNextToken(Aws::String &&value)
Definition: ListBusinessReportSchedulesRequest.h:77
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::ListBusinessReportSchedulesRequest
ListBusinessReportSchedulesRequest()
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBusinessReportSchedulesRequest.h:59
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListBusinessReportSchedulesRequest.h:65
AWSString.h
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListBusinessReportSchedulesRequest.h:47
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::WithNextToken
ListBusinessReportSchedulesRequest & WithNextToken(const Aws::String &value)
Definition: ListBusinessReportSchedulesRequest.h:71
AlexaForBusiness_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListBusinessReportSchedulesRequest.h:99
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListBusinessReportSchedulesRequest.h:89
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::WithNextToken
ListBusinessReportSchedulesRequest & WithNextToken(const char *value)
Definition: ListBusinessReportSchedulesRequest.h:83
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListBusinessReportSchedulesRequest.h:30
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::ListBusinessReportSchedulesRequest::SerializePayload
Aws::String SerializePayload() const override