AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDirectoryResult.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 CreateDirectoryResult();
33
34
36
40 inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; }
41 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArn = value; }
42 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArn = std::move(value); }
43 inline void SetDirectoryArn(const char* value) { m_directoryArn.assign(value); }
44 inline CreateDirectoryResult& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
45 inline CreateDirectoryResult& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
46 inline CreateDirectoryResult& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline CreateDirectoryResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline CreateDirectoryResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline CreateDirectoryResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; }
67 inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifier = value; }
68 inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifier = std::move(value); }
69 inline void SetObjectIdentifier(const char* value) { m_objectIdentifier.assign(value); }
70 inline CreateDirectoryResult& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;}
71 inline CreateDirectoryResult& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;}
72 inline CreateDirectoryResult& WithObjectIdentifier(const char* value) { SetObjectIdentifier(value); return *this;}
74
76
81 inline const Aws::String& GetAppliedSchemaArn() const{ return m_appliedSchemaArn; }
82 inline void SetAppliedSchemaArn(const Aws::String& value) { m_appliedSchemaArn = value; }
83 inline void SetAppliedSchemaArn(Aws::String&& value) { m_appliedSchemaArn = std::move(value); }
84 inline void SetAppliedSchemaArn(const char* value) { m_appliedSchemaArn.assign(value); }
85 inline CreateDirectoryResult& WithAppliedSchemaArn(const Aws::String& value) { SetAppliedSchemaArn(value); return *this;}
86 inline CreateDirectoryResult& WithAppliedSchemaArn(Aws::String&& value) { SetAppliedSchemaArn(std::move(value)); return *this;}
87 inline CreateDirectoryResult& WithAppliedSchemaArn(const char* value) { SetAppliedSchemaArn(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline CreateDirectoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline CreateDirectoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline CreateDirectoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_directoryArn;
103
104 Aws::String m_name;
105
106 Aws::String m_objectIdentifier;
107
108 Aws::String m_appliedSchemaArn;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace CloudDirectory
115} // namespace Aws
CreateDirectoryResult & WithRequestId(const Aws::String &value)
CreateDirectoryResult & WithDirectoryArn(Aws::String &&value)
CreateDirectoryResult & WithName(const Aws::String &value)
CreateDirectoryResult & WithObjectIdentifier(Aws::String &&value)
AWS_CLOUDDIRECTORY_API CreateDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDirectoryResult & WithDirectoryArn(const Aws::String &value)
CreateDirectoryResult & WithName(Aws::String &&value)
AWS_CLOUDDIRECTORY_API CreateDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDirectoryResult & WithDirectoryArn(const char *value)
CreateDirectoryResult & WithRequestId(Aws::String &&value)
CreateDirectoryResult & WithAppliedSchemaArn(const Aws::String &value)
CreateDirectoryResult & WithAppliedSchemaArn(Aws::String &&value)
CreateDirectoryResult & WithRequestId(const char *value)
CreateDirectoryResult & WithObjectIdentifier(const Aws::String &value)
CreateDirectoryResult & WithObjectIdentifier(const char *value)
CreateDirectoryResult & WithName(const char *value)
CreateDirectoryResult & WithAppliedSchemaArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue