AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDirectoryArn(const Aws::String& value) { m_directoryArnHasBeenSet = true; m_directoryArn = value; }
50 inline void SetDirectoryArn(Aws::String&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::move(value); }
51 inline void SetDirectoryArn(const char* value) { m_directoryArnHasBeenSet = true; m_directoryArn.assign(value); }
52 inline GetLinkAttributesRequest& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;}
53 inline GetLinkAttributesRequest& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;}
54 inline GetLinkAttributesRequest& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;}
56
58
61 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const{ return m_typedLinkSpecifier; }
62 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
63 inline void SetTypedLinkSpecifier(const TypedLinkSpecifier& value) { m_typedLinkSpecifierHasBeenSet = true; m_typedLinkSpecifier = value; }
64 inline void SetTypedLinkSpecifier(TypedLinkSpecifier&& value) { m_typedLinkSpecifierHasBeenSet = true; m_typedLinkSpecifier = std::move(value); }
68
70
73 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
74 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
75 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
76 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
79 inline GetLinkAttributesRequest& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
80 inline GetLinkAttributesRequest& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
81 inline GetLinkAttributesRequest& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
83
85
89 inline const ConsistencyLevel& GetConsistencyLevel() const{ return m_consistencyLevel; }
90 inline bool ConsistencyLevelHasBeenSet() const { return m_consistencyLevelHasBeenSet; }
91 inline void SetConsistencyLevel(const ConsistencyLevel& value) { m_consistencyLevelHasBeenSet = true; m_consistencyLevel = value; }
92 inline void SetConsistencyLevel(ConsistencyLevel&& value) { m_consistencyLevelHasBeenSet = true; m_consistencyLevel = std::move(value); }
94 inline GetLinkAttributesRequest& WithConsistencyLevel(ConsistencyLevel&& value) { SetConsistencyLevel(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_directoryArn;
99 bool m_directoryArnHasBeenSet = false;
100
101 TypedLinkSpecifier m_typedLinkSpecifier;
102 bool m_typedLinkSpecifierHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_attributeNames;
105 bool m_attributeNamesHasBeenSet = false;
106
107 ConsistencyLevel m_consistencyLevel;
108 bool m_consistencyLevelHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CloudDirectory
113} // 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