AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFieldOptionsRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/ConnectCasesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace ConnectCases
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECTCASES_API ListFieldOptionsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListFieldOptions"; }
36
37 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECTCASES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetDomainId() const{ return m_domainId; }
47 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
48 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
49 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
50 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
51 inline ListFieldOptionsRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
52 inline ListFieldOptionsRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
53 inline ListFieldOptionsRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
55
57
60 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
61 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
62 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
63 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
64 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
65 inline ListFieldOptionsRequest& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
66 inline ListFieldOptionsRequest& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
67 inline ListFieldOptionsRequest& WithFieldId(const char* value) { SetFieldId(value); return *this;}
69
71
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListFieldOptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline ListFieldOptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline ListFieldOptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline ListFieldOptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
100 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
101 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
102 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
103 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
104 inline ListFieldOptionsRequest& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
105 inline ListFieldOptionsRequest& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
106 inline ListFieldOptionsRequest& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
107 inline ListFieldOptionsRequest& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
108 inline ListFieldOptionsRequest& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
110 private:
111
112 Aws::String m_domainId;
113 bool m_domainIdHasBeenSet = false;
114
115 Aws::String m_fieldId;
116 bool m_fieldIdHasBeenSet = false;
117
118 int m_maxResults;
119 bool m_maxResultsHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123
125 bool m_valuesHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace ConnectCases
130} // namespace Aws
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
ListFieldOptionsRequest & WithFieldId(Aws::String &&value)
ListFieldOptionsRequest & WithNextToken(const char *value)
const Aws::Vector< Aws::String > & GetValues() const
ListFieldOptionsRequest & WithNextToken(const Aws::String &value)
ListFieldOptionsRequest & WithValues(const Aws::Vector< Aws::String > &value)
ListFieldOptionsRequest & WithMaxResults(int value)
ListFieldOptionsRequest & WithDomainId(Aws::String &&value)
ListFieldOptionsRequest & AddValues(Aws::String &&value)
void SetValues(Aws::Vector< Aws::String > &&value)
AWS_CONNECTCASES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetValues(const Aws::Vector< Aws::String > &value)
ListFieldOptionsRequest & WithFieldId(const Aws::String &value)
ListFieldOptionsRequest & WithFieldId(const char *value)
ListFieldOptionsRequest & WithValues(Aws::Vector< Aws::String > &&value)
ListFieldOptionsRequest & WithNextToken(Aws::String &&value)
ListFieldOptionsRequest & WithDomainId(const Aws::String &value)
ListFieldOptionsRequest & AddValues(const Aws::String &value)
ListFieldOptionsRequest & WithDomainId(const char *value)
virtual const char * GetServiceRequestName() const override
ListFieldOptionsRequest & AddValues(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector