AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPhoneNumbersRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/chime/model/PhoneNumberStatus.h>
10#include <aws/chime/model/PhoneNumberProductType.h>
11#include <aws/chime/model/PhoneNumberAssociationName.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace Chime
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_CHIME_API ListPhoneNumbersRequest();
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 "ListPhoneNumbers"; }
38
39 AWS_CHIME_API Aws::String SerializePayload() const override;
40
41 AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const PhoneNumberStatus& GetStatus() const{ return m_status; }
49 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 inline void SetStatus(const PhoneNumberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
51 inline void SetStatus(PhoneNumberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline ListPhoneNumbersRequest& WithStatus(const PhoneNumberStatus& value) { SetStatus(value); return *this;}
53 inline ListPhoneNumbersRequest& WithStatus(PhoneNumberStatus&& value) { SetStatus(std::move(value)); return *this;}
55
57
60 inline const PhoneNumberProductType& GetProductType() const{ return m_productType; }
61 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
62 inline void SetProductType(const PhoneNumberProductType& value) { m_productTypeHasBeenSet = true; m_productType = value; }
63 inline void SetProductType(PhoneNumberProductType&& value) { m_productTypeHasBeenSet = true; m_productType = std::move(value); }
65 inline ListPhoneNumbersRequest& WithProductType(PhoneNumberProductType&& value) { SetProductType(std::move(value)); return *this;}
67
69
72 inline const PhoneNumberAssociationName& GetFilterName() const{ return m_filterName; }
73 inline bool FilterNameHasBeenSet() const { return m_filterNameHasBeenSet; }
74 inline void SetFilterName(const PhoneNumberAssociationName& value) { m_filterNameHasBeenSet = true; m_filterName = value; }
75 inline void SetFilterName(PhoneNumberAssociationName&& value) { m_filterNameHasBeenSet = true; m_filterName = std::move(value); }
77 inline ListPhoneNumbersRequest& WithFilterName(PhoneNumberAssociationName&& value) { SetFilterName(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetFilterValue() const{ return m_filterValue; }
85 inline bool FilterValueHasBeenSet() const { return m_filterValueHasBeenSet; }
86 inline void SetFilterValue(const Aws::String& value) { m_filterValueHasBeenSet = true; m_filterValue = value; }
87 inline void SetFilterValue(Aws::String&& value) { m_filterValueHasBeenSet = true; m_filterValue = std::move(value); }
88 inline void SetFilterValue(const char* value) { m_filterValueHasBeenSet = true; m_filterValue.assign(value); }
89 inline ListPhoneNumbersRequest& WithFilterValue(const Aws::String& value) { SetFilterValue(value); return *this;}
90 inline ListPhoneNumbersRequest& WithFilterValue(Aws::String&& value) { SetFilterValue(std::move(value)); return *this;}
91 inline ListPhoneNumbersRequest& WithFilterValue(const char* value) { SetFilterValue(value); return *this;}
93
95
98 inline int GetMaxResults() const{ return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListPhoneNumbersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103
105
108 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113 inline ListPhoneNumbersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 inline ListPhoneNumbersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 inline ListPhoneNumbersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 private:
118
119 PhoneNumberStatus m_status;
120 bool m_statusHasBeenSet = false;
121
122 PhoneNumberProductType m_productType;
123 bool m_productTypeHasBeenSet = false;
124
125 PhoneNumberAssociationName m_filterName;
126 bool m_filterNameHasBeenSet = false;
127
128 Aws::String m_filterValue;
129 bool m_filterValueHasBeenSet = false;
130
131 int m_maxResults;
132 bool m_maxResultsHasBeenSet = false;
133
134 Aws::String m_nextToken;
135 bool m_nextTokenHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Chime
140} // namespace Aws
void SetStatus(const PhoneNumberStatus &value)
ListPhoneNumbersRequest & WithNextToken(const char *value)
AWS_CHIME_API Aws::String SerializePayload() const override
const PhoneNumberProductType & GetProductType() const
ListPhoneNumbersRequest & WithProductType(PhoneNumberProductType &&value)
ListPhoneNumbersRequest & WithMaxResults(int value)
ListPhoneNumbersRequest & WithNextToken(Aws::String &&value)
AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPhoneNumbersRequest & WithFilterName(PhoneNumberAssociationName &&value)
void SetProductType(const PhoneNumberProductType &value)
const PhoneNumberAssociationName & GetFilterName() const
ListPhoneNumbersRequest & WithFilterName(const PhoneNumberAssociationName &value)
void SetProductType(PhoneNumberProductType &&value)
ListPhoneNumbersRequest & WithFilterValue(Aws::String &&value)
ListPhoneNumbersRequest & WithProductType(const PhoneNumberProductType &value)
const PhoneNumberStatus & GetStatus() const
void SetFilterName(PhoneNumberAssociationName &&value)
ListPhoneNumbersRequest & WithStatus(const PhoneNumberStatus &value)
ListPhoneNumbersRequest & WithFilterValue(const Aws::String &value)
ListPhoneNumbersRequest & WithFilterValue(const char *value)
void SetFilterName(const PhoneNumberAssociationName &value)
virtual const char * GetServiceRequestName() const override
ListPhoneNumbersRequest & WithStatus(PhoneNumberStatus &&value)
ListPhoneNumbersRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String