AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradePublishedSchemaRequest.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 UpgradePublishedSchemaRequest();
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 "UpgradePublishedSchema"; }
31
32 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDevelopmentSchemaArn() const{ return m_developmentSchemaArn; }
40 inline bool DevelopmentSchemaArnHasBeenSet() const { return m_developmentSchemaArnHasBeenSet; }
41 inline void SetDevelopmentSchemaArn(const Aws::String& value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn = value; }
42 inline void SetDevelopmentSchemaArn(Aws::String&& value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn = std::move(value); }
43 inline void SetDevelopmentSchemaArn(const char* value) { m_developmentSchemaArnHasBeenSet = true; m_developmentSchemaArn.assign(value); }
46 inline UpgradePublishedSchemaRequest& WithDevelopmentSchemaArn(const char* value) { SetDevelopmentSchemaArn(value); return *this;}
48
50
53 inline const Aws::String& GetPublishedSchemaArn() const{ return m_publishedSchemaArn; }
54 inline bool PublishedSchemaArnHasBeenSet() const { return m_publishedSchemaArnHasBeenSet; }
55 inline void SetPublishedSchemaArn(const Aws::String& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = value; }
56 inline void SetPublishedSchemaArn(Aws::String&& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = std::move(value); }
57 inline void SetPublishedSchemaArn(const char* value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn.assign(value); }
60 inline UpgradePublishedSchemaRequest& WithPublishedSchemaArn(const char* value) { SetPublishedSchemaArn(value); return *this;}
62
64
68 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
69 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
70 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
71 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
72 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
73 inline UpgradePublishedSchemaRequest& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;}
74 inline UpgradePublishedSchemaRequest& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
75 inline UpgradePublishedSchemaRequest& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
77
79
85 inline bool GetDryRun() const{ return m_dryRun; }
86 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
87 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
88 inline UpgradePublishedSchemaRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
90 private:
91
92 Aws::String m_developmentSchemaArn;
93 bool m_developmentSchemaArnHasBeenSet = false;
94
95 Aws::String m_publishedSchemaArn;
96 bool m_publishedSchemaArnHasBeenSet = false;
97
98 Aws::String m_minorVersion;
99 bool m_minorVersionHasBeenSet = false;
100
101 bool m_dryRun;
102 bool m_dryRunHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CloudDirectory
107} // namespace Aws
UpgradePublishedSchemaRequest & WithPublishedSchemaArn(const Aws::String &value)
UpgradePublishedSchemaRequest & WithDevelopmentSchemaArn(const Aws::String &value)
UpgradePublishedSchemaRequest & WithPublishedSchemaArn(Aws::String &&value)
UpgradePublishedSchemaRequest & WithDevelopmentSchemaArn(Aws::String &&value)
UpgradePublishedSchemaRequest & WithMinorVersion(const char *value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
UpgradePublishedSchemaRequest & WithMinorVersion(Aws::String &&value)
UpgradePublishedSchemaRequest & WithDevelopmentSchemaArn(const char *value)
UpgradePublishedSchemaRequest & WithPublishedSchemaArn(const char *value)
UpgradePublishedSchemaRequest & WithMinorVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String