AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetCodeBindingSourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Schemas {
18namespace Model {
19
23 public:
24 AWS_SCHEMAS_API GetCodeBindingSourceRequest() = default;
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 "GetCodeBindingSource"; }
31
32 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
33
34 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetLanguage() const { return m_language; }
41 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
42 template <typename LanguageT = Aws::String>
43 void SetLanguage(LanguageT&& value) {
44 m_languageHasBeenSet = true;
45 m_language = std::forward<LanguageT>(value);
46 }
47 template <typename LanguageT = Aws::String>
49 SetLanguage(std::forward<LanguageT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRegistryName() const { return m_registryName; }
59 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
60 template <typename RegistryNameT = Aws::String>
61 void SetRegistryName(RegistryNameT&& value) {
62 m_registryNameHasBeenSet = true;
63 m_registryName = std::forward<RegistryNameT>(value);
64 }
65 template <typename RegistryNameT = Aws::String>
67 SetRegistryName(std::forward<RegistryNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
77 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
78 template <typename SchemaNameT = Aws::String>
79 void SetSchemaName(SchemaNameT&& value) {
80 m_schemaNameHasBeenSet = true;
81 m_schemaName = std::forward<SchemaNameT>(value);
82 }
83 template <typename SchemaNameT = Aws::String>
85 SetSchemaName(std::forward<SchemaNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
95 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
96 template <typename SchemaVersionT = Aws::String>
97 void SetSchemaVersion(SchemaVersionT&& value) {
98 m_schemaVersionHasBeenSet = true;
99 m_schemaVersion = std::forward<SchemaVersionT>(value);
100 }
101 template <typename SchemaVersionT = Aws::String>
103 SetSchemaVersion(std::forward<SchemaVersionT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_language;
109
110 Aws::String m_registryName;
111
112 Aws::String m_schemaName;
113
114 Aws::String m_schemaVersion;
115 bool m_languageHasBeenSet = false;
116 bool m_registryNameHasBeenSet = false;
117 bool m_schemaNameHasBeenSet = false;
118 bool m_schemaVersionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Schemas
123} // namespace Aws
GetCodeBindingSourceRequest & WithRegistryName(RegistryNameT &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
GetCodeBindingSourceRequest & WithSchemaName(SchemaNameT &&value)
AWS_SCHEMAS_API GetCodeBindingSourceRequest()=default
virtual const char * GetServiceRequestName() const override
GetCodeBindingSourceRequest & WithSchemaVersion(SchemaVersionT &&value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetCodeBindingSourceRequest & WithLanguage(LanguageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String