AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpgradeAppliedSchemaRequest.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 UpgradeAppliedSchemaRequest() = default;
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 "UpgradeAppliedSchema"; }
31
32 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetPublishedSchemaArn() const { return m_publishedSchemaArn; }
40 inline bool PublishedSchemaArnHasBeenSet() const { return m_publishedSchemaArnHasBeenSet; }
41 template<typename PublishedSchemaArnT = Aws::String>
42 void SetPublishedSchemaArn(PublishedSchemaArnT&& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = std::forward<PublishedSchemaArnT>(value); }
43 template<typename PublishedSchemaArnT = Aws::String>
44 UpgradeAppliedSchemaRequest& WithPublishedSchemaArn(PublishedSchemaArnT&& value) { SetPublishedSchemaArn(std::forward<PublishedSchemaArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
52 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
53 template<typename DirectoryArnT = Aws::String>
54 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::forward<DirectoryArnT>(value); }
55 template<typename DirectoryArnT = Aws::String>
56 UpgradeAppliedSchemaRequest& WithDirectoryArn(DirectoryArnT&& value) { SetDirectoryArn(std::forward<DirectoryArnT>(value)); return *this;}
58
60
65 inline bool GetDryRun() const { return m_dryRun; }
66 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
67 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
68 inline UpgradeAppliedSchemaRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
70 private:
71
72 Aws::String m_publishedSchemaArn;
73 bool m_publishedSchemaArnHasBeenSet = false;
74
75 Aws::String m_directoryArn;
76 bool m_directoryArnHasBeenSet = false;
77
78 bool m_dryRun{false};
79 bool m_dryRunHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudDirectory
84} // 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