AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ApplySchemaResult.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CloudDirectory {
23namespace Model {
25 public:
26 AWS_CLOUDDIRECTORY_API ApplySchemaResult() = default;
29
31
36 inline const Aws::String& GetAppliedSchemaArn() const { return m_appliedSchemaArn; }
37 template <typename AppliedSchemaArnT = Aws::String>
38 void SetAppliedSchemaArn(AppliedSchemaArnT&& value) {
39 m_appliedSchemaArnHasBeenSet = true;
40 m_appliedSchemaArn = std::forward<AppliedSchemaArnT>(value);
41 }
42 template <typename AppliedSchemaArnT = Aws::String>
43 ApplySchemaResult& WithAppliedSchemaArn(AppliedSchemaArnT&& value) {
44 SetAppliedSchemaArn(std::forward<AppliedSchemaArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
55 template <typename DirectoryArnT = Aws::String>
56 void SetDirectoryArn(DirectoryArnT&& value) {
57 m_directoryArnHasBeenSet = true;
58 m_directoryArn = std::forward<DirectoryArnT>(value);
59 }
60 template <typename DirectoryArnT = Aws::String>
61 ApplySchemaResult& WithDirectoryArn(DirectoryArnT&& value) {
62 SetDirectoryArn(std::forward<DirectoryArnT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 ApplySchemaResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_appliedSchemaArn;
85
86 Aws::String m_directoryArn;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_appliedSchemaArnHasBeenSet = false;
91 bool m_directoryArnHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CloudDirectory
97} // namespace Aws
void SetAppliedSchemaArn(AppliedSchemaArnT &&value)
ApplySchemaResult & WithAppliedSchemaArn(AppliedSchemaArnT &&value)
AWS_CLOUDDIRECTORY_API ApplySchemaResult()=default
ApplySchemaResult & WithRequestId(RequestIdT &&value)
ApplySchemaResult & WithDirectoryArn(DirectoryArnT &&value)
AWS_CLOUDDIRECTORY_API ApplySchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDDIRECTORY_API ApplySchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue