AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
UpgradeAppliedSchemaRequest.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 UpgradeAppliedSchemaRequest() = 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 "UpgradeAppliedSchema"; }
28
29 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetPublishedSchemaArn() const { return m_publishedSchemaArn; }
36 inline bool PublishedSchemaArnHasBeenSet() const { return m_publishedSchemaArnHasBeenSet; }
37 template <typename PublishedSchemaArnT = Aws::String>
38 void SetPublishedSchemaArn(PublishedSchemaArnT&& value) {
39 m_publishedSchemaArnHasBeenSet = true;
40 m_publishedSchemaArn = std::forward<PublishedSchemaArnT>(value);
41 }
42 template <typename PublishedSchemaArnT = Aws::String>
44 SetPublishedSchemaArn(std::forward<PublishedSchemaArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
54 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
55 template <typename DirectoryArnT = Aws::String>
56 void SetDirectoryArn(DirectoryArnT&& value) {
57 m_directoryArnHasBeenSet = true;
58 m_directoryArn = std::forward<DirectoryArnT>(value);
59 }
60 template <typename DirectoryArnT = Aws::String>
62 SetDirectoryArn(std::forward<DirectoryArnT>(value));
63 return *this;
64 }
66
68
73 inline bool GetDryRun() const { return m_dryRun; }
74 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
75 inline void SetDryRun(bool value) {
76 m_dryRunHasBeenSet = true;
77 m_dryRun = value;
78 }
80 SetDryRun(value);
81 return *this;
82 }
84 private:
85 Aws::String m_publishedSchemaArn;
86
87 Aws::String m_directoryArn;
88
89 bool m_dryRun{false};
90 bool m_publishedSchemaArnHasBeenSet = false;
91 bool m_directoryArnHasBeenSet = false;
92 bool m_dryRunHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CloudDirectory
97} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
UpgradeAppliedSchemaRequest & WithPublishedSchemaArn(PublishedSchemaArnT &&value)
AWS_CLOUDDIRECTORY_API UpgradeAppliedSchemaRequest()=default
UpgradeAppliedSchemaRequest & WithDirectoryArn(DirectoryArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String