AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLinkAttributesRequest.h
1
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 <aws/clouddirectory/model/TypedLinkSpecifier.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/clouddirectory/model/ConsistencyLevel.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CloudDirectory
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLOUDDIRECTORY_API GetLinkAttributesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetLinkAttributes"; }
34
35 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
36
37 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
47 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
48 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
49 template<typename DirectoryArnT = Aws::String>
50 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::forward<DirectoryArnT>(value); }
51 template<typename DirectoryArnT = Aws::String>
52 GetLinkAttributesRequest& WithDirectoryArn(DirectoryArnT&& value) { SetDirectoryArn(std::forward<DirectoryArnT>(value)); return *this;}
54
56
59 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const { return m_typedLinkSpecifier; }
60 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
61 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
62 void SetTypedLinkSpecifier(TypedLinkSpecifierT&& value) { m_typedLinkSpecifierHasBeenSet = true; m_typedLinkSpecifier = std::forward<TypedLinkSpecifierT>(value); }
63 template<typename TypedLinkSpecifierT = TypedLinkSpecifier>
64 GetLinkAttributesRequest& WithTypedLinkSpecifier(TypedLinkSpecifierT&& value) { SetTypedLinkSpecifier(std::forward<TypedLinkSpecifierT>(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
72 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
73 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
74 void SetAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::forward<AttributeNamesT>(value); }
75 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
76 GetLinkAttributesRequest& WithAttributeNames(AttributeNamesT&& value) { SetAttributeNames(std::forward<AttributeNamesT>(value)); return *this;}
77 template<typename AttributeNamesT = Aws::String>
78 GetLinkAttributesRequest& AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value)); return *this; }
80
82
86 inline ConsistencyLevel GetConsistencyLevel() const { return m_consistencyLevel; }
87 inline bool ConsistencyLevelHasBeenSet() const { return m_consistencyLevelHasBeenSet; }
88 inline void SetConsistencyLevel(ConsistencyLevel value) { m_consistencyLevelHasBeenSet = true; m_consistencyLevel = value; }
91 private:
92
93 Aws::String m_directoryArn;
94 bool m_directoryArnHasBeenSet = false;
95
96 TypedLinkSpecifier m_typedLinkSpecifier;
97 bool m_typedLinkSpecifierHasBeenSet = false;
98
99 Aws::Vector<Aws::String> m_attributeNames;
100 bool m_attributeNamesHasBeenSet = false;
101
103 bool m_consistencyLevelHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CloudDirectory
108} // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector