AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
41 inline const Aws::String& GetAppliedSchemaArn() const { return m_appliedSchemaArn; }
42 template<typename AppliedSchemaArnT = Aws::String>
43 void SetAppliedSchemaArn(AppliedSchemaArnT&& value) { m_appliedSchemaArnHasBeenSet = true; m_appliedSchemaArn = std::forward<AppliedSchemaArnT>(value); }
44 template<typename AppliedSchemaArnT = Aws::String>
45 ApplySchemaResult& WithAppliedSchemaArn(AppliedSchemaArnT&& value) { SetAppliedSchemaArn(std::forward<AppliedSchemaArnT>(value)); return *this;}
47
49
53 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
54 template<typename DirectoryArnT = Aws::String>
55 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::forward<DirectoryArnT>(value); }
56 template<typename DirectoryArnT = Aws::String>
57 ApplySchemaResult& WithDirectoryArn(DirectoryArnT&& value) { SetDirectoryArn(std::forward<DirectoryArnT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 ApplySchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::String m_appliedSchemaArn;
71 bool m_appliedSchemaArnHasBeenSet = false;
72
73 Aws::String m_directoryArn;
74 bool m_directoryArnHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudDirectory
82} // 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_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