AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateLinkRequest.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/oam/OAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/oam/model/LinkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/oam/model/ResourceType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace OAM
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_OAM_API UpdateLinkRequest() = 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 "UpdateLink"; }
34
35 AWS_OAM_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template<typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
46 template<typename IdentifierT = Aws::String>
47 UpdateLinkRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
49
51
60 inline bool GetIncludeTags() const { return m_includeTags; }
61 inline bool IncludeTagsHasBeenSet() const { return m_includeTagsHasBeenSet; }
62 inline void SetIncludeTags(bool value) { m_includeTagsHasBeenSet = true; m_includeTags = value; }
63 inline UpdateLinkRequest& WithIncludeTags(bool value) { SetIncludeTags(value); return *this;}
65
67
71 inline const LinkConfiguration& GetLinkConfiguration() const { return m_linkConfiguration; }
72 inline bool LinkConfigurationHasBeenSet() const { return m_linkConfigurationHasBeenSet; }
73 template<typename LinkConfigurationT = LinkConfiguration>
74 void SetLinkConfiguration(LinkConfigurationT&& value) { m_linkConfigurationHasBeenSet = true; m_linkConfiguration = std::forward<LinkConfigurationT>(value); }
75 template<typename LinkConfigurationT = LinkConfiguration>
76 UpdateLinkRequest& WithLinkConfiguration(LinkConfigurationT&& value) { SetLinkConfiguration(std::forward<LinkConfigurationT>(value)); return *this;}
78
80
85 inline const Aws::Vector<ResourceType>& GetResourceTypes() const { return m_resourceTypes; }
86 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
87 template<typename ResourceTypesT = Aws::Vector<ResourceType>>
88 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
89 template<typename ResourceTypesT = Aws::Vector<ResourceType>>
90 UpdateLinkRequest& WithResourceTypes(ResourceTypesT&& value) { SetResourceTypes(std::forward<ResourceTypesT>(value)); return *this;}
91 inline UpdateLinkRequest& AddResourceTypes(ResourceType value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
93 private:
94
95 Aws::String m_identifier;
96 bool m_identifierHasBeenSet = false;
97
98 bool m_includeTags{false};
99 bool m_includeTagsHasBeenSet = false;
100
101 LinkConfiguration m_linkConfiguration;
102 bool m_linkConfigurationHasBeenSet = false;
103
104 Aws::Vector<ResourceType> m_resourceTypes;
105 bool m_resourceTypesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace OAM
110} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector