AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplySchemaRequest.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 ApplySchemaRequest();
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 "ApplySchema"; }
31
32 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
33
34 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetPublishedSchemaArn() const{ return m_publishedSchemaArn; }
43 inline bool PublishedSchemaArnHasBeenSet() const { return m_publishedSchemaArnHasBeenSet; }
44 inline void SetPublishedSchemaArn(const Aws::String& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = value; }
45 inline void SetPublishedSchemaArn(Aws::String&& value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn = std::move(value); }
46 inline void SetPublishedSchemaArn(const char* value) { m_publishedSchemaArnHasBeenSet = true; m_publishedSchemaArn.assign(value); }
47 inline ApplySchemaRequest& WithPublishedSchemaArn(const Aws::String& value) { SetPublishedSchemaArn(value); return *this;}
48 inline ApplySchemaRequest& WithPublishedSchemaArn(Aws::String&& value) { SetPublishedSchemaArn(std::move(value)); return *this;}
49 inline ApplySchemaRequest& WithPublishedSchemaArn(const char* value) { SetPublishedSchemaArn(value); return *this;}
51
53
57 inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; }
58 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
59 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArnHasBeenSet = true; m_directoryArn = value; }
60 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::move(value); }
61 inline void SetDirectoryArn(const char* value) { m_directoryArnHasBeenSet = true; m_directoryArn.assign(value); }
62 inline ApplySchemaRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
63 inline ApplySchemaRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
64 inline ApplySchemaRequest& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
66 private:
67
68 Aws::String m_publishedSchemaArn;
69 bool m_publishedSchemaArnHasBeenSet = false;
70
71 Aws::String m_directoryArn;
72 bool m_directoryArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CloudDirectory
77} // namespace Aws
ApplySchemaRequest & WithDirectoryArn(Aws::String &&value)
ApplySchemaRequest & WithDirectoryArn(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ApplySchemaRequest & WithPublishedSchemaArn(const char *value)
ApplySchemaRequest & WithPublishedSchemaArn(const Aws::String &value)
ApplySchemaRequest & WithPublishedSchemaArn(Aws::String &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
ApplySchemaRequest & WithDirectoryArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPublishedSchemaArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String