1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 12 namespace Aws 13 { 14 namespace CloudDirectory 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_CLOUDDIRECTORY_API GetTypedLinkFacetInformationRequest : public CloudDirectoryRequest 22 { 23 public: 24 GetTypedLinkFacetInformationRequest(); 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. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "GetTypedLinkFacetInformation"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 39 * information, see <a>arns</a>.</p> 40 */ GetSchemaArn()41 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } 42 43 /** 44 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 45 * information, see <a>arns</a>.</p> 46 */ SchemaArnHasBeenSet()47 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } 48 49 /** 50 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 51 * information, see <a>arns</a>.</p> 52 */ SetSchemaArn(const Aws::String & value)53 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } 54 55 /** 56 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 57 * information, see <a>arns</a>.</p> 58 */ SetSchemaArn(Aws::String && value)59 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } 60 61 /** 62 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 63 * information, see <a>arns</a>.</p> 64 */ SetSchemaArn(const char * value)65 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } 66 67 /** 68 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 69 * information, see <a>arns</a>.</p> 70 */ WithSchemaArn(const Aws::String & value)71 inline GetTypedLinkFacetInformationRequest& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} 72 73 /** 74 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 75 * information, see <a>arns</a>.</p> 76 */ WithSchemaArn(Aws::String && value)77 inline GetTypedLinkFacetInformationRequest& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} 78 79 /** 80 * <p>The Amazon Resource Name (ARN) that is associated with the schema. For more 81 * information, see <a>arns</a>.</p> 82 */ WithSchemaArn(const char * value)83 inline GetTypedLinkFacetInformationRequest& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} 84 85 86 /** 87 * <p>The unique name of the typed link facet.</p> 88 */ GetName()89 inline const Aws::String& GetName() const{ return m_name; } 90 91 /** 92 * <p>The unique name of the typed link facet.</p> 93 */ NameHasBeenSet()94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } 95 96 /** 97 * <p>The unique name of the typed link facet.</p> 98 */ SetName(const Aws::String & value)99 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } 100 101 /** 102 * <p>The unique name of the typed link facet.</p> 103 */ SetName(Aws::String && value)104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } 105 106 /** 107 * <p>The unique name of the typed link facet.</p> 108 */ SetName(const char * value)109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } 110 111 /** 112 * <p>The unique name of the typed link facet.</p> 113 */ WithName(const Aws::String & value)114 inline GetTypedLinkFacetInformationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} 115 116 /** 117 * <p>The unique name of the typed link facet.</p> 118 */ WithName(Aws::String && value)119 inline GetTypedLinkFacetInformationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} 120 121 /** 122 * <p>The unique name of the typed link facet.</p> 123 */ WithName(const char * value)124 inline GetTypedLinkFacetInformationRequest& WithName(const char* value) { SetName(value); return *this;} 125 126 private: 127 128 Aws::String m_schemaArn; 129 bool m_schemaArnHasBeenSet; 130 131 Aws::String m_name; 132 bool m_nameHasBeenSet; 133 }; 134 135 } // namespace Model 136 } // namespace CloudDirectory 137 } // namespace Aws 138