AWS SDK for C++  1.9.155
AWS SDK for C++
GetResolverRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AppSync
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 "GetResolver"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetApiId() const{ return m_apiId; }
39 
43  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
44 
48  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
49 
53  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
54 
58  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
59 
63  inline GetResolverRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
64 
68  inline GetResolverRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
69 
73  inline GetResolverRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
74 
75 
79  inline const Aws::String& GetTypeName() const{ return m_typeName; }
80 
84  inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
85 
89  inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
90 
94  inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
95 
99  inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
100 
104  inline GetResolverRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
105 
109  inline GetResolverRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
110 
114  inline GetResolverRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
115 
116 
120  inline const Aws::String& GetFieldName() const{ return m_fieldName; }
121 
125  inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
126 
130  inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
131 
135  inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
136 
140  inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
141 
145  inline GetResolverRequest& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
146 
150  inline GetResolverRequest& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
151 
155  inline GetResolverRequest& WithFieldName(const char* value) { SetFieldName(value); return *this;}
156 
157  private:
158 
159  Aws::String m_apiId;
160  bool m_apiIdHasBeenSet;
161 
162  Aws::String m_typeName;
163  bool m_typeNameHasBeenSet;
164 
165  Aws::String m_fieldName;
166  bool m_fieldNameHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace AppSync
171 } // namespace Aws
Aws::AppSync::Model::GetResolverRequest::GetFieldName
const Aws::String & GetFieldName() const
Definition: GetResolverRequest.h:120
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::GetResolverRequest::WithApiId
GetResolverRequest & WithApiId(const char *value)
Definition: GetResolverRequest.h:73
Aws::AppSync::Model::GetResolverRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: GetResolverRequest.h:43
Aws::AppSync::Model::GetResolverRequest::WithTypeName
GetResolverRequest & WithTypeName(const char *value)
Definition: GetResolverRequest.h:114
Aws::AppSync::Model::GetResolverRequest::WithFieldName
GetResolverRequest & WithFieldName(const Aws::String &value)
Definition: GetResolverRequest.h:145
Aws::AppSync::Model::GetResolverRequest::FieldNameHasBeenSet
bool FieldNameHasBeenSet() const
Definition: GetResolverRequest.h:125
Aws::AppSync::Model::GetResolverRequest::SetApiId
void SetApiId(const char *value)
Definition: GetResolverRequest.h:58
Aws::AppSync::Model::GetResolverRequest::GetApiId
const Aws::String & GetApiId() const
Definition: GetResolverRequest.h:38
AppSync_EXPORTS.h
Aws::AppSync::Model::GetResolverRequest::WithFieldName
GetResolverRequest & WithFieldName(Aws::String &&value)
Definition: GetResolverRequest.h:150
Aws::AppSync::Model::GetResolverRequest::GetResolverRequest
GetResolverRequest()
Aws::AppSync::Model::GetResolverRequest::SetTypeName
void SetTypeName(Aws::String &&value)
Definition: GetResolverRequest.h:94
Aws::AppSync::Model::GetResolverRequest::SetFieldName
void SetFieldName(Aws::String &&value)
Definition: GetResolverRequest.h:135
Aws::AppSync::Model::GetResolverRequest::WithFieldName
GetResolverRequest & WithFieldName(const char *value)
Definition: GetResolverRequest.h:155
Aws::AppSync::Model::GetResolverRequest::SetFieldName
void SetFieldName(const char *value)
Definition: GetResolverRequest.h:140
Aws::AppSync::Model::GetResolverRequest::WithTypeName
GetResolverRequest & WithTypeName(Aws::String &&value)
Definition: GetResolverRequest.h:109
Aws::AppSync::Model::GetResolverRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: GetResolverRequest.h:53
AWSString.h
Aws::AppSync::Model::GetResolverRequest::SetTypeName
void SetTypeName(const char *value)
Definition: GetResolverRequest.h:99
Aws::AppSync::Model::GetResolverRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::GetResolverRequest::SetTypeName
void SetTypeName(const Aws::String &value)
Definition: GetResolverRequest.h:89
Aws::AppSync::Model::GetResolverRequest::WithApiId
GetResolverRequest & WithApiId(const Aws::String &value)
Definition: GetResolverRequest.h:63
Aws::AppSync::Model::GetResolverRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: GetResolverRequest.h:48
Aws::AppSync::Model::GetResolverRequest
Definition: GetResolverRequest.h:22
Aws::AppSync::Model::GetResolverRequest::WithTypeName
GetResolverRequest & WithTypeName(const Aws::String &value)
Definition: GetResolverRequest.h:104
AppSyncRequest.h
Aws::AppSync::Model::GetResolverRequest::TypeNameHasBeenSet
bool TypeNameHasBeenSet() const
Definition: GetResolverRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::GetResolverRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetResolverRequest.h:30
Aws::AppSync::Model::GetResolverRequest::SetFieldName
void SetFieldName(const Aws::String &value)
Definition: GetResolverRequest.h:130
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::GetResolverRequest::GetTypeName
const Aws::String & GetTypeName() const
Definition: GetResolverRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::GetResolverRequest::WithApiId
GetResolverRequest & WithApiId(Aws::String &&value)
Definition: GetResolverRequest.h:68