AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishSchemaRequest.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudDirectory
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDDIRECTORY_API PublishSchemaRequest();
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 "PublishSchema"; }
31
32 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
33
34 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetDevelopmentSchemaArn() const{ return m_developmentSchemaArn; }
43 inline bool DevelopmentSchemaArnHasBeenSet() const { return m_developmentSchemaArnHasBeenSet; }
44 inline void SetDevelopmentSchemaArn(const Aws::String& value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn = value; }
45 inline void SetDevelopmentSchemaArn(Aws::String&& value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn = std::move(value); }
46 inline void SetDevelopmentSchemaArn(const char* value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn.assign(value); }
48 inline PublishSchemaRequest& WithDevelopmentSchemaArn(Aws::String&& value) { SetDevelopmentSchemaArn(std::move(value)); return *this;}
49 inline PublishSchemaRequest& WithDevelopmentSchemaArn(const char* value) { SetDevelopmentSchemaArn(value); return *this;}
51
53
57 inline const Aws::String& GetVersion() const{ return m_version; }
58 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
59 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
60 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
61 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
62 inline PublishSchemaRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
63 inline PublishSchemaRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
64 inline PublishSchemaRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
66
68
73 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
74 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
75 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
76 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
77 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
78 inline PublishSchemaRequest& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;}
79 inline PublishSchemaRequest& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
80 inline PublishSchemaRequest& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
82
84
88 inline const Aws::String& GetName() const{ return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
93 inline PublishSchemaRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
94 inline PublishSchemaRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
95 inline PublishSchemaRequest& WithName(const char* value) { SetName(value); return *this;}
97 private:
98
99 Aws::String m_developmentSchemaArn;
100 bool m_developmentSchemaArnHasBeenSet = false;
101
102 Aws::String m_version;
103 bool m_versionHasBeenSet = false;
104
105 Aws::String m_minorVersion;
106 bool m_minorVersionHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudDirectory
114} // namespace Aws
PublishSchemaRequest & WithMinorVersion(const Aws::String &value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
PublishSchemaRequest & WithVersion(const char *value)
PublishSchemaRequest & WithDevelopmentSchemaArn(const Aws::String &value)
PublishSchemaRequest & WithMinorVersion(const char *value)
PublishSchemaRequest & WithDevelopmentSchemaArn(Aws::String &&value)
PublishSchemaRequest & WithDevelopmentSchemaArn(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PublishSchemaRequest & WithName(Aws::String &&value)
PublishSchemaRequest & WithVersion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PublishSchemaRequest & WithVersion(Aws::String &&value)
PublishSchemaRequest & WithName(const Aws::String &value)
PublishSchemaRequest & WithName(const char *value)
PublishSchemaRequest & WithMinorVersion(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String