AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPublishedSchemaArn(const Aws::String& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = value; }
42 inline void SetPublishedSchemaArn(Aws::String&& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = std::move(value); }
43 inline void SetPublishedSchemaArn(const char* value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn.assign(value); }
45 inline UpgradeAppliedSchemaRequest& WithPublishedSchemaArn(Aws::String&& value) { SetPublishedSchemaArn(std::move(value)); return *this;}
46 inline UpgradeAppliedSchemaRequest& WithPublishedSchemaArn(const char* value) { SetPublishedSchemaArn(value); return *this;}
48
50
53 inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; }
54 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
55 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArnHasBeenSet = true; m_directoryArn = value; }
56 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::move(value); }
57 inline void SetDirectoryArn(const char* value) { m_directoryArnHasBeenSet = true; m_directoryArn.assign(value); }
58 inline UpgradeAppliedSchemaRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
59 inline UpgradeAppliedSchemaRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
60 inline UpgradeAppliedSchemaRequest& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
62
64
69 inline bool GetDryRun() const{ return m_dryRun; }
70 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
71 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
72 inline UpgradeAppliedSchemaRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
74 private:
75
76 Aws::String m_publishedSchemaArn;
77 bool m_publishedSchemaArnHasBeenSet = false;
78
79 Aws::String m_directoryArn;
80 bool m_directoryArnHasBeenSet = false;
81
82 bool m_dryRun;
83 bool m_dryRunHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace CloudDirectory
88} // namespace Aws
UpgradeAppliedSchemaRequest & WithPublishedSchemaArn(const Aws::String &value)
UpgradeAppliedSchemaRequest & WithPublishedSchemaArn(Aws::String &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
UpgradeAppliedSchemaRequest & WithDirectoryArn(const char *value)
UpgradeAppliedSchemaRequest & WithDirectoryArn(Aws::String &&value)
UpgradeAppliedSchemaRequest & WithDirectoryArn(const Aws::String &value)
UpgradeAppliedSchemaRequest & WithPublishedSchemaArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String