AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
UpdateLinkAttributesRequest.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/LinkAttributeUpdate.h>
10#include <aws/clouddirectory/model/TypedLinkSpecifier.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace CloudDirectory {
18namespace Model {
19
23 public:
24 AWS_CLOUDDIRECTORY_API UpdateLinkAttributesRequest() = default;
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.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateLinkAttributes"; }
31
32 AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override;
33
34 AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
43 inline const Aws::String& GetDirectoryArn() const { return m_directoryArn; }
44 inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; }
45 template <typename DirectoryArnT = Aws::String>
46 void SetDirectoryArn(DirectoryArnT&& value) {
47 m_directoryArnHasBeenSet = true;
48 m_directoryArn = std::forward<DirectoryArnT>(value);
49 }
50 template <typename DirectoryArnT = Aws::String>
52 SetDirectoryArn(std::forward<DirectoryArnT>(value));
53 return *this;
54 }
56
58
61 inline const TypedLinkSpecifier& GetTypedLinkSpecifier() const { return m_typedLinkSpecifier; }
62 inline bool TypedLinkSpecifierHasBeenSet() const { return m_typedLinkSpecifierHasBeenSet; }
63 template <typename TypedLinkSpecifierT = TypedLinkSpecifier>
64 void SetTypedLinkSpecifier(TypedLinkSpecifierT&& value) {
65 m_typedLinkSpecifierHasBeenSet = true;
66 m_typedLinkSpecifier = std::forward<TypedLinkSpecifierT>(value);
67 }
68 template <typename TypedLinkSpecifierT = TypedLinkSpecifier>
70 SetTypedLinkSpecifier(std::forward<TypedLinkSpecifierT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<LinkAttributeUpdate>& GetAttributeUpdates() const { return m_attributeUpdates; }
80 inline bool AttributeUpdatesHasBeenSet() const { return m_attributeUpdatesHasBeenSet; }
81 template <typename AttributeUpdatesT = Aws::Vector<LinkAttributeUpdate>>
82 void SetAttributeUpdates(AttributeUpdatesT&& value) {
83 m_attributeUpdatesHasBeenSet = true;
84 m_attributeUpdates = std::forward<AttributeUpdatesT>(value);
85 }
86 template <typename AttributeUpdatesT = Aws::Vector<LinkAttributeUpdate>>
88 SetAttributeUpdates(std::forward<AttributeUpdatesT>(value));
89 return *this;
90 }
91 template <typename AttributeUpdatesT = LinkAttributeUpdate>
93 m_attributeUpdatesHasBeenSet = true;
94 m_attributeUpdates.emplace_back(std::forward<AttributeUpdatesT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_directoryArn;
100
101 TypedLinkSpecifier m_typedLinkSpecifier;
102
103 Aws::Vector<LinkAttributeUpdate> m_attributeUpdates;
104 bool m_directoryArnHasBeenSet = false;
105 bool m_typedLinkSpecifierHasBeenSet = false;
106 bool m_attributeUpdatesHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace CloudDirectory
111} // 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