AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutCodeBindingRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Schemas
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SCHEMAS_API PutCodeBindingRequest();
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_SCHEMAS_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetLanguage() const{ return m_language; }
46 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
47 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
48 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
49 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
50 inline PutCodeBindingRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
51 inline PutCodeBindingRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
52 inline PutCodeBindingRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
54
56
59 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
60 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
61 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
62 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
63 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
64 inline PutCodeBindingRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
65 inline PutCodeBindingRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
66 inline PutCodeBindingRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
68
70
73 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
74 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
75 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
76 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
77 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
78 inline PutCodeBindingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
79 inline PutCodeBindingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
80 inline PutCodeBindingRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
82
84
87 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
88 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
89 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
90 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
91 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
92 inline PutCodeBindingRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
93 inline PutCodeBindingRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
94 inline PutCodeBindingRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
96 private:
97
98 Aws::String m_language;
99 bool m_languageHasBeenSet = false;
100
101 Aws::String m_registryName;
102 bool m_registryNameHasBeenSet = false;
103
104 Aws::String m_schemaName;
105 bool m_schemaNameHasBeenSet = false;
106
107 Aws::String m_schemaVersion;
108 bool m_schemaVersionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Schemas
113} // namespace Aws
void SetRegistryName(const Aws::String &value)
PutCodeBindingRequest & WithRegistryName(const char *value)
PutCodeBindingRequest & WithRegistryName(const Aws::String &value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutCodeBindingRequest & WithSchemaVersion(const char *value)
PutCodeBindingRequest & WithRegistryName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutCodeBindingRequest & WithSchemaName(Aws::String &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
PutCodeBindingRequest & WithSchemaVersion(const Aws::String &value)
PutCodeBindingRequest & WithLanguage(const Aws::String &value)
PutCodeBindingRequest & WithSchemaName(const Aws::String &value)
PutCodeBindingRequest & WithLanguage(const char *value)
PutCodeBindingRequest & WithSchemaName(const char *value)
PutCodeBindingRequest & WithSchemaVersion(Aws::String &&value)
void SetSchemaVersion(const Aws::String &value)
PutCodeBindingRequest & WithLanguage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String