AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCodeBindingSourceRequest.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 GetCodeBindingSourceRequest() = default;
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 "GetCodeBindingSource"; }
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 template<typename LanguageT = Aws::String>
48 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
49 template<typename LanguageT = Aws::String>
50 GetCodeBindingSourceRequest& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
52
54
57 inline const Aws::String& GetRegistryName() const { return m_registryName; }
58 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
59 template<typename RegistryNameT = Aws::String>
60 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
61 template<typename RegistryNameT = Aws::String>
62 GetCodeBindingSourceRequest& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
70 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
71 template<typename SchemaNameT = Aws::String>
72 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
73 template<typename SchemaNameT = Aws::String>
74 GetCodeBindingSourceRequest& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
82 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
83 template<typename SchemaVersionT = Aws::String>
84 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
85 template<typename SchemaVersionT = Aws::String>
86 GetCodeBindingSourceRequest& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
88 private:
89
90 Aws::String m_language;
91 bool m_languageHasBeenSet = false;
92
93 Aws::String m_registryName;
94 bool m_registryNameHasBeenSet = false;
95
96 Aws::String m_schemaName;
97 bool m_schemaNameHasBeenSet = false;
98
99 Aws::String m_schemaVersion;
100 bool m_schemaVersionHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Schemas
105} // 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