AWS SDK for C++  1.8.127
AWS SDK for C++
PutCodeBindingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Schemas
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutCodeBinding"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetLanguage() const{ return m_language; }
45 
49  inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
50 
54  inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
55 
59  inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
60 
64  inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
65 
69  inline PutCodeBindingRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
70 
74  inline PutCodeBindingRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
75 
79  inline PutCodeBindingRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
80 
81 
85  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
86 
90  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
91 
95  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
96 
100  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
101 
105  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
106 
110  inline PutCodeBindingRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
111 
115  inline PutCodeBindingRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
116 
120  inline PutCodeBindingRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
121 
122 
126  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
127 
131  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
132 
136  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
137 
141  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
142 
146  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
147 
151  inline PutCodeBindingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
152 
156  inline PutCodeBindingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
157 
161  inline PutCodeBindingRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
162 
163 
167  inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
168 
172  inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
173 
177  inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
178 
182  inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
183 
187  inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
188 
192  inline PutCodeBindingRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
193 
197  inline PutCodeBindingRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
198 
202  inline PutCodeBindingRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
203 
204  private:
205 
206  Aws::String m_language;
207  bool m_languageHasBeenSet;
208 
209  Aws::String m_registryName;
210  bool m_registryNameHasBeenSet;
211 
212  Aws::String m_schemaName;
213  bool m_schemaNameHasBeenSet;
214 
215  Aws::String m_schemaVersion;
216  bool m_schemaVersionHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace Schemas
221 } // namespace Aws
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaVersion
void SetSchemaVersion(const char *value)
Definition: PutCodeBindingRequest.h:187
Aws::Schemas::Model::PutCodeBindingRequest::WithRegistryName
PutCodeBindingRequest & WithRegistryName(Aws::String &&value)
Definition: PutCodeBindingRequest.h:115
Aws::Schemas::Model::PutCodeBindingRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: PutCodeBindingRequest.h:126
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaVersion
void SetSchemaVersion(Aws::String &&value)
Definition: PutCodeBindingRequest.h:182
Aws::Schemas::Model::PutCodeBindingRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: PutCodeBindingRequest.h:100
Aws::Schemas::Model::PutCodeBindingRequest::WithRegistryName
PutCodeBindingRequest & WithRegistryName(const char *value)
Definition: PutCodeBindingRequest.h:120
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::PutCodeBindingRequest::WithRegistryName
PutCodeBindingRequest & WithRegistryName(const Aws::String &value)
Definition: PutCodeBindingRequest.h:110
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaVersion
void SetSchemaVersion(const Aws::String &value)
Definition: PutCodeBindingRequest.h:177
Aws::Schemas::Model::PutCodeBindingRequest::SchemaVersionHasBeenSet
bool SchemaVersionHasBeenSet() const
Definition: PutCodeBindingRequest.h:172
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: PutCodeBindingRequest.h:136
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: PutCodeBindingRequest.h:141
Aws::Schemas::Model::PutCodeBindingRequest::WithLanguage
PutCodeBindingRequest & WithLanguage(Aws::String &&value)
Definition: PutCodeBindingRequest.h:74
Aws::Schemas::Model::PutCodeBindingRequest::GetLanguage
const Aws::String & GetLanguage() const
Definition: PutCodeBindingRequest.h:44
Aws::Schemas::Model::PutCodeBindingRequest::PutCodeBindingRequest
PutCodeBindingRequest()
Aws::Schemas::Model::PutCodeBindingRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: PutCodeBindingRequest.h:95
Schemas_EXPORTS.h
Aws::Schemas::Model::PutCodeBindingRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: PutCodeBindingRequest.h:131
Aws::Schemas::Model::PutCodeBindingRequest::SetLanguage
void SetLanguage(Aws::String &&value)
Definition: PutCodeBindingRequest.h:59
Aws::Schemas::Model::PutCodeBindingRequest::WithLanguage
PutCodeBindingRequest & WithLanguage(const Aws::String &value)
Definition: PutCodeBindingRequest.h:69
Aws::Schemas::Model::PutCodeBindingRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: PutCodeBindingRequest.h:90
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaVersion
PutCodeBindingRequest & WithSchemaVersion(const char *value)
Definition: PutCodeBindingRequest.h:202
Aws::Schemas::Model::PutCodeBindingRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: PutCodeBindingRequest.h:85
AWSString.h
Aws::Schemas::Model::PutCodeBindingRequest
Definition: PutCodeBindingRequest.h:26
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaName
PutCodeBindingRequest & WithSchemaName(const Aws::String &value)
Definition: PutCodeBindingRequest.h:151
Aws::Schemas::Model::PutCodeBindingRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: PutCodeBindingRequest.h:105
Aws::Schemas::Model::PutCodeBindingRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaName
PutCodeBindingRequest & WithSchemaName(const char *value)
Definition: PutCodeBindingRequest.h:161
Aws::Schemas::Model::PutCodeBindingRequest::LanguageHasBeenSet
bool LanguageHasBeenSet() const
Definition: PutCodeBindingRequest.h:49
Aws::Schemas::Model::PutCodeBindingRequest::GetSchemaVersion
const Aws::String & GetSchemaVersion() const
Definition: PutCodeBindingRequest.h:167
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaVersion
PutCodeBindingRequest & WithSchemaVersion(Aws::String &&value)
Definition: PutCodeBindingRequest.h:197
Aws::Schemas::Model::PutCodeBindingRequest::SetLanguage
void SetLanguage(const Aws::String &value)
Definition: PutCodeBindingRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::PutCodeBindingRequest::SetLanguage
void SetLanguage(const char *value)
Definition: PutCodeBindingRequest.h:64
Aws::Schemas::Model::PutCodeBindingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutCodeBindingRequest.h:34
Aws::Schemas::Model::PutCodeBindingRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: PutCodeBindingRequest.h:146
Aws::Schemas::Model::PutCodeBindingRequest::WithLanguage
PutCodeBindingRequest & WithLanguage(const char *value)
Definition: PutCodeBindingRequest.h:79
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaVersion
PutCodeBindingRequest & WithSchemaVersion(const Aws::String &value)
Definition: PutCodeBindingRequest.h:192
Aws::Schemas::Model::PutCodeBindingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::PutCodeBindingRequest::WithSchemaName
PutCodeBindingRequest & WithSchemaName(Aws::String &&value)
Definition: PutCodeBindingRequest.h:156