AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
UpgradePublishedSchemaRequest.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudDirectory {
15namespace Model {
16
20 public:
21 AWS_CLOUDDIRECTORY_API UpgradePublishedSchemaRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpgradePublishedSchema"; }
28
29 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDevelopmentSchemaArn() const { return m_developmentSchemaArn; }
36 inline bool DevelopmentSchemaArnHasBeenSet() const { return m_developmentSchemaArnHasBeenSet; }
37 template <typename DevelopmentSchemaArnT = Aws::String>
38 void SetDevelopmentSchemaArn(DevelopmentSchemaArnT&& value) {
39 m_developmentSchemaArnHasBeenSet = true;
40 m_developmentSchemaArn = std::forward<DevelopmentSchemaArnT>(value);
41 }
42 template <typename DevelopmentSchemaArnT = Aws::String>
44 SetDevelopmentSchemaArn(std::forward<DevelopmentSchemaArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetPublishedSchemaArn() const { return m_publishedSchemaArn; }
54 inline bool PublishedSchemaArnHasBeenSet() const { return m_publishedSchemaArnHasBeenSet; }
55 template <typename PublishedSchemaArnT = Aws::String>
56 void SetPublishedSchemaArn(PublishedSchemaArnT&& value) {
57 m_publishedSchemaArnHasBeenSet = true;
58 m_publishedSchemaArn = std::forward<PublishedSchemaArnT>(value);
59 }
60 template <typename PublishedSchemaArnT = Aws::String>
62 SetPublishedSchemaArn(std::forward<PublishedSchemaArnT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetMinorVersion() const { return m_minorVersion; }
73 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
74 template <typename MinorVersionT = Aws::String>
75 void SetMinorVersion(MinorVersionT&& value) {
76 m_minorVersionHasBeenSet = true;
77 m_minorVersion = std::forward<MinorVersionT>(value);
78 }
79 template <typename MinorVersionT = Aws::String>
81 SetMinorVersion(std::forward<MinorVersionT>(value));
82 return *this;
83 }
85
87
93 inline bool GetDryRun() const { return m_dryRun; }
94 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
95 inline void SetDryRun(bool value) {
96 m_dryRunHasBeenSet = true;
97 m_dryRun = value;
98 }
100 SetDryRun(value);
101 return *this;
102 }
104 private:
105 Aws::String m_developmentSchemaArn;
106
107 Aws::String m_publishedSchemaArn;
108
109 Aws::String m_minorVersion;
110
111 bool m_dryRun{false};
112 bool m_developmentSchemaArnHasBeenSet = false;
113 bool m_publishedSchemaArnHasBeenSet = false;
114 bool m_minorVersionHasBeenSet = false;
115 bool m_dryRunHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace CloudDirectory
120} // namespace Aws
AWS_CLOUDDIRECTORY_API UpgradePublishedSchemaRequest()=default
UpgradePublishedSchemaRequest & WithPublishedSchemaArn(PublishedSchemaArnT &&value)
UpgradePublishedSchemaRequest & WithMinorVersion(MinorVersionT &&value)
UpgradePublishedSchemaRequest & WithDevelopmentSchemaArn(DevelopmentSchemaArnT &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String