AWS SDK for C++  1.9.157
AWS SDK for C++
DeleteResolverRequest.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 "DeleteResolver"; }
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 DeleteResolverRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
64 
68  inline DeleteResolverRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
69 
73  inline DeleteResolverRequest& 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 DeleteResolverRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
105 
109  inline DeleteResolverRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
110 
114  inline DeleteResolverRequest& 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 DeleteResolverRequest& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
146 
150  inline DeleteResolverRequest& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
151 
155  inline DeleteResolverRequest& 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::DeleteResolverRequest::TypeNameHasBeenSet
bool TypeNameHasBeenSet() const
Definition: DeleteResolverRequest.h:84
Aws::AppSync::Model::DeleteResolverRequest::SetFieldName
void SetFieldName(Aws::String &&value)
Definition: DeleteResolverRequest.h:135
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::DeleteResolverRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::DeleteResolverRequest::SetFieldName
void SetFieldName(const char *value)
Definition: DeleteResolverRequest.h:140
Aws::AppSync::Model::DeleteResolverRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteResolverRequest.h:30
Aws::AppSync::Model::DeleteResolverRequest::GetFieldName
const Aws::String & GetFieldName() const
Definition: DeleteResolverRequest.h:120
Aws::AppSync::Model::DeleteResolverRequest::WithTypeName
DeleteResolverRequest & WithTypeName(Aws::String &&value)
Definition: DeleteResolverRequest.h:109
Aws::AppSync::Model::DeleteResolverRequest::WithApiId
DeleteResolverRequest & WithApiId(const Aws::String &value)
Definition: DeleteResolverRequest.h:63
Aws::AppSync::Model::DeleteResolverRequest::WithTypeName
DeleteResolverRequest & WithTypeName(const char *value)
Definition: DeleteResolverRequest.h:114
Aws::AppSync::Model::DeleteResolverRequest
Definition: DeleteResolverRequest.h:22
AppSync_EXPORTS.h
Aws::AppSync::Model::DeleteResolverRequest::WithFieldName
DeleteResolverRequest & WithFieldName(const Aws::String &value)
Definition: DeleteResolverRequest.h:145
Aws::AppSync::Model::DeleteResolverRequest::WithApiId
DeleteResolverRequest & WithApiId(Aws::String &&value)
Definition: DeleteResolverRequest.h:68
Aws::AppSync::Model::DeleteResolverRequest::SetTypeName
void SetTypeName(const char *value)
Definition: DeleteResolverRequest.h:99
Aws::AppSync::Model::DeleteResolverRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: DeleteResolverRequest.h:43
Aws::AppSync::Model::DeleteResolverRequest::FieldNameHasBeenSet
bool FieldNameHasBeenSet() const
Definition: DeleteResolverRequest.h:125
Aws::AppSync::Model::DeleteResolverRequest::WithFieldName
DeleteResolverRequest & WithFieldName(Aws::String &&value)
Definition: DeleteResolverRequest.h:150
Aws::AppSync::Model::DeleteResolverRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: DeleteResolverRequest.h:48
Aws::AppSync::Model::DeleteResolverRequest::SetFieldName
void SetFieldName(const Aws::String &value)
Definition: DeleteResolverRequest.h:130
Aws::AppSync::Model::DeleteResolverRequest::DeleteResolverRequest
DeleteResolverRequest()
AWSString.h
Aws::AppSync::Model::DeleteResolverRequest::SetTypeName
void SetTypeName(Aws::String &&value)
Definition: DeleteResolverRequest.h:94
Aws::AppSync::Model::DeleteResolverRequest::WithFieldName
DeleteResolverRequest & WithFieldName(const char *value)
Definition: DeleteResolverRequest.h:155
Aws::AppSync::Model::DeleteResolverRequest::SetTypeName
void SetTypeName(const Aws::String &value)
Definition: DeleteResolverRequest.h:89
Aws::AppSync::Model::DeleteResolverRequest::GetApiId
const Aws::String & GetApiId() const
Definition: DeleteResolverRequest.h:38
AppSyncRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::DeleteResolverRequest::WithApiId
DeleteResolverRequest & WithApiId(const char *value)
Definition: DeleteResolverRequest.h:73
Aws::AppSync::Model::DeleteResolverRequest::WithTypeName
DeleteResolverRequest & WithTypeName(const Aws::String &value)
Definition: DeleteResolverRequest.h:104
Aws::AppSync::Model::DeleteResolverRequest::SetApiId
void SetApiId(const char *value)
Definition: DeleteResolverRequest.h:58
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::DeleteResolverRequest::GetTypeName
const Aws::String & GetTypeName() const
Definition: DeleteResolverRequest.h:79
Aws::AppSync::Model::DeleteResolverRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: DeleteResolverRequest.h:53