AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchHoursOfOperationsRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/HoursOfOperationSearchFilter.h>
11#include <aws/connect/model/HoursOfOperationSearchCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "SearchHoursOfOperations"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline SearchHoursOfOperationsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline SearchHoursOfOperationsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline SearchHoursOfOperationsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline SearchHoursOfOperationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline SearchHoursOfOperationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline SearchHoursOfOperationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
72 inline int GetMaxResults() const{ return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline SearchHoursOfOperationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
82 inline const HoursOfOperationSearchFilter& GetSearchFilter() const{ return m_searchFilter; }
83 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
84 inline void SetSearchFilter(const HoursOfOperationSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; }
85 inline void SetSearchFilter(HoursOfOperationSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); }
89
91
94 inline const HoursOfOperationSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; }
95 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
96 inline void SetSearchCriteria(const HoursOfOperationSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; }
97 inline void SetSearchCriteria(HoursOfOperationSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); }
101 private:
102
103 Aws::String m_instanceId;
104 bool m_instanceIdHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 HoursOfOperationSearchFilter m_searchFilter;
113 bool m_searchFilterHasBeenSet = false;
114
115 HoursOfOperationSearchCriteria m_searchCriteria;
116 bool m_searchCriteriaHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Connect
121} // namespace Aws
SearchHoursOfOperationsRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchHoursOfOperationsRequest & WithSearchFilter(HoursOfOperationSearchFilter &&value)
SearchHoursOfOperationsRequest & WithNextToken(Aws::String &&value)
void SetSearchCriteria(HoursOfOperationSearchCriteria &&value)
void SetSearchCriteria(const HoursOfOperationSearchCriteria &value)
SearchHoursOfOperationsRequest & WithSearchCriteria(const HoursOfOperationSearchCriteria &value)
const HoursOfOperationSearchFilter & GetSearchFilter() const
SearchHoursOfOperationsRequest & WithInstanceId(Aws::String &&value)
void SetSearchFilter(const HoursOfOperationSearchFilter &value)
SearchHoursOfOperationsRequest & WithSearchCriteria(HoursOfOperationSearchCriteria &&value)
SearchHoursOfOperationsRequest & WithSearchFilter(const HoursOfOperationSearchFilter &value)
void SetSearchFilter(HoursOfOperationSearchFilter &&value)
SearchHoursOfOperationsRequest & WithNextToken(const char *value)
SearchHoursOfOperationsRequest & WithMaxResults(int value)
const HoursOfOperationSearchCriteria & GetSearchCriteria() const
SearchHoursOfOperationsRequest & WithNextToken(const Aws::String &value)
SearchHoursOfOperationsRequest & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String