AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplySchemaResult.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CloudDirectory
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CLOUDDIRECTORY_API ApplySchemaResult();
33
34
36
41 inline const Aws::String& GetAppliedSchemaArn() const{ return m_appliedSchemaArn; }
42 inline void SetAppliedSchemaArn(const Aws::String& value) { m_appliedSchemaArn = value; }
43 inline void SetAppliedSchemaArn(Aws::String&& value) { m_appliedSchemaArn = std::move(value); }
44 inline void SetAppliedSchemaArn(const char* value) { m_appliedSchemaArn.assign(value); }
45 inline ApplySchemaResult& WithAppliedSchemaArn(const Aws::String& value) { SetAppliedSchemaArn(value); return *this;}
46 inline ApplySchemaResult& WithAppliedSchemaArn(Aws::String&& value) { SetAppliedSchemaArn(std::move(value)); return *this;}
47 inline ApplySchemaResult& WithAppliedSchemaArn(const char* value) { SetAppliedSchemaArn(value); return *this;}
49
51
55 inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; }
56 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArn = value; }
57 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArn = std::move(value); }
58 inline void SetDirectoryArn(const char* value) { m_directoryArn.assign(value); }
59 inline ApplySchemaResult& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
60 inline ApplySchemaResult& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
61 inline ApplySchemaResult& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline ApplySchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline ApplySchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline ApplySchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::String m_appliedSchemaArn;
77
78 Aws::String m_directoryArn;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace CloudDirectory
85} // namespace Aws
ApplySchemaResult & WithRequestId(const Aws::String &value)
void SetAppliedSchemaArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
ApplySchemaResult & WithDirectoryArn(Aws::String &&value)
ApplySchemaResult & WithDirectoryArn(const Aws::String &value)
ApplySchemaResult & WithAppliedSchemaArn(const Aws::String &value)
void SetDirectoryArn(const Aws::String &value)
AWS_CLOUDDIRECTORY_API ApplySchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ApplySchemaResult & WithRequestId(const char *value)
ApplySchemaResult & WithDirectoryArn(const char *value)
ApplySchemaResult & WithAppliedSchemaArn(const char *value)
AWS_CLOUDDIRECTORY_API ApplySchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ApplySchemaResult & WithAppliedSchemaArn(Aws::String &&value)
ApplySchemaResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue